Adrotate ad

Posted in: Newspaper
Post count: 3

Hi, i need to insert own adrotate code ad to all articles at the bottom of article description, where are social share icons and tags. I try to insert code to article bottom ad in theme panel, but it doesnt works.
Here is example:
http://www.okmagazin.sk/2016/05/29/som-klasik-panske-modne-trendy/
i try:
<?php echo adrotate_group(2); ?>
[adrotate group=”2″]
echo do_shortcode(‘ad-rotate-shortcode’):
<?php echo do_shortcode(‘[adrotate group=”1″]’); ?>
Please help, thank you.

Post count: 23312

Hello zdenko.chabada,

Unfortunately, this type of plugin is not tested with our theme and we have no idea about the shortcode provides by this type of plugins and how it will work with our theme. If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry! Also, please notice that we cannot provide support for untested plugin implementation.

Thanks for your understanding!

Post count: 3

Ok, i understand. I ask the question differently, i need add text or same php code to all articles template, example: http://www.okmagazin.sk/2016/05/29/som-klasik-panske-modne-trendy/. Where can i edit the code, i update code in theme editor single.php, but no effect. Thank you very much.

Post count: 23312

Hello zdenko.chabada,

If you want to add some options in your posts template you will have to alter the code corresponding to what type of post template you are using. So, for example, if you are using the post template styl1, you will have to change/add the code in the single_template_1.php or loop-single-1.php, like this -> http://screencast.com/t/xYuPBexl20u

Thanks for your understanding!

Post count: 3

Thank you, i found the template file and add my code.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.