Support » Plugin: Simple Masonry Layout » posts from selected category

  • Resolved acertmsweeper


    Hello WP friends 🙂
    I have question/need help with masonry.
    On home page I have latest posts from all categories.
    What I need is to show posts from the selected category.
    This is how look my code for showing posts, what I have to change to view posts only form one category?
    Any help?

                <div class="row ep-masonry">
    			/* Start the Loop */
    			while ( have_posts() ) : the_post();
    				 * Include the Post-Format-specific template for the content.
    				 * If you want to override this in a child theme, then include a file
    				 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    				get_template_part( 'template-parts/content', get_post_format() );

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tako


    On Homepage Editor, please use the Shortcode [simple_masonry sm_category_name="catergory_slug"].This will help you.

    Thank you

    great plugin!
    [simple_masonry sm_post_type=”post_type” sm_category_name=”catergory_slug”]
    not working used in combination with sm_post_type, sample above, any solution?

    • This reply was modified 1 year, 1 month ago by vikiv.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘posts from selected category’ is closed to new replies.