Support » Plugin: WordPress Shortcodes Plugin — Shortcodes Ultimate » [su_subpages] not working in self-provided CPT’s

Viewing 1 replies (of 1 total)
  • Solution provided by developer of Shortcodes Ultimate (gndev.info):

    subpages shortcode is only intended to use with pages and not custom posts. Try to use the following shortcode instead of subpages:

    [su_posts template=”templates/list-loop.php” post_type=”CPT_SLUG” post_parent=”POST_ID”]

    where CPT_SLUG is the slug of your custom post type and POST_ID is a numeric ID of the post with shortcode.

    Example:

    [su_posts template=”templates/list-loop.php” post_type=”books” post_parent=”12″]

Viewing 1 replies (of 1 total)
  • The topic ‘[su_subpages] not working in self-provided CPT’s’ is closed to new replies.