• Hi,
    I’ve created pages to list all – post, documents and calendar event from one category. I Use code:
    [su_posts template=”templates/default-loop.php” post_type=”post” taxonomy=”post_tag” tax_term=”58″ taxonomy=”category” tax_term=”78″ tax_operator=”2″ order=”desc” post_status=”any”][/su_posts]

    It works for posts only. I use same syntax for documents (post_type=”attachment”) and calendar (post_type=”tribe_events” ).
    For documents (post_type=”attachment”) I get documents mixed with the calendar events from the category.

    For the calendar events (post_type=”tribe_events” ) I get nothing listed. I use The Events Calendar plugin to manage calendar events.
    Do you have any idea how to filter the documents and calendar events?

    Thank you for help

    Martin

    https://ww.wp.xz.cn/plugins/shortcodes-ultimate/

The topic ‘Document filtering with su_posts’ is closed to new replies.