• Closed
  • Sergio Cutrera
    Spectator
    March 14, 2016 at 3:23 am #25387

    Hi,

    I am trying to filter the blog post by category but it is not working.

    You can see at the blog: http://4mates.arwen.com.au/blog/ that in the page 3 or 4 there are post without the category “4mates”.
    I tried with cat_slug=”4mates” category=”4mates” but it is not working.

    This is my code:

    [blog number_posts=”10″ cat_slug=”4mates” category=”4mates” title=”yes” thumbnail=”yes” excerpt=”yes” excerpt_words=”35″ meta_all=”yes” meta_author=”yes” meta_categories=”yes” meta_comments=”yes” meta_date=”yes” meta_link=”yes” paging=”yes” scrolling=”pagination” strip_html=”yes” layout=”medium”][/blog]

    By the way, I tried to add also the sidebar with the blog post history, but I was not able to do that either.
    Thanks for your help,

    Sergio.

    Sergio Cutrera
    Spectator
    Posts: 8
    March 14, 2016 at 6:46 am #25388

    Forget about the sidebar on the blog page. It is resolved.
    But I still cannot filter the 4mates post by category.
    Thanks! Sergio.

    Denzel Chia
    Moderator
    Posts: 2656
    March 16, 2016 at 1:29 am #25513

    Hi,

    I did a test.
    The following shortcode works for me.

    [blog number_posts="" cat_slug="aciform" exclude_cats="" show_title="yes" title_link="yes" thumbnail="yes" excerpt="yes" excerpt_length="35" meta_all="yes" meta_author="yes" meta_categories="yes" meta_comments="yes" meta_date="yes" meta_link="yes" meta_tags="yes" paging="yes" scrolling="pagination" strip_html="yes" blog_grid_columns="2" layout="large" class="" id=""][/blog]

    Replace cat_slug=”aciform” with your category slug.

    Use the shortcode generator button found in your content editor to create your blog shortcode. The button with number 4 icon.

    Thank you