• Resolved dinahnl

    (@dinahnl)


    Hi, if I’m using the WP Headers and Footers plugin and I want to know how can I exclude a specific page from my website to use this plugin.
    Like, I want all my pages to have the plugin, besides one specific page.
    Is it possible?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @dinahnl,

    In the new version of the plugin (2.0+) you can create HTML snippets for your Header & Footer code and select auto-insert to the Site Wide Header & Site Wide Footer areas – this will work the same as having them globally.
    When using snippets, you can use the Smart Conditional Logic to define where you want the scripts to load or not to load (in your case): https://a.supportally.com/CCsg7c

    • This reply was modified 3 years, 10 months ago by Mircea Sandu.
    Thread Starter dinahnl

    (@dinahnl)

    ok thanks!

    Thread Starter dinahnl

    (@dinahnl)

    hey, quick question: how do I connect the HTML snippet with the plugin that I’m using? Do I need to write a code for the HTML snippet?

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @dinahnl,

    Not sure which plugin you are referring to, can you please provide more details which plugin you want to connect to?

    Thanks

    Thread Starter dinahnl

    (@dinahnl)

    This one: Insert Script In Headers And Footers

    Plugin Author Mircea Sandu

    (@gripgrip)

    That’s a different plugin, you would have to move your scripts to WPCode to use the functionality described above.

    If you want to keep using it you should reach out in that plugin’s support forum.

    Thanks

    Thread Starter dinahnl

    (@dinahnl)

    ok, so what about this: WP Headers and Footers plugin ?

    I didn’t understand how I can exclude a page to have this plugin. I want all pages besides 1.

    Plugin Author Mircea Sandu

    (@gripgrip)

    If you have this plugin installed: https://ww.wp.xz.cn/plugins/insert-headers-and-footers/

    You can use the conditional logic option as described above.

    All you have to do is:
    – Add a new snippet (wp-admin > Code Snippets > + Add Snippet)
    – Choose “Add Your Custom Code (New Snippet)”
    – Paste your script activate and save.
    By default, the snippet will be loaded on the whole site in the header: https://a.supportally.com/oEKsuU
    You can choose Site Wide Footer there if you want to add in the footer instead.
    On that same page you can add conditional logic rules to exclude a specific page using the “Smart Conditional Logic” area.

    Thread Starter dinahnl

    (@dinahnl)

    ahh understood! Thank you 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Exclude one specific page from the plugin’ is closed to new replies.