• This plugin can be made to work with Custom Post types by adding ‘post_type’ to the defaults.

    // Set defaults
      $defaults = array(
         'class'       => $tag,
    . . .
         'exclude_current_page' => 0,
         'post_type'   => ''
      );

    Then passing it the short code
    [list-pages post_type=”{post_type}”]
    for example [list-pages post_type=”products”]

    Which is all very cool… but it’d be nice to add it to the plugin and second document it in the notes…

The topic ‘Custom Post Types’ is closed to new replies.