Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Support request] How can i insert ads into specific place.

Home Forums Support [Support request] How can i insert ads into specific place.

Home Forums Support How can i insert ads into specific place.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #516750
    Daniel

    How can i insert ads into specific spaces like in the image where the arrows are pointing Screenshot? I tried to do it with hooks but it didn’t work.

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #517026
    Leo
    Staff
    Customer Support

    Hi there,

    Which hooks did you try?

    The first one should be after header.

    Try this for the second one:

    add_action( 'generate_entry_title', 'lh_after_featured_image', 15 );
    function lh_after_featured_image() {
    ?>
        Your content in here
    <?php
    }

    Let me know.

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