Add More Text Widgets to WordPress without Plugin – File Included

Now this is all based on this WordPress Support post, but there are some additions and I placed the code here for your convenience: How can I have more text widgets in my template? 

Basically (using WordPress 2.2.2) you can find the widgets.php file in the WP-INCLUDES/ directory. Open it and back it up just in case…  Now here are the changes:

  1. Under “function widget_text_setup…” you will find the #’9′ (2 times)
  2. Change ‘9’ to your new # of Text widgets you would like
  3. Slightly under that, you will see “function widget_text_page…”
  4. Change the # ’10’ in this section to your # + 1 (if you chose 15 is Step 2, change this number to 16)
  5. Find “function widget_text_register…”
  6. Change all ‘9’ to your new #
  7. Upload and your done

If you are too afraid, I edited (for WordPress 2.2.2) the widgets.php for 15 text widgets… Drop into your wp-includes and your done.

Advertisements

0 Responses to “Add More Text Widgets to WordPress without Plugin – File Included”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Adam Hirsch Flickr Photos

Del.icio.us Adam Hirsch


%d bloggers like this: