All Questions
147 questions
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?
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 ...
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(' ', ...
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 >></div>");
But the ...
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['...
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 ...
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 ...
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-...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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!!
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')?
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, ...
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 ...
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
...
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 ...
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&...
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 ...
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 ...
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 ...
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 ...
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 ...
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></...
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?
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 ...
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()?
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....
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 ...
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(); ?>
&...
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]")...
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 ...
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..');?>
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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" ...
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 ...