Remove Widgets in WordPress?

7 replies
  • WEB DESIGN
  • |
Hi All,

Please I need some help.

I would like to remove or hide from view certain widgets
in Wordpress without the help of plugins if possible.

Herewith a screen shot to show what I mean:

Code:
http://img834.imageshack.us/img834/615/widgetsarea.jpg
Thanking you all in advance.
#remove #widgets #wordpress
  • Profile picture of the author janetjay
    The only way your clients can see those widgets is if you put them in the Side bars. Unless you're giving them access to your dashboard and why would you do that?
    {{ DiscussionBoard.errors[7641562].message }}
    • Profile picture of the author Herschel-W
      Thanks for the feedback, but you see I have the
      following problem.

      The home page content is sitting in those widgets,
      and the sidebars on all pages contains content.

      I'm giving the clients access to edit and add more
      content.

      I just want to get rid of those items because they
      do not need it. I do not want to give them the impression
      that I built the website on someone else theme.
      I also do not want them to bother me with unnecessary
      questions wasting my time.

      Hope you can see what I mean.
      {{ DiscussionBoard.errors[7641600].message }}
  • Profile picture of the author leliahawkins31
    Question:

    1. what template you used?
    2. any plugins installed?

    I guess, it's a built in widget in a particular template you used, as long as the widget are not showing in the LIVE SITE it doesn't affects you.

    thanks
    {{ DiscussionBoard.errors[7641586].message }}
    • Profile picture of the author Herschel-W
      Thanks,

      Yes, those widgets are built into the Theme.

      The theme I use is the Catalyst Wordpress Theme.



      Originally Posted by leliahawkins31 View Post

      Question:

      1. what template you used?
      2. any plugins installed?

      I guess, it's a built in widget in a particular template you used, as long as the widget are not showing in the LIVE SITE it doesn't affects you.

      thanks
      {{ DiscussionBoard.errors[7641629].message }}
  • Profile picture of the author Patrick
    You can do it by using the unregister_widget('Widget Name') function...

    For example...

    Code:
    function unregister_default_wp_widgets() {
        unregister_widget('widget name here');
    }
    add_action('widgets_init', 'unregister_default_wp_widgets', 1);
    Widgets are registered through register_widget so you need to look up this in your theme functions to see the widget name...

    For more info read this...

    Function Reference/unregister widget « WordPress Codex
    {{ DiscussionBoard.errors[7641990].message }}
    • Profile picture of the author Herschel-W
      Thanks very much for the advice.

      But how does it work for a Child Theme of a Parent Theme?

      I have the Dynamic Theme (Child of The Catalyst Theme) activated.

      Where should I put the code in?

      Thanks again.

      Originally Posted by schwarzes View Post

      You can do it by using the unregister_widget('Widget Name') function...

      For example...

      Code:
      function unregister_default_wp_widgets() {
          unregister_widget('widget name here');
      }
      add_action('widgets_init', 'unregister_default_wp_widgets', 1);
      Widgets are registered through register_widget so you need to look up this in your theme functions to see the widget name...

      For more info read this...

      Function Reference/unregister widget « WordPress Codex
      {{ DiscussionBoard.errors[7642072].message }}
  • {{ DiscussionBoard.errors[7642117].message }}

Trending Topics