• Shortcodes are showing all posts even though I have not specified a category

    Viewing 1 reply thread
    • Author
      Posts
      • #2218
        ARS Support
        Keymaster
        Up
        0
        Down
        ::

        I embedded a shortcode on a client page, but did not yet specify a category in the shortcode settings. I expected there to be no posts displayed on the front-end yet, but instead, all posts are showing on the front-end.

        ARS Support - March 20, 2024 at 11:02 am
        Add Comment
      • #2220
        ARS Support
        Keymaster
        Up
        0
        Down
        ::

        This is working as expected, and here is a brief explanation of how shortcode lists display posts, with respect to the category filter.

        The category filter is optional, and not required. If a category (or categories) are specified in the category filter, the list will be constrained to ONLY posts within the specified categories. If no categories are specified in the category filter, ALL posts meeting the lists other criteria will be displayed.

        There are cases in which you may not need to constrain a list to a category. An example of this would be unpaid invoice posts. In this case you would want to display all invoice posts with a status of “unpaid” for a given company, regardless of any category that may be assigned to the post.

        An example of how using the category filter to constrain lists to specific categories could be useful, would be on an onboarding page. In this case you may have a specific page (or specific section on a page) where you only want to display posts and/or documents that are assigned to an “Onboarding” category (as an example). In this case you could create a shortcode list devoted to onboarding, and specify the “Onboarding” category in the category filter.

        ARS Support - March 20, 2024 at 11:20 am
        Add Comment
    Viewing 1 reply thread
    • You must be logged in to reply to this topic.
    ARS