[Resolved] Mailchimp Pop-up form on Blog and Single Post pages only

Home Forums Support [Resolved] Mailchimp Pop-up form on Blog and Single Post pages only

Home Forums Support Mailchimp Pop-up form on Blog and Single Post pages only

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1125503
    Vinod

    Hello,

    I’d like to the mailchimp pop-up form to appear only the blog page and the single post page – nowhere else.

    I have the code needed, but can’t figure out where to insert it to get this specific result in Generatepress theme. Mailchimp instructions of where to add the script don’t seem to make sense for the files I see in my theme editor.

    How do I achieve this?

    #1125562
    David
    Staff
    Customer Support

    Hi there,

    you can use the Hook Element to add the code into the wp_footer :

    https://docs.generatepress.com/article/hooks-element-overview/

    #1126330
    Vinod

    That worked like a charm. Thank you.

    #1126504
    David
    Staff
    Customer Support

    You’re welcome

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