ananke/exampleSite/content/unit-tests/2012-03-14-template-excerpt-generated.md

18 lines
933 B
Markdown
Raw Normal View History

2017-04-15 04:32:55 +02:00
---
author: adamchlan
categories:
- Template
- Uncategorized
date: 2012-03-14T16:49:22Z
tags:
- content
- excerpt
- template
title: 'Template: Excerpt (Generated)'
parent: "Variables"
url: /2012/03/14/template-excerpt-generated/
---
This is the post content. It should be displayed in place of the auto-generated excerpt in single-page views. Archive-index pages should display an auto-generated excerpt of this content. Depending on Theme-defined filters, the length of the auto-generated excerpt will vary from Theme-to-Theme. The default length for auto-generated excerpts is 55 words, so to test the excerpt auto-generation, this post must have more than 55 words.
Be sure to test the formatting of the auto-generated excerpt, to ensure that it doesn&#8217;t create any layout problems. Also, ensure that any filters applied to the excerpt, such as <code>excerpt\_length</code> and <code>excerpt\_more</code>, display properly.