I'm using the BlogsTrend theme and the Top Advertisement Code only allows for one block of code. I'm using a advertising plugin and it lets me put a shortcode on any page/post to display banner ads. I tried to add the shortcode to the Top Advertisement Code box but it won't display it. How can I get that top area to display several ads I have by using a shortcode?
Hello, For this open "header.php" file and add shortcode in the code formate given below. Code: <?php echo do_shortcode('ADD SHORTCODE HERE'); ?> Thanks & Regards Nitesh Raghuwanshi
Hello, Go to the header.php file present in your theme directory and paste the code given below in that file as instructed in the image given below. Code: <?php echo do_shortcode('ADD SHORTCODE HERE'); ?>
Didn't work. If you install the Advertising Manager plugin and then create an ad. Then add that shortcode to the box or the file that you stated it just won't work. The shortcode looks like this: [ad#adname] The word "adname" is just the name you called the ad.
Hello, For add placement you can use another plugin. If current one is not working for header. Or Directly add adsense code in the header.php file. Thanks & Regards Nitesh Raghuwanshi