The the-excerpt tag has no wiki summary.
2
votes
3answers
287 views
excerpt in characters
I have code in functions.php:
function string_limit_words($string, $word_limit)
{
$words = explode(' ', $string, ($word_limit + 1));
if(count($words) > $word_limit)
array_pop($words);
...
0
votes
1answer
66 views
how can I list recent posts' excerpts
I am using this directly from the codex to list 3 recent articles titles.
<ul>
<?php
$args = array( 'numberposts' => '3');
$recent_posts = wp_get_recent_posts( $args );
foreach( ...
7
votes
2answers
298 views
Compare the_excerpt() to the_content()
Is there a way to compare the_excerpt() to the_content() to know if the_excerpt() is actually showing the entire post content? for instance, if a post were particularly short.
ultimately i'd like to ...
4
votes
2answers
140 views
How to get the unfiltered excerpt, without […] or auto-excerpting
The standard way of getting an excerpt is to use the_excerpt() or get_the_excerpt() template tags. I am trying to get just the actual content of the Excerpt field.
If there is an excerpt, I want to ...
0
votes
1answer
539 views
the_excerpt and shortcodes
I'm using the_excerpt on my index page. I'm also using a dropcap shortcode at the beginning of each of my posts. On the index page the posts will not display the letter with the dropcap shortcode ...
0
votes
2answers
2k views
How to remove “Read on” content in the_excerpt?
I know the_content has the handy dandy $strip_teaser argument that lets you set whether there is "continue reading" text. No such luck for the_excerpt...
I would like to just get rid of it. I had ...