Support » Plugin: Head & Footer Code » WP default Editor vs Your Plugin

  • Dear Team,

    I found the reference of your plugin from WP Rocket. However, wanted to know how does it differ from the WP default Editor.
    I plan to add a unique piece of code in each page to preload the header images. I can add that in the WP Editor too by adding a code block. Is it any different from adding the code in the header part of your plugin?

    Looking forward to hearing from you so that I can decide accordingly.

    Regards,
    Amitava

    • This topic was modified 10 months, 3 weeks ago by indiatrotter.
Viewing 1 replies (of 1 total)
  • Hello @indiatrotter,

    Thank you for your question.

    With our “Head & Footer Code” you can add JS or CSS code to HEAD part of the page globally, so no need to add it on each page individually. Also, with our plugin you can control priority of the code injection (before or after other scripts injected by other plugins).

    I’m not sure are you referring to the Code Block from Gutenberg editor? If you do, that block is used to print any text as a preformatted code on front-end, not to inject back-end code. Please check screenshot https://drive.google.com/file/d/1ATdSzgtLGHlbHNsjj8oM-fTCpcw6BC2k/view?usp=sharing

    Please let me know if you have any other questions?

    Kind regards,
    Aleksandar

Viewing 1 replies (of 1 total)
  • The topic ‘WP default Editor vs Your Plugin’ is closed to new replies.