read more button even if there is no Excerpt
I was wondering if it is possible to add a read more button even if the post has no excerpt. I have added custom fields to a particular type of post so all of them have additional information but not necessarily a manual excerpt.
I need all the posts to display the button when the search results are displayed.
<!--more-->tag at the end of each post. This should add a read more button at the end of excerpts eventhough there is no more content.
Make sure you’ve selected “Show more button for Manual Excerpt” in Graphene Options –> Display –> Excerpt Display Options
That does not work. I don’t know why
Is there a way of doing it with a function on the child theme functions.php?
something like this
$more_link_text = __( 'Ver mÃ¡s Â»', 'graphene' );
return '</p><p><a href="'.get_permalink().'">'.$more_link_text.'</a>';
maybe conditioned to a particular type of post?
Thanks so much
I have this post type, named “sm-location”
and there are 31500 posts.
I need them all to be listed with a “Continue reading” button
thats why I thought maybe it could be done with a funtion in the child theme that would affect all of these types of post. even if they have no excerpt.Admin
You must be logged in to reply to this topic.