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)

0
votes
0answers
45 views

Add Read More Tag to a post content (Single.php)

I have wordpress custom theme made from scratch including: header.php, footer.php, single.php, index.php, functions.php For Listing the blog list i used index.php with excerpt and read more link to ...
0
votes
2answers
23 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 ...
0
votes
1answer
25 views

How to customize 'read more'

I'm trying to add a button to every post excerpt. But I get the button without href: function new_excerpt_more( $more ) { global $post; return "<p><a href='" ...
0
votes
1answer
33 views

How to get sort content by page id?

I wont to get short content in my footer area. So, I write my code as follow: $page = get_page_by_title( 'About us' ); $content = apply_filters('the_content', $page->post_content); ?> ...
0
votes
2answers
78 views

Different read-more link for each custom post type [closed]

Trying to make a custom 'read more' link for different custom post types. Tried this code but does not work as expected. Fairly certain the if/else logic is amiss. Using a Genesis theme if that ...
0
votes
1answer
39 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 ...
2
votes
2answers
258 views

Word limit in post_content after more tag

I am using the following code to hide the teaser and show content only after more tag in loop: <?php $after_more = explode( '<!--more-->', $post->post_content ); if( ...
0
votes
1answer
28 views

“Read More” button displays on individual Posts

http://blog.swamimamiteas.com The "Read More" button works fine here...it redirects to the Post. But...it shows up again on the individual Posts. And it doesn't even do anything when you click it. ...
0
votes
1answer
16 views

get “read more” with custom DB query like you would with WP Query

I am using a custom database query to fetch posts. In the post I have a break tag, which is displayed as <!--more--> in the database wp_posts table, but I can't get it to output like I would if ...
1
vote
1answer
98 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
79 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
122 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
58 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
127 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
832 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
548 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
95 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
97 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
1answer
756 views

Auto insert More tags in all posts

I have a theme for my mobile site that requires the <!--more--> tag in my posts for it to display an excerpt of my post's content. I've got over 2000 posts already, and its going to take ...
0
votes
2answers
194 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 ...
-1
votes
1answer
91 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
71 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
341 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
1k 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
3k 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
71 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
1k 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
204 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
148 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
56 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
164 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
196 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
4k 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
2k 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
324 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
93 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
55 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
168 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
259 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
129 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
173 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
147 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
111 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
46 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
36 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
323 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
39 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
991 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
244 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
200 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; ...