Adding a plugin after the first post (3 posts)

  1. glennn
    Posted 5 years ago #

    i have a plugin that lists Most Active Discussions and it works fine - i'm trying to configure the query for while (have_posts()) : the_post(); to list just ONE post and then i want to stick this plugin after the first post and have the remainder of the loop continue after the plugin call.

    can anyone decipher what i'm trying to explain and offer a hand? :)

    Thanks so much,

  2. alchymyth
    Forum Moderator
    Posted 5 years ago #

    this could be of interest (5th article in the link, never mind the title):
    5. Insert Ads Between Posts

  3. glennn
    Posted 5 years ago #

    that was the ticket, although i had to change if ($count==2) to ==0 to get it to land after one post for some reason...

    anyway, thanks

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.