Excerpts are short texts or summaries
0
votes
1answer
184 views
Using the_excerpt() some posts are truncated and some are not
I have a template that pulls three posts query_posts() loop. Two of the posts and are truncated to 10 words like I have it set in a filter. The third decided to ignore the filter and is spitting out ...
0
votes
1answer
423 views
Where is the logic that defines the excerpt?
I'm trying to learn HOW to learn about WordPress by following its source code etc.
I'm really stumped at the_excerpt(). Documentation states that the_excerpt uses get_the_excerpt(), and will return ...
0
votes
1answer
466 views
How to programmatically bring back “excerpts” field in post editor in WP 3.1+
My theme uses some custom options fields, like post excerpt, that were removed from the editor screen with WP 3.1
I understand and support the intent to clean up the content workspaces. However, as a ...
0
votes
1answer
174 views
Truncating varying lengths of information
I was helped not long ago with a form of custom truncating by Toscho on this post it works very well but I'm finding that I need to create multiple length variations for different bits of content. For ...
2
votes
2answers
972 views
How to return the_excerpt (without echo)?
Hey all, I see that get_the_excerpt() echoes the post excerpt if it is manually set, but not if it is automatically generated (with just the 55 words, for example). [and its use is deprecated]
...
1
vote
1answer
611 views
Excerpts for Pages
I inserted an excerpt into a Page using the "More" button in WP GUI.
I have a custom loop-page.php from which I want to display the excerpt. But it appears to be empty?
Is it possible to display ...
6
votes
6answers
15k views
GET the excerpt by ID
Why is it that one cannot get the excerpt by ID like with the title and most other elements.
eg. get_the_excerpt(ID). I know how to use it with the $post->post_excerpt function but that does not ...
1
vote
1answer
485 views
How to link up “read more” on excerpts hack from WP Recipies
I found the code on the WP Recipies page to force excerpts on the home page.
http://goo.gl/1hUJJ
But how do I modify that snippet to add a hyperlink to the full post for the "..." part? Thanks for ...
0
votes
2answers
177 views
custom post data - how to
We're setting up a site to showcase a series of archival recordings. We have the custom post types sorted out thanks to all the help from this site (many, many thanks):
add_action( 'init', ...
0
votes
1answer
392 views
excerpt box not visible
i'd like to use excerpts but for some reason the excerpt editor is not visible when editing posts. i'm using wordpress v3.1 - already searched up the options but couldn't find anything .. :(
do i ...
0
votes
1answer
304 views
Excerpt vs content formatting woes
One of my posts has the following content:
This is a test post. Nothing more,
nothing less.
Three lines before the jump
<!--more-->
And a couple of more lines
after the jump.
Note: these were ...
0
votes
1answer
564 views
Post excerpt in custom meta box… help with proper php format
I have a custom meta box attached to a post type that displays ways for customers to submit new ideas. Customers are supposed to summarize their idea in 30 characters or less, which seems like a good ...
1
vote
1answer
698 views
Aggregate Summaries of Posts of Different Blogs in Multisite Instance
I have a Multisite Wordpress installation with 7 different blogs. I want to show an aggregate of the summaries of posts from those 7 blogs in the main blog. Do you know a good way to do this?
1
vote
2answers
710 views
Excerpts that don't truncate words
I know I can control the length of excerpts using a filter, however it sets the length globally. In my case I have different lengths of excerpts on three different pages.
This is what I have now. ...
1
vote
3answers
856 views
How do I filter the excerpt metabox description in admin?
I want to change the default "Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts." help text below the Excerpt input area to ...
2
votes
1answer
547 views
Making oEmbed work on the excerpt field
How can I make oEmbed work on the excerpt field so I only have to paste the youtube url in there and then be able to echo 'get_the_excerpt()'?
I also want to filter oEmbed and change the wmode but I ...
0
votes
1answer
692 views
I can't modify the 'Continue reading…' link of the_excerpt
I just placed this in my functions.php (I'm using Wordpress 3.0.4):
function new_excerpt_more($more) {
global $post;
return '<a href="'. get_permalink($post->ID) . '">Read the ...
0
votes
1answer
581 views
the_excerpt is not limiting my post page to 55 words?
Wordpress states the following:
An excerpt is a condensed description
of your blog post and refers to the
summary entered in the Excerpt field
of the Administration > Posts > Add
New ...
0
votes
3answers
651 views
How to display retweet count and likes in the meta above the excerpt
There are several plugins that insert buttons to retweet and like into a post. You can see the count of retweets and likes at the top of single blog posts.
What I want to do is show the retweets and ...
1
vote
2answers
200 views
How can I create an “excerpt” with text that won't be displayed in the post itself?
I'm currently creating a new theme for my blog and I intend to make it in a magazine style manner.
So, to clarify the question in the title: what I want to do is to create a text assigned to the ...
1
vote
3answers
2k views
Remove image caption from post excerpt
I am currently using a wordpress plugin called "limit-posts" to better customize my post excerpts. The only issue I have is the excerpt is including the caption text from the image that is within the ...
12
votes
6answers
9k views
Using wp_trim_excerpt to get the_excerpt() outside the loop
I'm building a theme that is going to show excerpts on the homepage for potentially dozens of posts. I don't have manual excerpts on all of my posts, so $post->post_excerpt is empty for many posts. ...
0
votes
1answer
278 views
how to reset metabox excerpt to open
For some reason the excerpt box on the new posts page (post-new.php) is always closed. I can alter that with firebug, but it should be open anyway.
There is a "closed" class being added by someone ...
0
votes
2answers
321 views
Automating Excerpt
I am trying to automate editors work by automating excerpts.
My solution works but there are few problems with it:
If a post has images/broken html at the beginning it breaks the layout.
Substring ...
1
vote
3answers
3k views
Howto control manual excerpt length?
I have a website in which I need to control the displayed excerpt length.
Some of the posts might have manual excerpt so I can't use the excedrpt_length filter.
I can of course4 use somekind of ...
0
votes
2answers
442 views
Replace the Post Excerpt Meta Box with a Field in My Custom Meta Box
I've got a custom meta box for a custom post type which will be the only metabox I plan to show in the main column (except the native title box). I want to move the native Expert box/field inside my ...
1
vote
2answers
525 views
How to only show the first X words (from each post) on the home page?
How can you have it so that the site's home page will only show the first X (let's say 300) words of the post?
But without using "more" tag, or hand filled excerpts? I am looking for a plugin/hack ...