• Hi there,

    I have a category called revue-series that contains anime,docs,designing-the-movies, and parent-and-baby. I thought if I listed the parent category in the category_name argument it would save me the trouble to add new categories.

    So the following shortcode worked as expected:
    [wpt_productions start=”now” category_name=”revue-series”]{{thumbnail|permalink}}{{title|permalink}}{{summary}}[/wpt_productions]

    But when I added group by… all the categories I have, even others not under revue-series showed up as well in the list:
    [wpt_productions start=”now” category_name=”revue-series” groupby=”category”]{{thumbnail|permalink}}{{title|permalink}}{{summary}}[/wpt_productions]

    I try using the following shortcode to specify just the children categories:
    [wpt_productions start=”now” category_name=”anime,docs,designing-the-movies,parent-and-baby”]{{thumbnail|permalink}}{{title|permalink}}{{summary}}[/wpt_productions]

    It returns the same result as the first shorcode with just the parent category. But when I added the groupby argument it returns also the parent category for the listed categories so after all 4 catetories Revue series is shown with all events listed again:
    [wpt_productions start=”now” category_name=”anime,docs,designing-the-movies,parent-and-baby” groupby=”category”]{{thumbnail|permalink}}{{title|permalink}}{{summary}}[/wpt_productions]

    Is this working as suppose to? is like the groupby is working in the whole set and not the filtered results by category.

    Thanks in advance!

  • The topic ‘group by category not working’ is closed to new replies.