• I’m using the classic editor without blocks / Gutenberg.

    Primatic works great! All my code is highlighted perfectly.

    But the Highlight CSS and JS are loaded on posts which don’t have any <code> or <pre> elements.

    Is there a way to make it load selectively?

    Thanks!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Yes the CSS/JS assets should load conditionally, only on pages where it is called via pre or code tags. So not sure what might be happening, maybe there is some plugin that is interfering somehow, maybe a cache plugin or similar..?

    Plugin Author Jeff Starr

    (@specialk)

    Hi Terence, just wanted to follow up with this. It’s been a while with no reply, so I hope the issue is resolved? Or if there is anything I can do to help, please let me know. Thank you.

    Plugin Author Jeff Starr

    (@specialk)

    Hey Terence, I hope you got this sorted. It’s been a while with no reply so gonna go ahead and mark this thread as resolved to help keep the forum organized. Feel free to post again with any further questions or feedback, Thank you.

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

The topic ‘CSS & JS load on pages without any elements’ is closed to new replies.