Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6913289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:11:57+00:00 2026-05-27T09:11:57+00:00

I found this article here on how to deregister styles in wordpress. techotronic.de/how-to-de-register-style-sheet-wordpress/ Pretty

  • 0

I found this article here on how to deregister styles in wordpress. techotronic.de/how-to-de-register-style-sheet-wordpress/

Pretty simples I thought but I can’t get my head round what he’s trying to say. This is the code below…

add_action( 'wp_print_styles', 'custom_deregister_styles', 100 );

function custom_deregister_styles() {

  wp_deregister_style( 'colorbox-theme1' );

}

Straight forward enough, for his plugin…

But if I wanted to deregister a style from another plugin I’m using, how do you find out what name to put in the code – wp_deregister_style( ‘ ???? ‘ );

I’ve tried the obvious, the stylesheet name…

add_action( 'wp_print_styles', 'custom_deregister_styles', 100 );
function custom_deregister_styles() {
  wp_deregister_style( 'language-selector.css' );
}

and this is another method I found, but can’t get my head around what I got to do?

add_action("gform_enqueue_scripts", "deregister_style");
    function deregister_style(){
wp_deregister_style("gforms_css");
}

How does this deregister method work, and what do I need to look for in the plugin to get the relative name to get it to work. I’m very confused.

Appreciate any advice thanks!


UPDATE

I have just discovered the style sheet I’m trying to deregister is not loaded via wp_enqueue_style or wp_register_style.

See php file from plugin here https://gist.github.com/1442470

And look on Line 792 for language-selector.css

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:11:58+00:00Added an answer on May 27, 2026 at 9:11 am

    Find wp_register_style or wp_enqueue_style in the plugin folder. You’ll find the name in that function call.

    Update: You cannot remove this without editing the plugin, or resolving to ugly hacks like buffering all the output and filtering it at the end. That’s the reason wp_enqueue_style or wp_register_style should be used for all stylesheets.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this on net in google search and see article here: http://www.thatcssguy.com/limit-your-divs/ See
I found this article here: Quantifying the Performance of Garbage Collection vs. Explicit Memory
I've found 101 threads on this but no solutions for my actual problem. Here's
I found this article who explain how to use cache items expiration to make
I found this article about how to insert, update and delete using linq pad
I found this article on how to manipulate the rendering sequence of asp.net controls.:
I'm learning about WCF and found this article on a simple WCF example. In
I found this older article how-to-monitor-the-computers-cpu-memory-and-disk-usage-in-java and wated to ask, if there is something
I recently found an article online that told me about this: RewriteRule ^mock-up/([^/]+)/([^/]+) /mock-up/index.php?page=$1&section=$2
i have tried to create message box using this article, but cant compile it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.