[ad_1]
[ad_2]
I'm running a WordPress site and noticed an issue where a specific widget on my live site is loading the CSS from my staging environment, not the live one. The rest of the site uses the correct live CSS. I’m using get_template_directory_uri() to enqueue stylesheets, but this widget seems to be stuck with the staging CSS.
I've already checked the following:
wp-config.phpto ensure it's pointing to the live site- Cleared both browser and server-side caches
- Verified there are no hardcoded staging URLs in the theme or plugins
- Made sure the correct stylesheet is being enqueued for the widget
Despite these checks, the widget still pulls the staging CSS. Has anyone faced a similar issue or have suggestions on how to resolve it?
