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.

Technorati Tags: , , ,

  • Digg
  • del.icio.us
  • NewsVine
  • Reddit
  • StumbleUpon
  • Technorati
  • Slashdot

 

Trackbacks

(Trackback URL)

close Reblog this comment
blog comments powered by Disqus