Posts Tagged ‘excerpt’

How To Automatically Control The Manual Excerpt in WordPress

WordPress Excerpt is an optional summary of your posts. In this tutorial, I will show you how to automatically control the Manually typed excerpt AND the Automatically generated excerpt at the same time, by using a simple function and without the need of a plugin.

The image below shows the result when using CODE-Y below. Notice that both the Manually typed Excerpt and the Auto-generated excerpt are present. Continue Reading »

How To Create a Variable Length Excerpt in WordPress Without a Plugin

WordPress Excerpt is a summary of your posts. In this tutorial, I will show you how to generate variable Length Excerpt that completes the sentence. Meaning that the Excerpt is not cut off mid-sentence. Also, I will show you how to preserve All, Some or None of the HTML formatting in the Excerpt, among several other features listed below. Continue Reading »

How To Remove Header Tags and Their Content in WordPress Excerpt

WordPress Excerpt is a summary of your content. In this tutorial, I will show you how to selectively remove Header Tags (h1 through h6) and their content for the automatically generated excerpt. Also I will show you how to selectively remove Header Tags and their content while at the same time preserving HTML formatting for other HTML tags. Continue Reading »

How To preserve HTML Tags in WordPress Excerpt Without a Plugin

WordPress Excerpt is a summary of your content. In this tutorial I will show you how to preserve HTML formatting for the automatically generated excerpts without the need of a plugin, and also choose what HTML tags to keep. For a manually typed excerpt, WordPress will keep all HTML formatting you have included in the excerpt. Continue Reading »

How To Improve WordPress Excerpt Without a Plugin

In this tutorial I will show you how to enhance WordPress Excerpt by using simple functions and without the need of a plugin. WordPress Excerpt is an optional summary of your content.

The relationship between the Manual Excerpt, Automatic Excerpt, and Teaser is this: When a post has no manual excerpt and the post template uses the the_excerpt() tag, WordPress automatically generates an excerpt by selecting the first 55 words of the post followed by the unlinked ellipsis “[...]”. Continue Reading »