Here’s another neat trick which I love, but which was hard to find when I first wanted to use it. Have you ever wanted to show some information on your home page about a page or post, with a sentence or two explaining it, but without that text actually being part of the page? I have, and I’ve shared this enough that I’m going to share it here, too.
If you have a blog page (like mine) with just part of the post content displayed, that is frequently done by setting a content limit (say, 300 characters), and WordPress automagically adds a “Read More” link at the end of the content limit.
The More Tag
<!--more-->
It’s also a button in either editor so you do not have to remember the fancy code. Here is what the excerpts look like, for example, in a widget on the home page of your website.
Add No Teaser to the More Tag
<!--more--><!--noteaser-->
If you add the “no teaser” tag to your “more tag”, your excerpt can say whatever you need it to, and it will be hidden from the actual page content. This comes in handy if your opening sentences are not as concise as you need for your widget on your homepage or your sidebar to be.
Sometimes, it doesn’t matter if you use an excerpt. When it matters, though, it can really make an impact–and when it really matters, you can really fine tune your excerpt with the “no teaser” tag.
Thanks, Rabia, for reminding me to share this tidbit!
Leave a Reply