Archived topic
Delete Read More and Show the Whole Post
9 replies · Started by John on June 26, 2019
How do I remove the Read More at the bottom of my posts?
I also want this removed when a user clicks on a category.
I want the WHOLE post or page to show up all the time, everywhere, including for searches.
I used the Loop.php in other versions, but that isn't here.
What code do I use and where do I put it?
Hi there,
Have you tried changing the content type to Full Content?
https://docs.generatepress.com/article/blog-content-layout/#archives
Let me know :)
Where is that area located? I've never seen that.
Nevermind, I found it. Works great. Thanks.
Glad you did!
No problem :)
Oh wait...It's working for everything except the "Searches."
Is there a way to make the full post show up when searches are done?
See the first snippet here:
https://docs.generatepress.com/article/generate_show_excerpt/#examples
Adding PHP: https://docs.generatepress.com/article/adding-php/
It's working on one of my blogs, but not working on the other one. I did full content and put in the PHP in the functions.php file.
add_filter( 'generate_show_excerpt','tu_full_post_search' );
function tu_full_post_search( $show_excerpt )
{
if ( is_search() )
return false;
return $show_excerpt;
}
Can you link me to the site that's not working?