Relative Content

Tag Archive for phpwordpresswordpress-themingwordpress-shortcode

Action hooks in plugin shortcode not working in WordPress child theme

I’m developing a custom plugin that uses a shortcode to display content on specific pages. Locally I had the Twenty Twenty-Four theme activated for development. While, in production, I’m using Scapeshot Wedding theme, a child theme of Scapeshot. I have some scripts and css files that I need to enqueue for everything to work and look nice. Once I was done and happy I decided to publish to production, where nothing worked. I found out that none of the enqueued scripts and styles actually make it to the DOM when Scapeshot (Wedding) is activated.

Action hooks in plugin shortcode not working in WordPress child theme

I’m developing a custom plugin that uses a shortcode to display content on specific pages. Locally I had the Twenty Twenty-Four theme activated for development. While, in production, I’m using Scapeshot Wedding theme, a child theme of Scapeshot. I have some scripts and css files that I need to enqueue for everything to work and look nice. Once I was done and happy I decided to publish to production, where nothing worked. I found out that none of the enqueued scripts and styles actually make it to the DOM when Scapeshot (Wedding) is activated.