[Resolved] How To Create A Hook For Every Other Post Row in Elements

Home Forums Support [Resolved] How To Create A Hook For Every Other Post Row in Elements

Home Forums Support How To Create A Hook For Every Other Post Row in Elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1646105
    Heather

    Hi, I’m looking thru the hooks available for archive templates, but I don’t see on that might work the way I need it to for what I need. I’m trying to inject ad’s. I’m using a 2 column layout with the dispatch theme on my archive template and I would like to inject an add after every 6 or so articles.

    An example can be seen here on this website. On the left hand column you’ll noticed that there is an ad displayed for every few articles on the screen while scrolling down. https://www.onmsft.com/

    Is there a hook in generate press elements that would allow me to create this functionality?

    #1646253
    Leo
    Staff
    Customer Support

    Hi there,

    Unfortunately there aren’t any hooks in between the post grid.

    A plugin like this should help:
    https://en-ca.wordpress.org/plugins/ad-inserter/

    #1646307
    Heather

    Thank you.

    #1646310
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.