Excerpts are short texts or summaries

learn more… | top users | synonyms

0
votes
1answer
18 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 ...
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 ...
0
votes
1answer
27 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. ...
1
vote
2answers
67 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
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
57 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
52 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
31 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
58 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 ...
0
votes
2answers
32 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 ...
-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
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
42 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
48 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 ...
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
14 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
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
1answer
78 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
167 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 ...
0
votes
0answers
41 views

Adding a link from post excerpt to full post — irrespective of excerpt length

On an archive/blog page, I would like to automatically display a link from the post excerpt to its corresponding full post -- even if the post has an excerpt but the excerpt is shorter than the ...
0
votes
1answer
33 views

Remove “[ ]” from excerpt in highlight search term

I am using highlight search terms in my wordpress website. In my search result, the last character of the excerpt is as below: This is the excerpt.[...] I have the code in my functions.php which ...
6
votes
2answers
326 views

How to force excerpts / teasers in the loop

When I'm in "the loop" (archive pages etc.) how do I force teasers / excerpts for all articles, regardless of whether they contain the <!--more--> tag or not? Details: I'm starting off of the ...
0
votes
1answer
120 views

the_post() within switch_to_blog() altering my excerpt

I have a strange problem I'm facing when using WP_Query with multisite in a plugin I'm writing which hooks into add_meta_boxes. I'm wanting to display all post titles in a dropdown in a meta box. ...
0
votes
0answers
24 views

How to remove programmatically added content from excerpt?

I am using the Bottom of every post plugin located here to add static content to the end of every post. The plugin is working brilliantly, except the content is being added to the excerpt also. ...
4
votes
2answers
49 views

Check if the user has explicitly set an excerpt

Is there a way for me to check if the user has explicitly set an excerpt? I need to call the excerpt only if they've specified something in the excerpt field, and not an automatically shortened ...
0
votes
1answer
131 views

Creating excerpt with simple “Read more” link

I've read dozens of articles on how to create an excerpt but nothing has worked so far. For testing reasons I use the "Twenty Thirteen" theme, although I developed a child template. In the index.php ...
0
votes
0answers
20 views

remove_filter not working as expected

I'm using the social buzz plugin. There's a line that says add_filter( 'the_content', 'sbp_5e7bb6' ); This causes the plugin code to be visible when I call get_the_excerpt so what I have done is ...
0
votes
1answer
181 views

Excert ( the_excerpt(); ) Not working properly

I am creating custom theme, I have included excerpt in the index file <article class="post"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ...
0
votes
1answer
94 views

The excerpt doesn't add Read more

I am confused about the behaviour of the_excerpt() and get_the_excerpt(). My objective is to have a manual excerpt and display a continue reading. I went through this article, and apparently ...
0
votes
2answers
117 views

Excerpt length: get 2 paragraphs

I have successfully implemented a solution from WPSE that trims the except to the first paragraph, but I'd like to change that to trim after the second paragraph instead. There's a link floating ...
0
votes
0answers
76 views

Protected Excerpt Text

On this page of the WordPress Codex it says: Protected Excerpt Text The default Excerpt of a password-protected post is: "There is no excerpt because this is a protected post." This code ...
0
votes
0answers
80 views

Excerpt content

I want to display the title with content in result in search engine using excerpt. I see an answer for excerpt, See this, but I'm confuse where do I place this code... in function or ...
0
votes
1answer
152 views

Make the title and […] clickable in result search

I have search engine in my site. But when I try to search something, like "loan", the title is not clickable and the other contents are not displaying How to display the content and the title make as ...
0
votes
1answer
72 views

How can I show post excerpts on the tags page?

I want to see excerpts on my tags page (e.g., http://domain.com/wp/?tag=psychotherapy), rather than the full length post. How do I do this? I see the following in the tags.php page for my theme: ...