WordPress.org

Forums

WP Sitemap Page
[resolved] Custom Post Type by their categories? (6 posts)

  1. mixer
    Member
    Posted 1 year ago #

    How to display Custom Post a Type by their categories?
    Like standart post.

    Thanks

    https://wordpress.org/plugins/wp-sitemap-page/

  2. Tony Archambeau
    Member
    Plugin Author

    Posted 11 months ago #

    Hi mixer.
    I'm the plugin developper. I know your message was posted a long time ago, but I just wanted to let you know that it is now possible to filter the content from a CPT.
    Use the shortcode this way : [wp_sitemap_page only="page"] (replace "page" by the name of your shortcode).
    Hope that helps.

    Sincerely,
    Tony

  3. Numa.Rajdhami
    Member
    Posted 8 months ago #

    I have two custom post type named product and news. How can i list only the link of archive-product.php and archive-news.php instead of all custom post type?. Thanks in advance.

  4. Tony Archambeau
    Member
    Plugin Author

    Posted 8 months ago #

    Hi Numa.
    I think you should try something like that :
    [wp_sitemap_page only="product"]
    and
    [wp_sitemap_page only="news"]
    Please, have a look on the settings page of the plugin to have the list of possible attribute to use on the shortcode.
    Hope it help.
    Sincerely,
    Tony

  5. Numa.Rajdhami
    Member
    Posted 8 months ago #

    Thanks for reply. It works but i didn't get the custom post types grouped according to custom taxonomy. I have custom taxonomy named news_taxonomy with three parent terms named news_type1,news-type2 and news-type3 but all posts(cpt) are shown under Label of Custom Post Type(News). They are not displayed categorized.Does this plugin support what i need.

  6. Tony Archambeau
    Member
    Plugin Author

    Posted 8 months ago #

    Hi, it didn't seems for the moment it support what you are looking for. Maybe for a next release.
    Thanks a lot for your feedback.
    Sincerely,
    Tony

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Sitemap Page
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.