Tagged Questions

Issues related to WordPress content's excerpts' trimmed version to have a full content link below the excerpt. Or. issues that are specific to wp_editor's tag.

learn more… | top users | synonyms (1)

-1
votes
0answers
16 views

Read More text in search form

I have following code in my search.php.It works perfectly but in the result, it shows some part of the post content and then it shows [...]. I want to add Read More text their.What should I modify in ...
1
vote
1answer
35 views

Redirect to page 2 after comment

I would like to have commenters going to the page 2 of a paginated post. My posts are separated by the <!--more--> tag so i have the www.site.com/post-title and www.site.com/post-title/2/. I ...
1
vote
3answers
60 views

Change behavior of the <!--more--> tag

When I click "read more" at the bottom of one of my website posts, it just loads the rest of the text in the same page and the same section, thus overflowing elements with text and spoiling my layout. ...
0
votes
2answers
33 views

Child Theme's Read More Text

I'm sitting here trying to figure out how to change the Read More text. I'm currently creating a Child Theme of Oxygen and as far as I can tell, they don't have a function to easily change it. I want ...
0
votes
0answers
46 views

How to customize the WordPress excerpt?

I searched the web and the available plugins, but I couldn't find anything that is easy understandable for a noob like me to do the following: I learned how to create a "Continue Reading" link and ...
0
votes
1answer
39 views

Read more link isn't working with custom query

Trying to show the latest post with a featured tag. The query is working fine but it always shows all the content.. not the content before the more link which is all I want. Here is my code. $query ...
1
vote
1answer
205 views

Only show content before more tag

I am using the Siren Template. In homepage.php this code is used to display the portfolio content print_excerpt(200); But I to need show the content only before <!--more--> I have used this: ...
0
votes
1answer
194 views

Custom excerpt showing first paragraph (with HTML formatting)

Can somebody help me how to show the full first paragraph of the post, including all used tags (no stripping)? My code: function new_excerpt_more() { global $post; return '…</p><div ...
1
vote
1answer
51 views

Turning the read more link into a button [closed]

I want to change the read more text to translate it and add a background to it to make it look more like a button. As it is done here: http://unaventananuevayork.com/. I´m using ultimatum theme and ...
0
votes
1answer
43 views

Read More link scrolling page

I'm creating a theme, and I want to prevent the page from being scrolled when a user clicks 'Read More' and the code given in the Wordpress Codex is not helping me at all. My functions.php is exactly ...
0
votes
0answers
95 views

Split the content of single.php by more tag and split texts and photos

I am trying to sprit the_content() by more tag. But I cannnot think of how to write the code for the photos(images) before and after more tag. Photos exists none or more by the post. If anyone know ...
0
votes
2answers
130 views

Using <!--more--> tag to output text in Genesis?

here's what i'm trying to achieve! HTML: some text <!--more--> some text when post is loaded: some text MY TEXT WHICH WAS ADDED TO THE MORE TAG some text on my old WP site, i used this to ...
0
votes
0answers
40 views

get_permalink() echoing about us page link only. how to solve this.?

I am trying to build an own theme for my wordpress site. I am using the following code to get a 3 posts on my home page. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = ...
0
votes
0answers
38 views

more tag not recognized but content is truncating

Specifying truncating posts of category 'news' on homepage. Trim works but not recognizing the <!--more--> code in posts... from homepage. code in homepage ...
-1
votes
1answer
52 views

Read more button not working

I want the "read more" button to appear to truncate the blog posts. I tried using the button insert shortcode < !--more-->", but it's not showing up. I've tried everything I know how... Can ...
0
votes
0answers
61 views

Read More Button does not display

I have read through every existing post on this topic and they are all way too technical for me and I think my problem may be different anyway. So, like many others, I need to truncate my blog posts ...
1
vote
1answer
197 views

new_excerpt_more link not working properly

My "Read More" button is linking to the current page page instead of the excerpt page it is suppose to be linking to. Here is my function in function.php file: function new_excerpt_more($more) { ...
1
vote
1answer
847 views

Woocommerce “read more” instead of “add to cart” [closed]

Right now my shop have this "add to cart" button. How can I replace this with a "read more" or "show more" button? The "read more" button should link to the product page instead of just add it to the ...
0
votes
2answers
2k views

How to remove “read more” link from custom post type excerpt

Is there a way I can add some kind of pre_get_posts() filter to strip out the "read more" link that appears at the end of the_excerpt() for only 1 certain custom post type that I specify? If so, can ...
0
votes
1answer
65 views

<!--more--> quicktag breaking FancyBox plugin on my blog's front page

I use a plugin on my blog that allows the user to click on an image to enlarge it in a pop-up window. My plugin of choice for this task is the FancyBox for WordPress plugin. Most of the time the ...
0
votes
2answers
945 views

How to get the excerpt of a page before more tag?

I have many pages in my wp installation. All I want is to be able to display the excerpt of any page, also on any page (before more tag). How do I go about it? I was fetching the content of the ...
0
votes
1answer
163 views

Can't change excerpt length and more tag

I tried to change the excerpt length and the more tag the way it is described in the codex: function custom_excerpt_length( $length ) { return 10; } add_filter( 'excerpt_length', ...
0
votes
1answer
111 views

Read more doesnt work with query posts

The tite says it all. If I comment out the query_posts it works, if I don't it doesn't. <?php // retrieve one post with an ID of 1 query_posts('p=27'); global $more; $more = 1; ?> <?php ...
0
votes
1answer
52 views

Remove the More Link

I am using the "more" quick tag to cut off articles from non-paying members - as in, they can only read the first few paragraphs or so. My setup works perfectly, and here's a snippet of the code that ...
0
votes
1answer
129 views

Using More Tag in Combination with the_excerpt

I'm not sure if this is even possible, but I thought I would ask anyway. I'm currently using a custom plugin that connects to my forums. If people are in a certain custom usergroup, they can see the ...
0
votes
1answer
126 views

Read more to open external link

I would like to have custom field in post editing area where can be putted the external link. If the link is entered to this field then read more button on homepage would open external link, but if ...
0
votes
2answers
2k views

Custom post types: change “read more” text

I'm developing a website that has a blog section as well as a "free monthly download" section set up as a custom post type. On the home page I'm displaying excerpts with "read more" links for both ...
9
votes
2answers
1k 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 ...
1
vote
1answer
260 views

Extracting gallery images in Wordpress 3.5 on index.php

I'm trying to add a slider on my front blog page for every gallery post, but I have some trouble extracting the images from the post gallery, using the following code: $post_content = ...
0
votes
1answer
86 views

Read more link for blog listing page

I have a blog page setup to list posts. The "Read More" link is added by <?php global $more; $more = 0; the_content('<a href="#" class="button">Read More</a>'); ?> How do ...
1
vote
1answer
49 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 ...
0
votes
1answer
123 views

Automatically adding a link to the next page link before '<!--nextpage-->' tag in posts?

I'm using the following snippet to automatically break a too long post into multiple pages function filter_more_with_nextpage( $content ){ $content = str_replace( '<!--more-->', ...
0
votes
1answer
183 views

Wordpress <!--more--> adding a <br> to my anchor for Read More

When creating a post within my wordpress site (using the editor) I want to add the short code, or even use the link at the top of the editor to do so. The end result is (it does create the excerpt ...
0
votes
3answers
105 views

How to change the text generated by <!--more--> Tag

I've looked and looked, I've read the codex, and tired several things to change this but nothing has worked. I don't know how to indicate what text to use for the Tag I have a theme that is using ...
0
votes
1answer
144 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
124 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 ...
0
votes
1answer
95 views

how to use the_excerpt for two post queries?

I am new to Genesis, i created a child theme it has two post types, one for the THEMES i want to display and other for the PORTFOLIO. both of these are having the_excerpt in their loop, I want to add ...
0
votes
1answer
42 views

more tables created when create a new site

Can someone suggest me an idea on this? I am using Wordpress MU. And as per my requirement every user who register on main site will have a sub-site for them. And it is working correctly. I ...
0
votes
1answer
31 views

Read more content not displayed loops back to blog page

When I post a blog it automatically splits with read more. I want to know how to show the rest of the content. I am using nexus template .
0
votes
1answer
270 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
32 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 ...
-1
votes
1answer
738 views

Add read more to the_content

Hi I have a custom post type that i've truncated on the archives pages using this: function limit_the_content($content){ $word_limit = 35; $words = explode(' ', $content); return implode(' ', ...
0
votes
1answer
174 views

Wrap More Link in Div

I would like to put the "more" link in it's own div and am having some trouble... my current code looks like: the_content("<div class='more'>More &gt;&gt;</div>"); But the ...
0
votes
1answer
161 views

Get the More QuickTag button back

I can't work out how to add the WP quicktag button back into the editor, I have customized the editor as below: function gimko_format_tiny_mce($in) { $in['remove_linebreaks']=false; ...
0
votes
1answer
471 views

Load more posts with multiple queries

I've been developing a theme which uses the load more ajax plugin, everything is setup and working great with the main query. But, once I setup a new query for popular posts, the load more posts ...
0
votes
1answer
189 views

Extra text… after read more tag

I have some <!--more--> tags in my posts and they work...to a degree. Instead of doing a hard break after the <!--more--> tag, it continues on to show some of the next paragraph of text ...
0
votes
1answer
287 views

Remove read more

I'm using 3.5.1 and WP UI plugin. When i create a post, add automatically Read More button. Like this: <p class="wpui-readmore"><a title="Read more from NEWS" ...
2
votes
1answer
105 views

Get the <!--more--> link text

How I can get the link text is using WordPress? By default is something like: Read More <span class="meta-nav">→</span> buy I want to get that value in a variable because some ...
0
votes
2answers
604 views

How to add an excerpt and read more link to a page?

I've a custom/static "homepage.php" in my templates directory at my WordPress. Now I need to show differents "page excerpts" in my homepage, but I don't know what should be do it. At this moment I've ...
1
vote
1answer
324 views

read more doesn't display

I have been reading in the codex about the read more issue. It says when using the_excerpt, the character limit is 55 and then the read more should display which should look like this [...] I am not ...