Support » Plugin: Head & Footer Code » could the meta-box override global setting? (eg: nex fb pixel)

  • Resolved worada



    the idea is, have a golbal rule [script], but change it for specific pages.
    Eg: adding an “override all global” checkbox to the meta-box

    Case example: facebook has new universal pixel: one for both custom audience and conversion. The difference is just adding the conversion handle.

    Messy, I know. Ripe for Google Tag Manager I guess.

    But asking anyway :]



Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi worada,

    On post/page edit metabox there is two radio options “Behavior”. If you choose “Replace the site-wide code” then head/footer code set for that particular page will replace site-wide code, and will not be appended after site-wide head/footer code.

    The problem can be if you wish to replace only footer code, but not head code (as both will be replaced).

    Check 3rd screenshot


    Brilliant, exactly what I was looking for – thanks for speety answer!

    If this is used in production, I’ll ask the client to donate.

    PS: and sorry, I shoul have at least installed the plugin to check the settings before asking a question. not a best practice (as this is not a commercial plugin)

    Hi worada,

    No problem, I’m happy to help.

    Regarding test, you can read Description and Features of plugins. There I listed this:

    Choose should article specific head/footer code be appended to site-wide code, or will replace site-wide code

    But, all is cool 🙂


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘could the meta-box override global setting? (eg: nex fb pixel)’ is closed to new replies.