Enabling Related Posts for Clear & Bold single post style

Last Updated on

Recommended posts section is disabled for Clear and Bold style of a single blog post.
But you can activate them commenting out a line in your child theme. So, in order to do that:

1
Enable your child theme.
2
Copy jupiter/views/singular/wp-single.php to jupiter-child/views/singular/wp-single.php.

Directory structure should be the same as in the parent theme.

3
Edit jupiter-child/views/singular/wp-single.php in lines 41-43:
if ( mk_get_blog_single_style() !== 'bold' ) {
  mk_get_view( 'blog/components', 'blog-similar-posts' ); 
 }


to:

//if ( mk_get_blog_single_style() !== 'bold' ) {
  mk_get_view( 'blog/components', 'blog-similar-posts' ); 
 //}

This will show the related posts in Clear & Bold style.

Was this helpful?

Related Topics

Previous Article:
Next Article:

Can't find what you're looking for?

Open New Ticket