Hello ameliehub,
Refer following link https://en.support.wordpress.com/more-tag/
Hope this will helps you.
Thanks.
Thanks for the link but I am using Elementor and not wordpress Editor.
Is there an other way to include this Read More
Thanks for your help
Hello,
Can you share your site link or a screenshot so that I can understand exactly where do you want to add read more button?
Here is a link of a test website I’m working on:
https://www.designerslinen.com/bog2/
I’ve included a Read more button manually in the wordpress excerpt of each post and customized it with CSS (Post 7 and 6)
As for the other post it’s just normal configuration.
The theme OceanWP does not include automatically this read more button? I can’t find it in the customizer.
Thanks a lot
Hi,
If you are using the Thumbnail entry style for the blog entry. Please follow the below steps.
Step 1 – Download OceanWP Child theme, install and activate it. Here is the link for child theme and documentation how to properly install it – OceanWP Child Theme
Step 2 – Open the functions.php file of the child theme and add the code below.
if(!function_exists('read_more_on_thumbnail')) {
function read_more_on_thumbnail() {
$style = get_theme_mod( 'ocean_blog_style', 'large-entry' );
if( 'thumbnail-entry' == $style ) {
return get_template_part( 'partials/entry/readmore' );
}
}
add_action('ocean_after_blog_entry_content', 'read_more_on_thumbnail');
}
Step 3 – Add the below CSS code in the Customize > Custom CSS section to style the continue link.
.blog-entry.thumbnail-entry .blog-entry-readmore a {
display: inline-block;
font-size: 12px;
line-height: 1.2;
padding-bottom: 3px;
border-bottom: 1px solid;
text-transform: uppercase;
padding-bottom:7px;
margin-bottom:10px;
}
.blog-entry.thumbnail-entry .blog-entry-readmore i.fa.fa-angle-right {
margin-left:5px;
}
Hope it helps you. Let me know if you need any other help.
Thanks for your reply but their is an error message when pasting the if statment in functions.php : Syntax error, unexpected T-FUNCTION
Sorry about that. Copyed the code from here and it worked fine
Thanks very much for your quick replies and help