Live Site Loading Staging CSS for a Widget

[ad_1]

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.php to 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?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer