Hello,
I wanted to make the “Related Post” area in “masonry Grid” instead of the carousel. On my screenshots, you can see that it’s showing carousel now, but I want to make it just masonry Grid with the rest of the post in that category.
On the theme single.php single post I see this code, but it’s only for the carousel.
<?php
if ( woodmart_get_opt( ‘blog_related_posts’ ) ) {
$args = woodmart_get_related_posts_args( $post->ID );
$query = new WP_Query( $args );
if( function_exists( ‘woodmart_generate_posts_slider’ ) ) echo woodmart_generate_posts_slider(array(
‘title’ => esc_html__(‘Related Posts’, ‘woodmart’),
‘blog_design’ => ‘carousel’,
‘blog_carousel_design’ => ‘masonry’,
‘el_class’ => ‘related-posts-slider’,
‘slides_per_view’ => 3
), $query);
}
?>
Can you send me the codes or how to do that in the masonry Grid? Not seeing any setting on the theme also.
Thank you
Attachments:
You must be
logged in to view attached files.