Excerpts are short texts or summaries

learn more… | top users | synonyms

0
votes
1answer
14 views

Remove links from the_content when using filters wp_trim_excerpt

I'm using wp_trim_excerpt which is working perfectly but I want to strip the links contained in the the_excerpt (using get_the_content), I've looked online and tried many solutions to get the thing to ...
0
votes
3answers
3k 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
21 views

Why is my excerpts not showing if not explicitly declared?

It's my understanding that the_excerpt() will display the excerpt, if you have made an explicit one, or the first few paragraphs of the actual content, if you did not. In my case however, it only ...
1
vote
1answer
623 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 ...
0
votes
3answers
4k views

Customizing get_the_excerpt() to specific length and “Read More” output.

I am costuming a template. There is a list grabbing the introduction from the first 1-2 paragraphs (all the articles from a category). If I set the excerpt to 295 words, sometimes the list grabs ...
0
votes
2answers
704 views

Create custom links for excerpts with php dynamically

Good Day I am using excerpts in my wordpress theme. Now in wordpress's documentation, they say wordpress does not automatically add links for the excerpts, you have to manually add them like this: ...
0
votes
3answers
1k views

Creating a press page for our project

Over time our project got some good press: press releases, interviews, media appearances Now I want to create a "press page" (something like this). Requirements: is easy to update - everyone can ...
0
votes
1answer
26 views

<?php the_content(); ?> to get a little more content after 'read more' inside loop

I want the to give a little more content after <!--more--> tag inside Loop. I saw this on wordpress codex This script gives the content before the <!--more--> tag: <?php global ...
0
votes
0answers
15 views

Trimming of post content leading to some open tags that are distorting the page formatting

I am trying to show post excerpt in my page. However, as the excerpts have not been defined by the writer, i am pulling the post content, and then trimming it to certain characters to form excerpts. ...
0
votes
1answer
486 views

Manual excerpt length on recent posts slider

I need to change the character/word limit of manual excerpts which will be displayed on recent posts slider. I think it's 55 characters right now without counting spaces and punctuation marks. Am i ...
1
vote
4answers
2k views

Multiple versions of RSS feed? One with full content, one with the excerpt

I'm not sure how to word my question and I have been searching all day, to no avail. I am looking for a method to create two versions of my RSS feeds, one with the full content and one with only the ...
1
vote
1answer
196 views

Extending wordpress search to include excerpts and taxonomies?

Apologies for the lack of code, but I have no idea where to start with this - is it possible to extend Wordpress's search function to include excerpts and (custom) taxonomies as well as the standard ...
1
vote
2answers
66 views

Excerpt - add the last few words of posts to the […]

Is there an easy method of adding the last few words of the posts, added to the trimmed excerpt that is automatically generated for post displayed on category pages? Currently it will only show the ...
0
votes
1answer
31 views

Limiting the number of characters in the except

I am trying to post a news blog section on my home page, but I want to limit the text to 100 characters. I am using this code in the functions.php file but it is not working. I want to limit the ...
0
votes
1answer
52 views

Excerpt “Read More” link

In my blog I want to put a label "Read More" and after clicking it, I want all my posts to appear but it's not working. Here is my code to try to be more specific: ...
1
vote
3answers
43 views

“Read more” link doesn't show up when the post length is under the excerpt length

I have posts with very different post lengths. Sometimes there are very long posts, sometimes a very short comment on a book. I have set my excerpt length to 50 words, but when a post is 25 words ...
0
votes
0answers
28 views

Convert meta description into corresponding excerpts / yoast seo plugin

I m using Yoast SEO plugin on my blog. I never filled excerpts manually, but filled the meta description for each posts. But now for some reasons i need to use get_the_excerpt hook and I have never ...
0
votes
1answer
55 views

Excerpt for pages not showing

I am creating a simple wordpress theme and need excerpts for pages. I have tried the code from many topics some resolved on 'wordpress SO' but nothing works. Because I created the theme from scratch ...
0
votes
0answers
23 views

Delete/remove post excerpts?

I have post excerpts in my posts generated by some plugin. I do not use them. Is there any function which will delete them on post publish, or even better remove that feature?
0
votes
0answers
21 views

Post Images and embeded media at the bottom of each Excerpt

Does anyone know how I can get all the images for each post (all single images / gallery images) and embedded content (youtube embeds, twitter embeds etc) for each post to display below the excerpt ...
0
votes
1answer
22 views

Force authors to use Manual Excerpt in Wordpress and multiple Manual Excerpts

I'm stuck with this thing. I have a multiple author website and I would like to force them to use the Manual Excerpt before they publish. Also, I want to display different custom fields for multiple ...
0
votes
1answer
29 views

Text with special class as excerpt (or exclude special class)

I am new in Wordpress and I am trying to customize my own theme. All my posts are starting with a kind of content that I don't want to become the excerpt. It is kind of header. Is there a way to ...
1
vote
1answer
56 views

Excerpt unwanted text “<!— value: -->”

After I updated my WordPress to 4.2.2 I minified my code : <?php while( $teamGroup->have_posts()) : $teamGroup->the_post(); ?> if (get_the_excerpt()) { ?> <?php echo ...
0
votes
2answers
47 views

Define excerpt length by inserting read more tag

I have a blog where the excerpt length is set to 55 words and after that it automatically inserts the read more link. What I want to do is to manually determine the excerpt length by inserting a read ...
1
vote
1answer
45 views

How to get the excerpts of all children pages

I'm currently trying to get this working: I want to display a list of excerpts of all children pages within my parent site. According to the WP Codex this ist possible through 'get_pages' function ...
0
votes
1answer
80 views

Using Schema with `the_excerpt`

I'm currently developing a WordPress site and want to use Schema, I have been some what successful so far but have now hit a stone wall. I want to use: itemprop="description" to the ...
0
votes
1answer
30 views

getExcerpt: Make ellipsis appear only if character limit is reached

I have a function called getExcerpt that displays the first 140 characters of an excerpt and after that, an ellipsis appears. The call in my template is like this: <?php echo get_excerpt(140); ...
0
votes
1answer
35 views

Private Post BUT Public excerpt on Homepage

I'm building a website for a french school. My problem : part of the website content will be private. Me and some other specified users will publish private posts (posts that only the 600 ...
0
votes
1answer
41 views

Archive page if else not working for post_excerpt and post_content

I want to show the excerpt from a post only if it exists. If it does not I want to show an excerpt of the content text of the post. Here is what I came up with: <?php $my_excerpt = ...
0
votes
0answers
23 views

Get the excerpt length to return attribute

I am writing a shortcode where I would like to set a number to an attribute and then return it in the excerpt. So the shortcode [excerpt_test=10 another_option=something] gets me the excerpt length of ...
0
votes
0answers
56 views

Post List Widget with custom posts and editing the Read More Link

I actually have 2 questions, one related to the Post List Widget, the other concerns the "Read More"-link. ad 1) I want to show a certain category of posts (only one post at a time) in this widget. I ...
2
votes
4answers
1k 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
128 views

Thumbnail + Excerpt = loss in word count

My excerpts are shown using this function <?php function get_the_content_limit_custom_allowedtags() { // Add custom tags to this string return ...
0
votes
2answers
31 views

Manual excerpt being ignored on custom post type

I've set up some custom post types with Pods, but can't seem to get it to display my manual excerpt. It's working fine for my normal posts. I've tried displaying it with echo get_the_excerpt() and ...
0
votes
1answer
332 views

Remove 'read more' link when post is shorter than excerpt

How can I remove the 'read more' link from a post excerpt on a blog/archive page when there is nothing more to read...when the length of the post is shorter than the excerpt?
-3
votes
1answer
60 views

Excerpt length and alignment [duplicate]

I want excerpt to be appear in paragraph, atleast 400 words and words should not be cut at end. This is my website and it should be align left. i want excerpt like single post style. And i dont want ...
0
votes
1answer
2k 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
0answers
21 views

How to auto generate title if no title (empty), using excerpt

I don't know much about php or anything at really. I just moved from tumblr and I have about 800 posts with no post titles which is hurting me. I do know how to place the Excerpt in the tag to ...
0
votes
1answer
31 views

Create page excerpts for landinpage

Forgive my ignorance in wordpress, but I'm not finding the information I am looking for. What I am trying to do is (on an existing site) remove dropdowns from navigation by creating landing pages. In ...
0
votes
1answer
41 views

Get link from wpe_excerpt “read more” and move it

I apologize in advance, I'm no wordpress developer, and am having a difficult time transitioning to cms dev from organic dev, so sorry if this is a simple question or has been asked in different words ...
0
votes
1answer
47 views

Excerpt showing under title in admin columns

I am developing a site for a client, but i am facing a weird issue that is excerpt by default shows under title in admin columns. This is happening for all post types including custom post types. I ...
3
votes
6answers
8k views

How to 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 excerpt_length filter. I can, of course, use some kind of ...
0
votes
1answer
45 views

How to get rid of Ellipsis on Woocommerce [Essential] Theme [closed]

As the picture says I am trying to remove the three dots that follow the end of the blue sentence (shown in the photo). I am also trying to increase the numbers of characters it can reveal. ...
0
votes
1answer
42 views

need help with '… read more' excerpt in functions.php

I have this to generate the link: <a class="view-article" href="' . get_permalink($post->ID) . '">' . __('View Article', 'html5blank') . '</a>'; But I don't want it to open the post ...
0
votes
1answer
24 views

How to Get Shortcode in Excerpt to follow Document Flow

I have the following Post - Excerpt: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sagittis augue sed orci efficitur convallis at sit amet lectus. [my-short-code] I have the ...
0
votes
1answer
62 views

Excerpt function for any content

Is there an excerpt output function in wordpress I can hook into regardless of the field used, rather than just the main content field? I have a CPT using custom fields, and rather than creating a ...
0
votes
0answers
13 views

Excerpt text not showing in meta box, causing flush on update?

I've created a custom post type that supports excerpts. On a post update of this custom post type, the content in the textarea for the "Excerpt" meta box is saved, however it isn't output into the ...
0
votes
1answer
77 views

Replacing the ellipsis with three dots

I'm having an issue with the ellipsis generated by the_excerpt(). I'm using a custom font which doesn't have the ellipsis character, therefore I just have a random character instead of the usual ... ...
0
votes
1answer
165 views

How to Display a Single Post Excerpt

Is it possible to show the excerpt for a known and single post (on the Home Page) while in the loop? I tried each of these and none of them work: <?php echo the_excerpt('10'); ?> <?php echo ...
1
vote
1answer
117 views

Give “Read More” precedence over excerpt() word count

By default, the_excerpt() displays the content before the <!--more-->, trimming it at ~50 words. Is there any way to prevent this trimming functionality when the <!--more--> is present, ...