{1 - 24} GreyGrey
{25 - 49} GreenGreen
{50 - 499} BlueBlue
{500 - 4999} OrangeOrange
{5000 - 24999} RedRed
{25000+} BlackBlack

Please confirm that you would like to report this for an admin to review.


Anyway i could get some help with aligning Shortcode in index.php. I have tried everything.I have the Newswire Theme and am trying to place wp ads pro shortcake in the Index php and have control of it

Newswire theme
WP Ads pro Advertising system
Need CSS for control over particular ad zones
Thank You!



Confirm that you would like to Remove Email Alerts for your question. You cant undo this and you will not be able to re-subscribe.


2 Answers

Hello, if you want to add shortcode inside the template, follow this format,

echo do_shortcode('[shortcode]');

Confirm that you would like to select this answer as the "Best Answer" to your question. This will bring this answer to to top and be highlighted as "Best Answer". You can always change this if a better answer is given.


I am able to add the code but by default it aligns left. I want to be able to align center or right when place echo… in php. I am trying to do it per ad code so if i pace the code in the footer for example and want to align it center in stead of right, I can.

Confirm that you would like to select this answer as the "Best Answer" to your question. This will bring this answer to to top and be highlighted as "Best Answer". You can always change this if a better answer is given.


You must be Logged In to Answer this Question

Already a Member, Log In
Not a member yet? Sign Up