Viewing 6 replies - 1 through 6 (of 6 total)
  • Try [wp-tiles post_type=”post” category=”***”] where you replace *** with the name of the category you want to display.

    Good luck

    Thread Starter Eric

    (@ericcodrongmailcom)

    Thank you Tony.
    I did also try this but I was unable to make it work.

    Cheers,
    Eric

    What categories do you have? How is their hierarchie?

    Thread Starter Eric

    (@ericcodrongmailcom)

    During my tests I created only 1 category, let’s say “test”, as a root category (no parent category).
    Then I created 2 posts associated only with this category and 2 others associated only with the WordPress default category (“uncategorized”).
    When I tried [wp-tiles post_type=”post” category=”test”] , all 4 posts were displayed.

    Okay. Start off by using following code
    [wp-tiles category=”test”]
    If that doesn’t work:
    – either test is misspelled
    – or all posts have same category
    – or “test” is root category and “uncategorized” is subcategory of “test”

    Try to create a second category, let’s say “test-2” and use it for the 2 uncategorized posts.
    You can always try to use the WP-Tiles shortcode creator (four squares symbol) from within your page where you want to display the tiles. So you can be sure that there is nothing misspelled.

    I hope you will succeed.

    Thanks Tony! Your solution worked. So simple. I could not figure out what to do in the shortcode. I just needed specific categories.

    It took me much longer to find this solution than it did to impliment it.

    Oh the four squares in the TinyMCE editor?! I had no idea about those.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Filter by category won't work’ is closed to new replies.