Excerpts are short texts or summaries

learn more… | top users | synonyms

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 ...
-1
votes
2answers
70 views

Get a raw value of excerpt

I am trying to print the post excerpt using the following code: <?php echo $post->post_excerpt; ?> It works fantastic the only problem is that apparently I get also predefined styles and ...
1
vote
1answer
316 views

How can i display the content in plaintext

i want to display my excerpt in plaintext. How can i do this? This is my Snippet where i display the content: <?php the_content(__( 'Weiterlesen &rsaquo;','okay')); ?> How i change the ...
2
votes
2answers
231 views

Can I have two single.php files and have one display just the post and the other display comments for that specific post?

Obviously, I know I can't have two single.php files. The one with the comments would have to have a different name...maybe single-comments.php or something. I am working on a restaurant reviews site ...
0
votes
2answers
88 views

Creating a function that sanitizes the custom metabox excerpt

I'm still getting to grips with functions and experimenting with different php functions. I've created a function what I want to use in sync with my custom metabox excerpt. It will basically sanitize ...
0
votes
2answers
40 views

Adding […] string for a custom excerpt function

My blog is photo-oriented and the theme has a special excerpt function that, for better or for worse, I'd like to keep using. Anyway, it displays the excerpt and then the "More", but it just ...
0
votes
1answer
49 views

has_excerpt yields true but no post_excerpt when retrieved

echo has_excerpt($att); //Results in True echo $att->post_excerpt; // results in empty. echo $att; // results "782" which is the ID of the attached image. If I use get_post_meta( $att , ...
0
votes
1answer
59 views

Replace text in excerpt

I have a separate theme for my custom WP install that will be use for mobile users, in my case I need to change an html tag in all the excerpt instances but without altering the DB, I found this ...
1
vote
1answer
41 views

read more, even if excerpt not trimmed

I am using the excerpt field (Not the tag, because the excerpt also serves as a lead paragraph). I altered the "more"-link to be an arrow >. function fabs_excerpt_more( $more ) { return ' <a ...
1
vote
0answers
15 views

show excerpt field by default [duplicate]

By default Wordpress hides the excerpt field in the backend. If I set the checkbox on top to true, I guess, that it is just for my personal account. How can I let Wordpress display it by default?
0
votes
1answer
56 views

[Plugin leenk.me]modify get_the_title

I use a plugin called leenk.me to post messages to Facebook based on my posts. One of the custom fields is %TITLE%, which posts the title of my post and the link to my post. if ( false === ...
0
votes
1answer
71 views

Why archive page can't show full content?

I use "insert more tag" insert more tag for a post. It works fine, at front page show excerpt, at single page show full content. but at archive page show excerpt, I want show full content here. Here ...
3
votes
1answer
443 views

Neither the_excerpt() nor the_content() works properly?

I'm wondering what should be used in index.php (post listing page): the_excerpt() or the_content()? Twenty Thirteen uses the_content() but this prints entire content unless <!--more--> exists ...
0
votes
2answers
240 views

How to add excerpt in loop in Twenty Eleven theme?

Here is my loop code located in index.php file. I am using Twenty Eleven theme. <?php if ( have_posts() ) : ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ...
1
vote
1answer
84 views

Custom Excerpts Per Page

I'm trying to set up a specific page to use a specific number of characters in an excerpt. I tried using this code, but it broke the site: function wpse61271_custom_excerpt_length( $length ) { ...
0
votes
2answers
153 views

Add rel=lightbox to custom string

I'm using the following code in my functions.php to show thumbnails in my excerpt: function pietergoosen_kry_eerste_prentjie() { global $post; $first_img = ''; $output = ...
0
votes
1answer
285 views

apply_filters('get_the_content', $content) + Except

I'm using the following function to load my content dynamically: apply_filters('get_the_content', $content) However, I would like to apply an excerpt to this method but the only way I know how to ...
0
votes
1answer
29 views

More link - not text

I am using origin theme. This theme writes dots in post end. In functions.php file I saw line with text: function origin_excerpt_more( $more ) { return '...'; I changed text to More... and ...
0
votes
1answer
55 views

Change image link in excerpt to point to post

By default, images included in an article link to the full-size-image url. Having such an image in an excerpt shown on the start-page, because the more-tag was added after the image (which is ...
0
votes
1answer
29 views

first excerpt fine, subsequent post excerpts shift to the right instead of displaying vertically [closed]

The front page of the blog is intended to show post excerpts and a cropped version of the post image. The first/most recent excerpt is perfect, however the older subsequent excerpts are showing up ...
1
vote
2answers
203 views

Include post title in readmore link?

Trying to include the post title in my excerpt readmore links. I've read the codex on this, but my theme files are much more complicated so I could use a bit of expert help... Extract from ...
0
votes
2answers
53 views

Removing h3s in excerpt output?

I have a custom post type and the content looks something like this: <h3>Description</h3> The Production Assistant works closely with the production team to ensure that our games ship on ...
0
votes
1answer
240 views

Get content or excerpt of top rated votes @GD-Star Rating?

I am using the GD-star Rating plugin and I have a function which outputs the top rated posts. The problem: it won't show the content or the excerpt of those posts. How can I do this? This is the ...
0
votes
1answer
355 views

Display post excerpt instead of content, if available

I'm planning to display the post excerpt instead of the content if available and auto generate excerpt from the content if not available with the function below: <?php the_content( __( 'Continue ...
0
votes
0answers
203 views

Custom excerpt_more filter not working when <!--more--> tag is present

I'm doing this inside Thesis 2, in case that matters. I am using the_excerpt(); on my blog page to get the posts. And I'm using two custom filters: function custom_excerpt_length( $length ) { ...
1
vote
2answers
110 views

How to remove the excerpt in the Dzonia Lite theme

I am using Dzonia Lite theme in my website. My front page shows all the latest posts. I am getting an excerpt at the end of each post. Could anyone suggest me how to remove that excerpt at the end ...
1
vote
1answer
83 views

Word Count Function Preventing Permalink Editing

This code counts the number of words in an excerpt and adds it to the excerpt meta box in the post edit screen: http://snippi.com/s/sn3hk5p However, something about this code is preventing the ...
0
votes
1answer
120 views

multiple excerpt length and styles

I am working on a site, which have many excerpt like text but with different style of read more or click here to read more with different length. is there a way i can make excerpt length according to ...
0
votes
1answer
266 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 ...
0
votes
1answer
112 views

How to display page excerpt with readmore link inside an enhanced widget?

I'm trying to display an excerpt of a page inside an enhanced widget. I have tried the following but it doesn't work: <?php $id = 2550; $post = get_post($id); $content = ...
0
votes
2answers
322 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
155 views

How to hide <pre> and <table> content from auto-generated excerpts?

Auto-generated excerpts just take the first x characters from the post content and cut that off at a certain point. When there is a table or pre element in that part, the excerpt looks rather useless ...
0
votes
1answer
207 views

Custom wp_list_pages() function

I have following code in my .php file: $my_pages = wp_list_pages("title_li=&child_of=".$my_id."&echo=0"); Then I create an <ul> <ul> <?php echo $my_pages; ?> ...
0
votes
0answers
95 views

Wordpress not showing full text in feed

I have been reading around and I cannot figure out why (even with the full text option checked in settings) that my feed will only display excerpts of posts instead of full posts. Any ideas? here is ...
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 ...
0
votes
1answer
109 views

Wordpress truncate posts question (plug-in related)

I'm using a plug-in ("Wordpress plugin random post slider") for Wordpress that pulls a random post from a category, and displays it in a slider for use as a shortcode or php code in a template. I've ...
-1
votes
1answer
47 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
2answers
53 views

the_excerpt not displaying

I have a loop where I display all posts on the site, the problem is that the_excerpt is not being displayed. What am I doing wrong? <?php $all_posts = get_posts(array('numberposts' => ...
0
votes
1answer
57 views

excerpt display same text

I start learning Wordpress from scratch then i decided to put the 5 latest post in sidebar, and the code is alright and when i decided to add description using excerpt, excerpt desplay same text can ...
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
223 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?
0
votes
1answer
52 views

How can I add in post's the text “No content”

How can I add in a post the words "No content available" if nothing is ritten Example: If there is no text added, i want to get "No content available" automated in my template. I want to get for a ...
0
votes
2answers
186 views

truncate post with gallery tag

I have one problem I use this function for truncate posts function truncate_post($amount,$quote_after=false) { $truncate = get_the_content(); $truncate = apply_filters('the_content', $truncate); ...
0
votes
1answer
24 views

Problem with viewing single page correctly. (taken half way down the page on click through)

I have a strange situation occurring with a website that I am currently developing. On the main articles page at http://wptest.lancscps.co.uk/articles/ when the user clicks on the continue reading ...
0
votes
1answer
618 views

Excerpt length: get first paragraph

I'm trying to figure out if it's possible to get an excerpt from each post, grabbing the first paragraph from each one. I'm currently using the ACF plugin and have custom post types and custom fields. ...
0
votes
2answers
293 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
1answer
301 views

get_the_excerpt() with fallback like the_excerpt()

You know when using the_excerpt() and no "excerpt" is set on a post it automatically uses the first 50 words or so. Is the same also possible when using get_the_excerpt() For instance I'm using ...
2
votes
1answer
214 views

Buddypress: Edit activity when new blog post

I am trying to edit the activity on Buddypress (1.7 and running latest Wordpress) for when a new blog post is created. By default it displays the excerpt and shows any attached images, it also strips ...
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.: ...
2
votes
1answer
157 views

First letter cutting off in excerpt

I'm using a plugin to allow for dropcaps for the first letter in my Wordpress theme. However, the excerpt is cutting off the first letter. For example, a sentence like: "This is a Wordpress install" ...