Excerpts are short texts or summaries

learn more… | top users | synonyms

0
votes
1answer
76 views

Append Second Link to Read More

I'm looking for a way to filter the "Read More" link so I can append a second link and text. I know how to filter the text but not the entire output, eg: Standard post excerpt before the more ...
1
vote
3answers
606 views

Read more does not show up when I write my own Excerpt

On my blog on all my main loops I have it set to show the excerpt instead of the content If I make a longer post and leave the excerpt text box empty, then wordpress will make it's own excerpt from ...
0
votes
1answer
120 views

Grab value of excerpt_length

I know how to "set" the excerpt length for posts, but if I need to actually grab this integer value for something else, do you have any idea how I can grab/echo out just the value? Thanks!
0
votes
1answer
2k views

Archive limit the text of the_content

here's the code for my archive page.. <?php /* Template Name: Archive Page */ ?> <?php get_header(); ?> <div id ="maincontent"class = "group"> <?php ...
0
votes
2answers
634 views

Add custom read more to the_excerpt and <--more-->

My today's question is... is there any way to auto add an custom (whatever I want) Read more... each time I use the_excerpt or get_the_excerpt function??? Thanks in advance
0
votes
1answer
42 views

Inserting a DIV Block Into a Listing of Excerpts?

I'm sure there has to be a tutorial for this, I just can't find it. I'm also pretty confident there's numerous ways to do this and I'm looking for the best. I've never had to do this before, so ...
1
vote
2answers
780 views

Only retrieve posts where post_excerpt has been filled out

I'm trying to use get_posts to only return posts that have an excerpt. Done lots of searching and have been trying to use "posts_where" filter on the query but my SQL is lacking. This is what I'm ...
0
votes
1answer
305 views

Excerpt is only getting shown for first post

I'm using the following code in my category.php file. I want it to show my custom post type 'Products' the thumbnail and an excerpt. At the moment it's showing the post title, the thumbnail for all ...
0
votes
2answers
2k views

Limit the size of the post excerpt

I am using this filter for Custom excerpts <?php echo excerpt(90); ?> http://bavotasan.com/2009/limiting-the-number-of-words-in-your-excerpt-or-content-in-wordpress/ but this filter not ...
1
vote
1answer
164 views

Remove box character after excerpts. Special Character Bug

I want to hide these special charecter (������) after excerpts .. e.g. "Los votos del PP han impedido este jueves que el Parlament apruebe instar al Govern a que en un plazo de mes establezca un ...
1
vote
2answers
236 views

Disabling automatic teasers

I have a custom theme that displays the excerpt: $data = get_the_excerpt(); if ($data) echo "<div class='excerpt'>$data</div>"; if nothing is entered in the excerpt field in ...
0
votes
1answer
59 views

Adding a filter to my posts

Hello guys I would like to append a link to the end of the content within my post. I currently have this in my functions.php file: function ifcj_comment_link() { global $post; return ' <a href="'. ...
0
votes
3answers
2k views

Twenty Eleven: Home Page, View full post of most recent post & Summary of the rest

I am using the Twenty Eleven theme and need to show the full content of the latest post and then show the rest as summary. I'm looking for instructions/help on how to display, on the home page, the ...
0
votes
1answer
269 views

How to show content for posts of a specific category only

I show excerpts of all posts at this site. Which works fine. However, I would like show content for posts of a specific category, while keeping all others showing excerpts. Is it possible, without a ...
1
vote
1answer
872 views

How to get the nivo slider to show excerpt [closed]

I'm trying to embed the nivo slider into a wordpress theme so each slide shows a set of recent image pots and excerpt. At this moment I can get it to show the images but not the post excerpt. <div ...
0
votes
1answer
1k views

Show image in excerpt post. Image not displaying

I am editing a costum theme. I was trying to add excerpt to the homepage. The homepage is costum. The excerpt show just fine but the image refuses to be displayed it seems. This is my code: $args = ...
0
votes
1answer
236 views

Almost Done… Post Format Code

I would REALLY appreciate some help with this, I have been working on it for a while and am so close to done I can taste it. I need each post format excerpt to have the same excerpt code as the ...
0
votes
1answer
564 views

WordPress Post Format If Statement?

Right now my excerpts are doubling when I use post formats. I would like to have a default excerpt when no post format is selected. Checkout an example: http://themeforward.com/demo2/ For my ...
0
votes
1answer
356 views

Excerpt Problems

On a theme I'm working on I want a div which expands to 100% height of the outer div (which I will put around the thumbnail). The purpose of this is to move text further to the right to be aligned as ...
1
vote
3answers
3k views

Display Links in Excerpts?

I'm having a problem with the_excerpt and can not find the answer anywhere... I simply want to allow links to be clickable when they are displayed via the_excerpt! There has to be a function for ...
0
votes
1answer
385 views

Static front page with excerpt

I'm currently developping a theme for WordPress, and I have run into a little issue. I have to display some text as well as a "latest articles" list on the front page. I have the front page set to ...
4
votes
5answers
17k views

Get excerpt using get_the_excerpt outside a loop

I have a code that call get_the_title() and it works, but get_the_excerpt() return empty. How can i make it work? This code is inside a plugin called "WP Facebook Open Graph protocol". Here's the ...
0
votes
1answer
324 views

Force WordPress to NOT display the manual excerpt

I'm forced to use manual excerpts on a number of my posts to integrate them with a shortcode plugin. However, this is interfering with how they're being displayed on an archive page (using a page ...
0
votes
1answer
211 views

Import RSS as posts with redirect?

I'm looking for a way to import RSS items from an external blog as posts with a redirect on them. The purpose is to have another blog's posts show up in my front page excerpts but actually deliver ...
0
votes
1answer
520 views

How to hide wordpress default description box?

I'm using custom fields in my wordpress default post area. So i don't want wordpress default description box. I mean i dont want this field. Instead of description box i want excerpt box there. ...
0
votes
1answer
35 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
220 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
2k 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
7k 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
347 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
160 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
754 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
682 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
721 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
796 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
122 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
752 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
218 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
551 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
1k 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
248 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
787 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 ...
10
votes
7answers
30k 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
681 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() || ...