All Questions
147 questions
1
vote
1
answer
209
views
Only show read more text when when wp:post-excerpt meets excerptLength
NOTE: The issue I'm encountering is specific to Block Themes; I understand how to filter the text returned from the_excerpt in a Classic Theme.
What I would like to only show read more text when when ...
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 ...
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
1
answer
151
views
What code in the WP Sinatra theme generates the words “Read More?”
I’m pulling my hair out. I have searched and searched for a way to remove the “Read More” link from my posts (full post, not excerpt). I’ve tried to add the filter below (and other pieces of code in ...
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
1
answer
68
views
Filter Post Title without affecting screen-reader-text
Let's consider this code:
add_filter('the_title', static function ($title) {
return $title. '-boom';
});
Works fine, and adds '-boom' near all the titles.
But, I also noticed that in some themes (...
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
177
views
Why does modifying the "read more" link remove the link class?
I'm using the following code (found on the WordPress.org site) to modify my (more…) text:
//Modify "read more" text
function modify_read_more_link() {
return '<a class="more-link&...
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, ...
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 ...
1
vote
1
answer
49
views
Exclude read more in the_excerpt [closed]
I want to remove "read more" in the next code:
<?php the_excerpt(); ?>
Is it possible to do in the PHP line directly or I need a filter in funtions.php? I am want to do one by one in PHP query ...
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', '...
1
vote
1
answer
208
views
How to use read more text
Is there a way to use Wordpress' read more text?
As you can customize the read more text, it would be nice to be able to reuse that text elsewhere instead of hard coding it.
My goal is to use the ...
0
votes
1
answer
470
views
How to use limit post content on archive page in WordPress?
I am using the advanced_ads plugin on my WordPress website which allows me to create different types of ads including image ad, rich content ad etc. The plugin allows shortcodes usage for showing ads ...
1
vote
1
answer
200
views
Excerpt using Read More Tag
How do I get the excerpt of a post that is using a Read More Tag? The documentation states that I should use the the_content function, but I don't want that. I just want the text. Furthermore, I don't ...
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
128
views
Media is not showing on post page
I'm building a wordpress website based on the theme "Bulk Shop".
Most of the content will be added as "post" and will be categorized into "next show", "last show", "music", "videos", etc.
https://...
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
76
views
how can I change the read more link destinations and direct all to the same page?
I have 4 read more urls in my woocommerce product listing and i would like all to be directed to a custom page instead of the product info page - preferably using functions.php
0
votes
1
answer
971
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 ...
1
vote
1
answer
3k
views
How to use "show more" on a page or post to show and hide content
What if you want to use the built-in "WYSIWYG"-button show more, to hide and show text within a post or page?
I started out with misunderstanding the function. I thought the function was actually ...
1
vote
1
answer
1k
views
How to delete read more span on single post view?
How could I complete delete following line on single post view?
<p><span id="more-XXX"></span></p>
I need to delete whole span tag. Is there any other option than ...
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
2
answers
1k
views
How can I display "read more" without any other post text?
I have created the Read more in my posts, but when I add the php tag
<?php the_content(); ?>
...it shows the post content with read more button. I only want to display the button, with no ...
0
votes
2
answers
91
views
More tag locked in Hemingway
I'm currently using the Hemingway theme as seen here:
gamingprofessors.com
Currently this theme provides a pleasing tag when generated, however I can't change what the tag reads as. At least ...
0
votes
1
answer
376
views
Bad "read more" behavior, trying to fix by inserting tag
Seems that others would have had this same problem with WordPress "Read More" but looking through previous questions with that tag did not help, so posting here.
As a new self-hosted WordPress user, ...
0
votes
1
answer
532
views
after setup_postdata, the_content() only displays text before the read more tag
I'm building a traveling-page and i need to add the description of a train or a ship into the description of a trip. My code looks like this:
<?php if (!empty(rwmb_meta("train_ship"))) { ?>
...
0
votes
1
answer
339
views
Can't Get the Read More function to work in the child theme
According to this page in the codex, https://codex.wordpress.org/Customizing_the_Read_More, I just need to add a certain function to the functions.php file to get it to work. I'm doing so in a child ...
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....
1
vote
2
answers
3k
views
Read more link to external webpage
is it possible for the "Read More" buttons in front page which normally leads to the post , to change it to lead to an external webpage. So one can lead to post and the other can lead to external ...
-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 ...
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 ...
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 ...
2
votes
2
answers
4k
views
Read more on the post page itself
I know how to use read more technique to only view an excerpt of the topic on the homepage and click on the read more icon to open the post and view the full content.
Can we do it on the post itself?...
0
votes
1
answer
59
views
Read More showing only on first post
I created a new menu item which only pulls posts categorized “Webinars” but when I visit the Webinar category page, only the first post excerpt gets a “Read More” button.
What do I have to do so that ...
1
vote
1
answer
2k
views
Do not show excerpt in post content
I need to keep showing excerpt in list of articles on my index, while, not showing it on single post page.
I am using more tag to manually define excerpts.
Is there a way to trim excerpt from 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
5k
views
How to add a “Read more” button to my blog?
I have an HTML template which I convert to a Wordpress theme, but i can't add a "Read more" button to the home page.
I use the following code in functions.php:
function the_content_limit($max_char, $...
2
votes
1
answer
188
views
Exclude filter on front page
I am using this code in functions.php to append a button for link to a post.
function new_excerpt_more($more) {
global $post;
return '<a class="excerpt-readmore" href="'. get_permalink($post-&...
1
vote
1
answer
617
views
How to move the the_excerpt's read more link to another div
I intend to show an excerpt of each post on my homepage. I use the_excerpt() in my post.php to show an excerpt of each post with a read more button below it. The problem is that I need to have the ...
0
votes
1
answer
2k
views
Read More link, not visible on home page
I'm running the Nisarg theme on Wordpress for my blog:
www.christianvalour.com
I have inserted the 'read more' tag into my first two posts, however the 'read more' link does not appear in the ...
0
votes
2
answers
589
views
Exclude the content before "the more" on single posts
I have a post with text then "the more" then text after that.
The teaser before the more displays on the archive page, but I don't want to display it on my single post page, only the text after the ...
0
votes
2
answers
2k
views
How to remove #more... from the post "More" link?
When you insert the "More" link into a post using the "Insert More Break" toolbar icon, the url that is generated is appended with "#more-". Thus when you click that link, you get the full post (via ...
6
votes
1
answer
2k
views
Hide/show content starting in the middle of a paragraph
I need to be able to hide/show arbitrary content (paragraphs, lists, maybe pictures) based on a user clicking a link. This is easy enough, but I am running into a lot of problems trying to add this in ...
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): ...