Excerpts are short texts or summaries

learn more… | top users | synonyms

0
votes
1answer
34 views

Display a paragraph in the index page that won't be displayed in the single post

Can i make it possible for an excerpt to be displayed in the index page but that part of the excerpt will not be displayed in the single post anymore?
0
votes
1answer
173 views

Remove [ and ] from excerpt

I am displaying the wordpress posts on the index page with: <?php the_excerpt(); ?> In my functions.php file I have following code: add_filter('excerpt_length', 'my_excerpt_length'); ...
2
votes
1answer
1k views

How to show post(excerpt) from specific category on wp page?

I need this on 3 pages, all 3 from different categories, and then to show several post excerpts from all 3 categories in sidebar of home page.
1
vote
2answers
1k views

Excerpts automatically remove paragraph space

I use excerpts of posts in my front page. In my excerpt, the summary of the post seems to be clumped together with no spaces that are indicated in the post (e.g., paragraph spaces are automatically ...
0
votes
2answers
6k views

What is generating my meta og:description?

My site has Facebook social graph meta tags in its page: <meta property="og:title" content="First Look at Dwarves from The Hobbit"/> <meta property="og:description" content="Movie"/> ...
0
votes
1answer
311 views

display public excerpt for private post

Thank you in advanced. I know there are plugins that can do this, but I am looking for a simple solution for my function file. I would like to display the excerpt for all posts with the more tag for ...
4
votes
4answers
13k views

Twenty Eleven home page show only excerpt

I am using the brand new twenty eleven theme, my home page is set to show latest posts, but it displays the entire posts, I want to only show the excerpts, not the entire content, Here is the ...
0
votes
3answers
153 views

Calling Permalinks With PHP

I'm developing a theme which supports WordPress' post formats. As a result I am using a big if statement, which can be found below. I would like to link my post titles to the posts while ...
0
votes
2answers
1k views

Using “Read More” link with custom excerpt

The following functions.php edit (contributed by helgatheviking on the themeshaper forums) allows the use of a "Read More" link with custom excerpts. My problem is simply this: I'm inept at editing ...
1
vote
2answers
688 views

Displaying latest Posts - fixed height - Excerpt vs. Content?

On my static frontpage, I would like to fetch the two latest posts as shown in this link. Now the posts should always be displayed like this (i.e. constant height, limited number of characters), no ...
1
vote
1answer
631 views

Custom excerpt function re-factoring

This may be more of a php best practices question, but here goes... I am using a custom excerpt trim function: function new_wp_trim_excerpt($text) { // Fakes an excerpt if needed global $post; ...
2
votes
2answers
676 views

How to limit 1 image per post on homepage only?

most of my post on wordpress got 6 or 5 images perpost. My problem is if I posted 5 new post with new images, it will be totall 25 images display on my homepage. I want to limit 1 image perpost on ...
2
votes
1answer
1k views

Add visual editor capability to custom excerpt window?

The custom excerpt field (under Add New Post) only accepts html. Thus, you can't just cut and paste a segment from the Visual Editor. If you want links to appear in custom excerpt, you have to know ...
3
votes
5answers
2k views

Cannot strip JW Player shortcode?

On the WordPress archive template I am using a custom excerpt function that includes a reference to strip_shortcodes(). For some reason, shortcodes are being rendered and displayed in the archive. ...
1
vote
1answer
619 views

excerpt - don't use main content if empty

trying to stop get_the_excerpt() from defaulting to the_content() if its empty. this kinda works - well it seems to return 'xxx' so i think has_excerpt() isn't working? function get_link_excerpt(){ ...
0
votes
2answers
113 views

Excerpt Is Disappeared

My theme automatically assign before of <!--more--> tags, as excerpt.And showing excerpt on home page. Now i want to add Google Adsense after <!-- more --> code. I'm wrote this function ...
0
votes
1answer
616 views

Excerpt textarea missing on post editing page in admin panel

Why is that? It's a new installation. EDIT: I don't have plugins installed and I tried to restore default theme to Twenty Ten, but it didn't change anything.
0
votes
1answer
210 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
513 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
852 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 ...
1
vote
1answer
220 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
1k 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
726 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 ...
8
votes
7answers
24k 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 ...
2
votes
1answer
631 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: function my_excerpts($content = false) { // If is the home page, an archive, or search results if(is_front_page() || ...
0
votes
2answers
198 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
506 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
400 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
645 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
860 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
1k 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. ...
2
votes
3answers
1k 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
738 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
881 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
654 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
806 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
222 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 ...
2
votes
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 ...
13
votes
6answers
12k 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
323 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
329 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 ...
2
votes
4answers
5k 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
556 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
688 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 ...