Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » Inserting ads after paragraphs on Home page

  • Resolved dinnerthendessert2015

    (@dinnerthendessert2015)


    There’s currently no support for inserting ads after a certain number of paragraphs on the Home page. “Insert after paragraph #” works great on posts but does not provide the option to also apply it to the home page. Do you plan on adding that functionality any time soon? If not, is there a workaround that will allow me to do that?

    Thank you!

    https://wordpress.org/plugins/ad-inserter/

Viewing 1 replies (of 1 total)
  • Plugin Author Spacetime

    (@spacetime)

    Ad Inserter can automatically insert code only at positions supported by WP hooks. There is no hook for home page.

    However, you can manually add code there. Edit PHP file for home page (theme dependent) and place code there. You can either place ad code directly or PHP code

    <?php if (function_exists ('adinserter')) echo adinserter (N); ?>

    which will insert code of Ad inserter code block N.

Viewing 1 replies (of 1 total)
  • The topic ‘Inserting ads after paragraphs on Home page’ is closed to new replies.