2
votes
1answer
23 views

Frontend Post Excerpt field mapping

I'm trying to create a form with gravity forms. I need to merge two fields to one Excerpt. I can't give the Excerpt field a merge tag. So I'm trying to use an custom field. My question is now: what ...
0
votes
4answers
51 views

Displaying post excerpt using wpdb query

I'm using a modified version of the code from a question (Get WordPress Posts Grouped by Month) to group my posts by year. Everything is working fine, but I'm having trouble getting the post excerpt ...
0
votes
1answer
15 views

content summary of a post disappears If an images added at the beginning of the post. how to solve it?

If I put an image at the beginning of the post my content just disappears at the home page. but when I click read more button it shows full content (single.php) index.php <?php if ...
0
votes
1answer
74 views

Add a minimum word count to Excerpt (and how to force Excerpt as a rule for WyPiekacz)

How do I add a minimum word count to the Excerpt field before the post can be sent for pending review? I want to require content in the Excerpt field. And also, how do I add the Excerpt field as a ...
1
vote
1answer
274 views

Allowing the SoundCloud player to appear in a post excerpt

I am setting up a website for my music, in conjunction with my SoundCloud account. I plan to post the links to my soundcloud player as blog posts, but I can't figure out how to make the blog excerpts ...
8
votes
2answers
656 views

How to end the excerpt with a sentence rather than a word?

Here is the excerpt of the post on my home page. I want to end the excerpt with a sentence. In this case it is ' opportunities. '. I know how to modify the length but it won't do what i want. Here ...
2
votes
2answers
215 views

Auto Refresh Post List after X seconds

i'm new in wordpress, and i really need a help here. My main site, list the resume (excrept) of all posts, with pagination. But when a user publish a new post, the only way to see it on the main page ...
0
votes
2answers
68 views

How can i show only 30% of the “the_content(”More…“)”?

I'm trying to make a page that has all the posts in it and shows 30% or less of the content of the post. So I'm editing a page template and I can't figure out how to show only 30% of the content. I'm ...
1
vote
1answer
143 views

Display most recent post in full, excerpts of older posts

Running 3.5.1. Is there an easy way to display my most recent post in its entirety and only display excerpts for my older posts on my home page?
0
votes
1answer
98 views

How to add an admin function only to posts, not pages?

I'm having a problem with adding an excerpt counter to the excerpt field. It may be a conflict with another plugin, but basically it screws with other jquery if the excerpt field doesn't exist (e.g.: ...
0
votes
5answers
989 views

Get post excerpt and title by specific post ID?

I'm trying to get post excerpt and title by specific post ID. My post ID is 6 and my code as follows <?php $id = 6; $post = get_post( $id ); $excerpt = get_excerpt( $id); $excerpt ...
0
votes
1answer
346 views

How to show a full post, not just an excerpt

I have a blog page where blog posts have an excerpt on with a continue reading link below. When the link is clicked the full post should appear/or should be diverted to. This isn't that case. The ...
0
votes
1answer
184 views

The_excerpt() doesn't parse <!--more--> - how to change that?

I'm using the_excerpt(); in blog.php file (post listing page) and it doesn't recognize <!--more--> if "Excerpt" field is empty and it grabs the beginning of the content as excerpt. This issue ...
0
votes
1answer
391 views

Trying to edit archive.php to only show post extract, with featured image

I am using two themes (full and desktop), so I am trying to get them to behave in the similarly. The archive.php for the mobile theme is doing what I want, which is to just show the title and post ...
-1
votes
1answer
418 views

wp trim function not working

Ok i have this code currently. <?php query_posts('category_name=widgets2'); echo "<div id='widgets-wrapper2'><div id='marginwidgets' style='overflow: auto; max- width: 100%; height: ...
2
votes
4answers
3k views

Modify 'Read more' link adding a new class

I want to add a class to the 'Read more' link. Actually I have this: <?php the_content( 'Read more...' ); ?> Which outputs: <a href="...?p=14#more-14" class="more-link">Read ...
0
votes
1answer
295 views

How to customize read more link

Situation is I have some posts which are showing in my home page there are some read more links(excerpts) after clicking on those links they go to the complete post page, now the issue is i want to ...
0
votes
2answers
510 views

Wordpress Excerpt Paragraph Limiting

I was wondering if it was possible to get the first two paragraphs and the feature image in the excerpt. I currently have the first 100 words, but would like the the first two paragraphs. What I ...
1
vote
2answers
151 views

Print a message if excerpt is empty after posts have been publish/update!

I don't think I can make the excerpt required, but if anyone knows a workaround please share. At least I want to print a message if excerpt is empty after posts have been publish/update, maybe a red ...
0
votes
1answer
104 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!
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.
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
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 ...
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() || ...
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 ...