• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Categories
  • Contact Us
    • Advertising
    • Requests
    • Privacy Statement
HelpSpa.com

HelpSpa.com

Computer Tutorials

Wordpress: Limit Text of Post Without Using More Tag

March 28, 2010 by davidwank

We all know that the “more” tag in wordpress allows you to place a break in a post in a specified position. But what if you wanted to cycle featured posts on your wordpress blog and you didn’t want to add a “more” tag to every post (or have to go back and add a more tag to hundreds of old posts)? There are plugins available to do this but I tried a couple and didn’t have success. The easiest way I found to handle this situation is by using the_excerpt() instead of using the_content().

By using the_excerpt(), wordpress will automagically use the except text from your post or it will use the first 55 characters provided you don’t have any text in your excerpt. For someone like me who doesn’t like to use arbitrary “more” tags, this method is great. You can alter the number of characters displayed as well as make other customizations. The codex for the_excerpt() can be found here.

I like using plugins to get thins done in Wordpress, but oftentimes some simple and straightforward coding is the simplest and fastest way to go.

Filed Under: Web Development Tagged With: Wordpress

Primary Sidebar

More to See

Google Analytics 4 Migration Training

December 22, 2022 By davidwank

Hubspot Zoom Webinar Integration

Connecting HubSpot and Zoom Webinars

August 27, 2022 By davidwank

Google Analytics as we know it is going away!

July 24, 2022 By davidwank

Footer

Text Widget

This is an example of a text widget which can be used to describe a particular service. You can also use other widgets in this location.

Examples of widgets that can be placed here in the footer are a calendar, latest tweets, recent comments, recent posts, search form, tag cloud or more.

Sample Link.

Recent

  • Google Analytics 4 Migration Training
  • Connecting HubSpot and Zoom Webinars
  • Google Analytics as we know it is going away!
  • Building a New Dental Website?
  • BackupBuddy Timeouts on GoDaddy Hosting

Search

Tags

Adobe Acrobat Backup classical music and opera cPanel DAM Database Digital Photography email Excel Facebook Firefox hardware HP Security HTML iMovie Internet Explorer iTunes linksys Microsoft Office Microsoft Word MySQL networking Office 2010 OneNote OpenOffice OS X PDF PHP printers reseller hosting Reviews router SEO subversion Video Virtualization Virtual PC Web Design Web Development Web Hosting Windows Windows 7 Windows Vista Windows XP Wireless

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in