Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
672 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?
Commandrea's user avatar
0 votes
1 answer
54 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 ...
Jonathan Beech's user avatar
0 votes
1 answer
4k 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(' ', ...
user1676224's user avatar
0 votes
1 answer
531 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 ...
Josh Rodgers's user avatar
  • 1,173
0 votes
1 answer
430 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; $in['...
Brett's user avatar
  • 414
1 vote
1 answer
2k 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 ...
user156's user avatar
  • 193
0 votes
1 answer
902 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 ...
Brian's user avatar
  • 155
0 votes
1 answer
1k 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" href="http://mysite.com/my-...
Karmacoma's user avatar
  • 117
2 votes
1 answer
185 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 ...
leticia's user avatar
  • 263
0 votes
2 answers
1k 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 ...
Diego Castro's user avatar
1 vote
1 answer
2k 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 ...
Jamie's user avatar
  • 1,363
0 votes
1 answer
4k views

"Read More" link not displaying

I am using the Sideshow theme which I received as part of a bundle hence I don't receive any support from Themezilla themselves. I am trying to insert a "Read more" link when I insert a "More" tag. I ...
Clinton Green's user avatar
0 votes
1 answer
682 views

Wordpress excerpt for specific posts in category

Is there any way to create "more" link for excerpt only for posts in a specific category? For example only posts in "news" category should have a more link. If there's no option for that, maybe posts ...
cachaito's user avatar
  • 165
4 votes
1 answer
964 views

<!--More--> not functioning

I have the following blog template with the the_content outputted. I have placed <!--more--> However it does not appear to be functioning, http://www.milknhny.co.uk/DVine/?page_id=19 Is there ...
Kirsty Marks's user avatar
0 votes
1 answer
235 views

Plugin:Read More Right Here , How to change the name (more...) to Read More

Hi all I am using Read More Right Here Plugin when i using the <!--more--> Tag it appears like (more...) I need to know how to change the (more...) to Read More` Anyone Much appreciated!!
Vignesh Pichamani's user avatar
0 votes
2 answers
2k views

How to wrap "Read More" link in a DIV tag?

Can someone tell me how to wrap the Read More anchor (that displays after an excerpt) with DIV tags using get_the_content('Read More')?
user1462's user avatar
  • 1,304
1 vote
1 answer
146 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, ...
aendra's user avatar
  • 1,045
1 vote
0 answers
385 views

Login after "Read More" then return to article

When a user clicks on an article to "read more" and is then prompted to log in with user name and password, We would like the user to be returned to the article directly instead of being returned to ...
MB34's user avatar
  • 111
0 votes
1 answer
2k views

Remove Content after <!--more-> tags

Here with the structure of content in text editor Content Before <!--more-> Content After I wanted to remove the "Content Before" in my single post so instead I have this Content Before ...
idontknowhow's user avatar
2 votes
1 answer
280 views

Modify the_content after the more tag

I have created a custom plugin that pulls video and images out of a post and puts them into a nicely formatted set of galleries. The only problem is that the plugin doesn't allow me to put a video or ...
Hunter Nelson's user avatar
4 votes
4 answers
10k views

Modify 'Read more' link adding a new class

I want to add a class to the 'Read more' link. Actually I have this: <?php the_content( 'Read more...' ); ?> Which outputs: <a href="...?p=14#more-14" class="more-link">Read more…</a&...
Alvaro's user avatar
  • 2,593
2 votes
2 answers
2k views

Different 'read more' links

Is there an easy way to add another 'read more' link? I'm using the standard 'continue reading' link for some posts but I also want to use a different text like 'more info' for other posts. Can I do ...
George Grigorita's user avatar
0 votes
2 answers
2k views

get_posts displaying wrong permalink for "continue reading" link

I lifted the "continue reading" link functions from the Twenty Eleven theme and for the most part, it is working (works in RSS feeds). I created a shortcode to display the latest post on the front ...
gavsiu's user avatar
  • 213
1 vote
1 answer
2k views

how to make <!--more--> function in RSS feed like it does in posts

I'm dealing with an RSS feed problem that is making me crazy. I have begun manually incorporating in my recent blog posts in order to cut off the post at the desired spot and entice people to click ...
kate's user avatar
  • 11
0 votes
2 answers
7k views

Advanced Custom Fields WYSIWYG More tag

Before describing the problem, let me first tell that I have already searched on google, also read the ACF documentation, support, even asked on their support forum but it's hard to get any kind of ...
Jaypee's user avatar
  • 337
0 votes
1 answer
7k views

how can I add a "read more" tag directly in the template?

how can I add a <--more--> tag directly in the template? I mean, the exact php code to use in a template for that shortcode. I need it for a script that makes use of that shortcode to hide content ...
Devin's user avatar
  • 298
0 votes
1 answer
309 views

Best way to modify content from index.php to single.php?

My blog has simple posts including a youtube videos. For example: <iframe width="460" height="342" src="http://www.youtube.com/embed/PkxteedBq9g?rel=0" frameborder="0" allowfullscreen></...
Pedro P's user avatar
0 votes
1 answer
78 views

how to show content of latest blog post with read more link?

I want to show the latest blog post content in my side bar with a read more link. So how will I do this?
Ahmad's user avatar
  • 345
0 votes
1 answer
110 views

Append Second Link to Read More

I'm looking for a way to filter the "Read More" link so I can append a second link and text. I know how to filter the text but not the entire output, eg: Standard post excerpt before the more ...
hhins's user avatar
  • 3
8 votes
4 answers
6k views

Is there a has_more_tag() method or equivalent?

I need to determine if the current post has a "more" tag. I'm currently using $pos=strpos($post->post_content, '<!--more-->'); Am I missing a built in method similar to has_excerpt()?
N2Mystic's user avatar
  • 3,193
0 votes
1 answer
488 views

Search results highlight breaks my read more link

I am attempting to add highlighting to my search results in the theme that I am coding. I found the way to do it on this thread: How to highlight search terms without plugin and it worked wonderfully....
Anna's user avatar
  • 3
1 vote
2 answers
3k views

Add a <!--more--> tag to a custom post type

I'm building a portfolio site for a friend and he's got three seperate photo packages and may want to add more in the future, so I've created a custom post type called Packages so that he can add as ...
Evie Milo's user avatar
0 votes
2 answers
582 views

<!--more--> help

I have a custom post type called "Blog", in my templates I looping over the blog type and doing the following, <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> &...
sico87's user avatar
  • 209
0 votes
1 answer
235 views

Prepending character(s) to a custom <!--more--> tag title?

I'm hacking around with a blog using Cordobo Green Park and I've noticed when I specify a custom title, instead of it beginning with a » symbol (as it does for the standard "» Read more: [POSTTITLE]")...
Chris Woods's user avatar
4 votes
2 answers
3k views

Style the text before <!--more--> in single.php

I'd like to style differently the content before the link, but in single.php. To be more specific, all my posts on the homepage only have a summary, and the rest of the text is cut thanks to the use ...
koskoz's user avatar
  • 245
1 vote
1 answer
1k views

Read More is not working in query posts

I have Query_posts in my page. the posts have tags to separate for read more, But while doing query posts it is pulling all content for <?php the_content('read more..');?>
Yalamber's user avatar
  • 182
1 vote
3 answers
643 views

"more" tag doesn't appear when browsing category achives or search

Almost finished my website, but ran into one problem: When you view the archive of a category or do a search, the "more" (or "continue reading") link/ tag doesn't appear. It words fine on the homepage....
Will Richardson's user avatar
0 votes
2 answers
237 views

Excerpt Is Disappeared

My theme automatically assign before of <!--more--> tags, as excerpt.And showing excerpt on home page. Now i want to add Google Adsense after <!-- more --> code. I'm wrote this function ...
Eray's user avatar
  • 445
1 vote
1 answer
6k views

How to create a load more post entries like Twitter?

Hey guys, last days i have been trying to figure out how to do that. As read on http://net.tutsplus.com/tutorials/javascript-ajax/create-a-twitter-like-load-more-widget/ but inside wordpress. And i ...
Vitor Argos's user avatar
0 votes
2 answers
318 views

Category articles "read more" links not active

If I click on a category in my Wordpress blog, it displays an excerpt of all articles in the category, and finishes with a word that says "continue" which has no hyperlink. Example here. How do I ...
Steve's user avatar
  • 1,747
0 votes
3 answers
822 views

More quicktag driving me nuts

I'm a bit confused. I have my own custom post type - products. I'm listing all the products on page-products.php. Every product has also it's own page - single-products.php. And the big and ...
Wordpressor's user avatar
  • 5,051
0 votes
2 answers
5k views

Read more on pages WordPress

I know that this topic is already on the Forum but the solution simply don't work for me. I have a few pages where I would like to split content using read more. So I have done recommended hack by ...
Dom's user avatar
  • 101
0 votes
3 answers
2k views

Text after more tag in posts

Hey, is it possible that i can put a chunk of code somewhere and it will show up after the more tag seperator but within the post ? I mean if i put more seperator after first paragraph then on post ...
Ayaz Malik's user avatar
0 votes
2 answers
1k views

More tag - how do I remove preceding <br>?

Can anyone advise on how I can remove the preceding <br> tag when a post's "read more..." tag is generated? Any advice appreciated! This is the code that's generated - <p>blah blah blah ...
user avatar
2 votes
2 answers
3k views

"More" span making trouble

I've created my own custom post type using this tutorial: http://thinkvitamin.com/code/create-your-first-wordpress-custom-post-type/ Everything works fine, but I'm having major problem with "Read ...
Wordpressor's user avatar
  • 5,051
1 vote
2 answers
2k views

How to make <!--more--> a button?

There is plenty of information on how to make the Read More function display different text in the Codex but what kind of filter would need to be used to make it display <button class="readmorebtn" ...
MTT's user avatar
  • 3,576
2 votes
3 answers
3k views

How to only show the first X words (from each post) on the home page?

How can you have it so that the site's home page will only show the first X (let's say 300) words of the post? But without using "more" tag, or hand filled excerpts? I am looking for a plugin/hack ...
Tal Galili's user avatar
  • 1,833

1 2
3