[Resolved] Insert ads

Home Forums Support [Resolved] Insert ads

Home Forums Support Insert ads

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #634778
    Dilip

    Hi,
    I am looking to insert 2 ads in my blog. The first one immediately after the navigation bar and the second one immediately after the last paragraph in the post.
    There are already a lot of plugins installed and hence I did not want to add another plugin. Can you help me do it with the Generatepress Hooks.
    You might see an ad running after the navigation bar, which is something I did using ad inserter plugin. But I don’t want to be using that plugin.

    Regards
    Dilip

    GeneratePress 2.1.3
    GP Premium 1.6.2
    #634787
    David
    Staff
    Customer Support

    Hi there,

    yes GP hooks you can add your ad code directly to them. There are a number of accessible in the Hooks add-on but a lot more that aren’t – but will be in the new GPP 1.7 update.

    This visual guide will help:

    https://docs.generatepress.com/article/hooks-visual-guide/

    For the other hooks you can find the list here each have a link to show how you can access them:

    https://docs.generatepress.com/collection/hooks/

    #634904
    Dilip

    Do you mean to say that I can directly add the “Ad Code” to the hooks and it will display the ads?

    #634929
    David
    Staff
    Customer Support

    Yes, it will need to be wrapped in <script> code </script> tags

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