Enabling Related Posts for Clear & Bold single post style

Updated on December 31, 2018

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:

1Enable your child theme.
2Copy 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.

3Edit 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.

Did this answer your question?