Support » Plugin: CSS & JavaScript Toolbox » Inserting into of posts selected by regex

  • Dear Creators of this Plugin,

    When we need to insert Rich Snippets, we usually create 1) page-foo.php and 2) header-foo.php so that when page-foo.php loads, it doesn’t include the get_header(), it includes the get_header('foo').

    Is your plugin capable of inserting stuff into <head> of the selected posts and pages?

    Thank you in advance,
    Hypnotherapy Belgrade and PEAT center

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

Viewing 1 replies (of 1 total)
  • Plugin Author wipeoutmedia

    (@wipeoutmedia)

    Hi there,

    Thanks for your message and sorry for the delay in replying.
    CJT is capable of injecting WordPress template tags in the header but the result can overwrite each other if the other header file “header-foo.php” also contain DOCTYPE or calling other WordPress header functions like “wp_head();” like so.

    https://freeimage.host/i/2VCmej

    So if the new header file just includes some JS scripts or other PHP functions, it would work.

    Thanks

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.