All Questions
34 questions with no upvoted or accepted answers
1
vote
1
answer
211
views
How to put "Read more" link in Custom Excerpt inside p tag?
I have a piece of code that extracts the first paragraph from the post, enclosed in a p tag.
I want to add a "Read more" link inside the p tag referring to "the full post".
Please ...
1
vote
0
answers
803
views
WP Bakery Load More Button loads the same posts
I'm trying to feed posts in my blog page with a WP bakery widget. I have 8 posts published, but when I hit load more button it loads first 3 posts instead of those in the end. Attaching screenshots, ...
1
vote
1
answer
135
views
Any Ideas for Including "More Tag" with get_pages($args)?
I have run into an interesting issue.
My intention is to have a front-page.php that displays a list of pages, with titles and content (some of which may be truncated with tag.
I have augmented the ...
1
vote
1
answer
151
views
Change Read More in Child theme
Im like 99% done with my multisite.
The only thing left to do is to change the read more link on the child theme. But I can't get it done.
Main site (Dutch): www.jeroenbrugman.com
2nd site(english): ...
1
vote
0
answers
3k
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 ...
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
0
answers
131
views
“Continue reading” not on some posts, full excerpts not shown
Crossposted from my topic on wordpress.org forum since I don't seem to be getting any bites
Hi there!
I’m fairly new to WordPress, my website is https://slasheethecow.com and I’m trying to be a ...
0
votes
0
answers
22
views
Read more block is appending /#more-{post_id} to the link
When I put a Read More block, and my post link for instance is http://admin.com/jobs, by clicking on Read More, it will go to http://admin.com/jobs/#more-63. 63 is the post id.
How can I prevent this ...
0
votes
0
answers
52
views
Show content before more block
I'm pretty new to wordpress, I'm making an API call so it returns a certain number of posts with the same category, the meta fields and thumbnails. How can I return only the content before the READ ...
0
votes
1
answer
2k
views
How to change "Read More" text?
I'm using blogstart wordpress theme and I would like to change "Read more" text to something similar to language than I'm using. How can I do that? I already tried to paste code below to ...
0
votes
1
answer
265
views
How to enable read more by default using jquery
I have a question and answer website and using a custom wordpress theme, which has the option to enable read more link using jquery. When i click on read more link, it expands full content of the post ...
0
votes
2
answers
2k
views
Changing text for "Continue reading..." translation
I am not satisfied with the read more text in Twenty Fifteen (I am using the French translation). In English it says "Continue reading", and in French it is very similar, but it didn't work well with ...
0
votes
1
answer
38
views
"read more" redirects to the wrong page
I would appreciate it if someone can help me out. I am having issues with my blog posts. I had someone customize by site but they made a mistake with the blog posts. I am no longer working with them.
...
0
votes
1
answer
30
views
How to automatically add Read more section after the first paragraphe in post?
When copywrighter publish an article, sometimes they forget to add the section Read more, and I have to do it manually. Is there a way to add it automatically in the article ?
Thank you very much.
0
votes
1
answer
200
views
the_excerpt() is not trimming at <!--more-->
I am using the following code:
<?php the_excerpt(); ?>
This trims after 50 ish words, way after the <!--more--> I added in the post's source.
This, instead, correctly trims out the ...
0
votes
1
answer
124
views
Cannot figure out how to add a read more link to a manual excerpt. Please help
Nothing I do works. I am using a manual excerpt and when I paste this code into functions.php the words read more appear but they are not a link. Why is this?
add_filter( 'wp_trim_excerpt', '...
0
votes
1
answer
1k
views
Remove Default Read More Link in Manual Excerpt RSS Feed
I have a site that displays manual excerpts on the blog post page: https://teralynnchilds.com/blog. I added a custom read more link using the snippet found here: https://wpmayor.com/add-read-link-...
0
votes
1
answer
81
views
create a read more link for post and archives
I am building a custom theme. But my theme doesn't have read more button below posts. i don't know how to do that.
Can anyone please tell me how to get the read more link below the posts with excerpt ...
0
votes
1
answer
972
views
How can I hide/show text only for mobile users?
I have text content on a page that leads to too much scrolling on mobile devices. I'd prefer to avoid having separate pages for mobile/desktop. Ideally, an editor would add a shortcode around certain ...
0
votes
0
answers
27
views
Read more opens attachment
I'd like the read more button to open the file attached to the post, if there is an attachment. I found this post which I think does what I want, and I've done step 1. I'm a beginner with php so I ...
0
votes
1
answer
44
views
Popup image from text
I'm a newbie and I've been trying to figure out how can I get an image popup from a read more button. I've done this:
<p class="p1">
<a class="btn right ngg-fancybox" href="http://www....
0
votes
0
answers
285
views
How to replace a specific html tag in bulk?
I imported a Blogger XML to WordPress, but Blogger converts the tag <!--more--> into <a name='more'></a>, which is something that WordPress doesn't recognize as it should (I lost the ...
0
votes
2
answers
243
views
Read More in the actual excerpt
I'm using WP version 4.4.4. I have some posts where it has a continue reading button and link to the actual excerpt. My problem is the excerpt also has a continue reading button. Here is my code at ...
0
votes
1
answer
252
views
Put teaser content, more-link and full content in different divs if existing... Possible?
im working on a flip-card template and have a problem.
<div class="card" id="card-<?php the_ID(); ?>">
<div class="front">
<div class="card-headline"><?php ...
0
votes
1
answer
83
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
1
answer
66
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
2
answers
509
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 =...
0
votes
1
answer
540
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
1
answer
125
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 ...
0
votes
1
answer
229
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
1
answer
245
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
1
answer
58
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 .
-1
votes
1
answer
6k
views
why more tag is not working in my wordpress site
As you can see in the below screenshot, I had insert the <!--more--> tag after 1st paragraph in this article https://igntimes.com/20-amazing-youtube-tricks-and-tips/
But it is not working, any ...