• Hello,

    I’ve been working on a website lately that I’ve created with gutenberg.
    The theme is almost done, but I have a problem with a plug-in that sees most of its functionnalities not working.

    The plug in is Events Calendar Shortcode Pro, and I’ve already contacted them but it seems that the problem comes from my theme because when switching to gutenberg starter theme (which my theme is a child of), it works fine. (Turning on and off all the other plugins doesn’t change anything either)

    For example, you can see in the page I’ve linked that the filterbar doesn’t do any filtering when used.

    Is there something I’ve missed in the enqueuing script ? Should I specify in my functions.php file where to get the plug ins I’m using ? I’ve noticed that the plugin folder does not appear in the source dev tools listing, when using my child theme, but does appear when using the starter one.

    Given that almost everything else is set and done, it’s starting to drive me crazy…

    Thanks !
    Arthur

    • This topic was modified 4 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

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

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The dev tools sources list is not comprehensive, it only lists resources that are loaded on the current page. Many scripts and styles are loaded through the respective WP loaders, so the related plugin might not appear in the sources list and yet still be active.

    Plugins are loaded before themes, so your theme couldn’t block the plugin’s initialization process. However, if the plugin conditionally enqueues scripts or styles, some property that it uses for a condition could be lacking in your theme. Ideally you’d provide the property it’s looking for, but failing that you could conceivably enqueue the missing plugin scripts yourself. Take measures to ensure the scripts exist and have not already been loaded by the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Theme blocks plugin from loading (ECS)’ is closed to new replies.