How to Add More Sidebar Text Widgets

515 Words By Cowboytf on Jan 6, 2008

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

By default, Wordpress only offers 9 text widgets.  I don’t know about you but mine are all used up and I have been in desperate need of some more.  I finally found a way to get this done and thought I’d I let you in on it:)

There are two ways to access the file you need to change but with the same instructions on how to change it. 

First, you need to backup everything before you start fiddling with files.  Then you need to locate your widgets.php file.  You will do this by going to located in ../wp-content/plugins/widgets editing the file there OR by going to your Cpanel (at your web host).  Not everyone will be able to find this file via WP dashboard so I’ll explain how to access and change the file through your cPanel in a little bit.  Just scroll to the bottom of the instructions.

INSTRUCTIONS:

Once you have located the widgets.php file, you need to look for and change these numbers:

Locate— widget_text_setup(), CHANGE the number 9 to the total number of text widgets you want to have.  So when you see this part—- if ( $number > 9 ) $number = 9;  —–you will change it to the amount you want.  For example, I wanted 20 total text widgets, so I replaced the number 9’s with 20.

Locate— widget_text_register(), —Again, change the 9 to the amount of total widgets you want.  So when you see —–  if ( $number > 9 ) $number = 9;  —–I put 20 where all the 9’s are, just like above.                              for ($i = 1; $i <= 9; $i++)

Locate—- widget_text_page(), then look for——  <?php for ( $i = 1; $i < 10; ++$i ) echo   —-and change the number 10 to be ONE MORE than the total number of text widgets you wanted. For example, I chose to have 20 total text widgets so I changed the 10 to 21.

Now SAVE your work and go to Wordpress admin panel>Presentation>Sidebar Widgets and see if you have more text widgets.

Changing the file via cPanel:

cPanels will vary but these are the basic steps.

Login in to your cPanel.

Click on the file manager.  It should look something like this.  Notice I have them numbered…this will be the steps you take to get to the file to edit.

textwidget.png

After you have opened your file manager, you will do step 1.

Step 1—Under the blog you want to add more text widgets to, you will find the wp-includes folder and click on it to open it up. 

Step 2—Look for the widgets.php file and click on it only once to highlight it.  NO double click or opening up.   You see that I have it circled. 

Step 3—Once you have widgets.php file highlighted, you want to click on edit and follow the instuctions that I explained above.  After your changes you should save and test. 

Go to Wordpress admin panel>Presentation>Sidebar Widgets to test and see if your added text widgets are there.  If you find that you had problems you should resort to your original copy that you backed up.  You can either try again or ask for help. 

Good luck!

If you found this post helpful, please consider subscribing to me feed or stumbling this post:)

11 Comment(s)

  1. Awesome! I had been stacking widgets up in the 9 I had. Thanks for the info. I stumbled ya!

    Leigh | Jan 7, 2008 | Reply

  2. Thank you so much!!! I love widgets (maybe a little too much), there are so many cool ones to add a little flair to your blog maybe I get carried away. But I was having to leave off some I wanted due to the limit.
    Thanks again!

    Photo Treasure Hunt | Jan 7, 2008 | Reply

  3. Great Post! Does it make page speed slower, if there are too many widgets ..?

    Iversen’s last blog post..2008 Surfboard Models

    Iversen | Jan 7, 2008 | Reply

  4. Yes Iversen you can get a widget “overload” by adding too many but it also depends on what it IN the widget.

    Cowboytf UNITED STATES | Jan 7, 2008 | Reply

  5. That’s what I was doing Leigh…stacking inside one. I think that’s worse than having multiple widgets. I’m glad you found it helpful.

    Cowboytf UNITED STATES | Jan 7, 2008 | Reply

  6. :yahoo:

    I’ve been wondering how to do this! Thanks!

    Mrs. Mecomber’s last blog post..The History Carnival

    Mrs. Mecomber UNITED STATES | Jan 8, 2008 | Reply

  7. I’ve also been putting lots inside the same text widgets. Thanks for this! (stumbled you too)

    Cynthia Blue | Jan 9, 2008 | Reply

  8. Thanks for the tip! I have been shuffling those 9 for a while and having more is a huge help…thank again!

    John’s last blog post..Britney on the cover of Blender….sort of

    John UNITED STATES | Jan 28, 2008 | Reply

  9. I have been looking for this info.. Thanks for sharing

    Dexter | Techathand.net’s last blog post..Pacquiao vs Marquez ( Rematch : Wait for the Result )

    Dexter | Techathand.net SAUDI ARABIA | Jan 28, 2008 | Reply

  10. I can’t thank you enough.

    Wow.

    Jennifer’s last blog post..It’s Always Better to Bless than Stress!

    Jennifer UNITED STATES | Feb 3, 2008 | Reply

  11. thanks for this tip. i really need this for my blog.

    james AUSTRALIA | Mar 24, 2008 | Reply

14 Trackback(s)

  1. Jan 28, 2008: from My Top 5 Picks from Daily Blog Tips Group Writing Project | Blogging with Cents
  2. Jan 29, 2008: from My Top 5 Picks for Daily Blog Tips Writing Project » Tech At Hand
  3. Jan 29, 2008: from Gabfire » Blog Writing Project: Tutorials » My top 5
  4. Jan 29, 2008: from Writing Contest on Daily Blog Tips-- CornerScribe UNITED STATES
  5. Jan 29, 2008: from Best tutorials by not so famous bloggers
  6. Jan 29, 2008: from Blog Writing Project: 5 Best Tutorials
  7. Jan 30, 2008: from 4 tips to increase your Feed Readers (written by DailyBlogTips Writing Projects Participants) | JackBook.Com
  8. Jan 30, 2008: from   Blog Writing Project — Tutorials — Wayfarer Wings
  9. Jan 30, 2008: from My 3 Favorite Tutorials From Daily Blog Tips
  10. Jan 31, 2008: from My top 5 picks from Daily Blog Tips Writing Project UNITED STATES
  11. Feb 2, 2008: from How to Write a Memoir to Remember Nominated for Best Tutorial UNITED STATES
  12. Mar 4, 2008: from How to Add More Sidebars « www.cottoncandycloud.org
  13. Apr 18, 2008: from Blog Writing Project: 71 Tutorials for Your Delight
  14. Apr 26, 2008: from gabfire themes » Blog Archive » Blog Writing Project: Tutorials » My top 5

Post a Comment