Support » Theme: Elara » How can I add popup code to Elara theme Header

  • Resolved motionsandemotions

    (@motionsandemotions)


    Hi,

    Currently I want to add a popup code in the header of my blog. How do I do that? It says ‘ find your header.php file and search for the <head> section. Paste the code before </head>’. Could you please help me in this regard?

    Thanks
    Amrita

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author lyrathemes

    (@lyrathemes)

    @motionsandemotions Hi there! Thanks for using Elara, we appreciate it 🙂

    In order to add code to the <head> section of your website, we would suggest installing this plugin https://wordpress.org/plugins/insert-headers-and-footers/

    After installing and activating the plugin, go to Settings > Insert Headers and Footers. Copy and paste your code into the “Scripts in Header” field.

    More detailed instructions here https://help.lyrathemes.com/article/212-how-to-add-google-analytics-google-adsense

    Thread Starter motionsandemotions

    (@motionsandemotions)

    Hi,

    Thanks for your response. However, the above solution is not working. I want to paste the code for Mailchimp subscriber pop up. With the above solution this is not effective. Could you please help me in this regard.

    Thanks
    Amrita

    Hi Amrita,

    Could you let us know exactly what trouble you’re having with this solution? This solution is working for us in our tests, and we’d love to help you get it working on your site as well.

    Thanks!

    Thread Starter motionsandemotions

    (@motionsandemotions)

    Hi

    After pasting the code in the mentioned plugin and saving, the popup is not seen on my blog pages (neither on home page nor on any other posts).

    I just want to implement the MailChimp subscriber popup for my blog. Where to paste the code on Elara theme?

    Thanks
    Amrita

    Hi Amrita,

    Thanks for your reply. This could be due to cookies or other display settings- would you mind adding the code back using that plugin and then let me take a look?

    Thanks so much!

    Thread Starter motionsandemotions

    (@motionsandemotions)

    Hi Steven,

    As suggested by you I have reinstalled the plugin and added the mailchimp code in the head portion. You can have a look and let me know. Kindly help me in this regard. Thanks in advance.

    Amrita

    Thanks Amrita, this is very helpful.

    The code is being inserted correctly into the head section of the page, but your code is trying to load an external javascript file that is returning a 403 (forbidden) error:
    https://chimpstatic.com/mcjs-connected/js/users/f0477030eb1113352433da595/342a9418c4adbbaad2065f91f.js

    Your best bet here would be to get in touch with the company that provided the popup code to you, they should be able to correct the 403 error for you.

    Thanks again!

    Thread Starter motionsandemotions

    (@motionsandemotions)

    Thank you so much for your quick response. I will get in touch with them and hopefully I will be able to resolve it soon. Thanks once again.

    Sure thing, Amrita, best of luck!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How can I add popup code to Elara theme Header’ is closed to new replies.