• Resolved atlantisnet

    (@atlantisnet)


    NextGEN is adding some stylesheet information into the <head> section of all our templates (see https://pastebin.com/6h4eVNGu) for an example.

    Is it possible to prevent the plugin from adding this information into specific templates?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @atlantisnet – I’m not seeing any reference to NextGEN Gallery in the pastebin link you shared, can you be more specific as to what the concern is?

    Thanks!

    – Cais.

    Thread Starter atlantisnet

    (@atlantisnet)

    Thank you for your quick reply!

    When NextGEN Gallery is activated, the code I posted on pastebin gets inserted directly before the </head> tag. If I disable NextGEN, the code does not appear.

    I stumbled upon a workaround. It is not elligant but does work. If I change the </head> tag to </head > (notice the space added after the letter d) then the code does not appear even if NextGEN is activated.

    Plugin Contributor photocrati

    (@photocrati)

    @atlantisnet – Thanks for the update although I still do not see how NextGEN Gallery being active would add non-related references in the <head> section …

    – Cais.

    Thread Starter atlantisnet

    (@atlantisnet)

    Not sure. I wonder if WordPress itself is adding it (or some other plugin) after being updated. It is just odd that if I disable NextGEN Gallery the issue disappears completely. The issue also only started after we installed NextGEN Gallery. We never had this problem before. Apparently whatever is adding that code is searching for </head> and when found inserting the code above the tag.

    I’m just glad I found a workaround by changing </head> to </head >.

    Plugin Contributor photocrati

    (@photocrati)

    @atlantisnet – Fortunately most modern browsers will forgive the work-around you are using although it may be worth investigating to find the underlying root cause of the problem.

    Thanks for the update!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stop Plugin from Inserting Stylesheet into head of Templates’ is closed to new replies.