Viewing 3 replies - 1 through 3 (of 3 total)
  • anonymized-13171256

    (@anonymized-13171256)

    Thanks for the links. Try turning on Compatibility Mode in the View editor.

    Here’s what’s going on technically, in case you want to know.

    My plugin scans the content first to determine what style and scripts it needs to load.

    The theme is fetching the requested page content via Ajax, replacing the current page content with it, then updating the address bar to reflect the change.

    So if you refresh, you get the page the “normal” way and my plugin works.

    When the content is fetched via Ajax, my plugin has no opportunity to scan the content first so its style and scripts are not loaded.

    This Ajax approach is gaining popularity and I need to address it in my plugin.

    Thread Starter bidolia

    (@bidolia)

    no change in compatibility mode, there is a method to fix a style without scan the content?

    anonymized-13171256

    (@anonymized-13171256)

    We can try adding the plugin stylesheet to your theme’s stylesheet. You should really be using a child theme for that. I can walk you through it or I can do it for you by starting a private support ticket here https://www.wpmission.com/submit-ticket/.

    I will work on this in the plugin today.

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

The topic ‘template not work’ is closed to new replies.