How to Add More Sidebar Text Widgets
515 Words By Cowboytf on Jan 6, 2008If 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.

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:)






Awesome! I had been stacking widgets up in the 9 I had. Thanks for the info. I stumbled ya!
Leigh | Jan 7, 2008 | Reply
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
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
Cowboytf
| Jan 7, 2008 | Reply
Cowboytf
| Jan 7, 2008 | Reply
:yahoo:
I’ve been wondering how to do this! Thanks!
Mrs. Mecomber’s last blog post..The History Carnival
Mrs. Mecomber
| Jan 8, 2008 | Reply
I’ve also been putting lots inside the same text widgets. Thanks for this! (stumbled you too)
Cynthia Blue | Jan 9, 2008 | Reply
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
| Jan 28, 2008 | Reply
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
| Jan 28, 2008 | Reply
I can’t thank you enough.
Wow.
Jennifer’s last blog post..It’s Always Better to Bless than Stress!
Jennifer
| Feb 3, 2008 | Reply
thanks for this tip. i really need this for my blog.
james
| Mar 24, 2008 | Reply