How to Increase the Excerpt Box Size in WordPress Admin

Your WordPress theme automatically provides an excerpt box in a particular size on your blog, but you have the ability to change this length if you are the administrator or "admin" for your site. The excerpt, which is a brief summary of your post, typically displays a few lines of content before cutting off so that your visitor gets a preview of your article. Maximize the amount of this space by editing your site's code and modifying it to suit your layout better.

Instructions

    • 1

      Log in to your WordPress account, and click the "Editor" link under the "Appearance" title.

    • 2

      Click the "Theme Functions" theme on the right to load the code document in the window.

    • 3

      Scroll to the bottom of the document and position your cursor before the ending "?>" syntax. Type the following code:

      add_filter('excerpt_length', 'my_excerpt_length');

      function my_excerpt_length($length) {

      return 55; }

    • 4

      Change the "55" value to a number of your choosing to specify how many characters you want the excerpt box to display. Click the "Update File" button to save your work and then click your blog's title at the top of the page to view your site.

Related Searches:

References

Resources

Comments

Related Ads

Featured