You can fetch all the different post_types you have by using get_post_types()
. Then you can loop through all posts of each post_types and echo all these posts (title + link). That way you have the freedom of formatting your sitemap the way you want.
Related Posts:
- robots.txt Not Updating
- Yoasts plugin sitemap not detecting correct category URL format
- Does the ‘WordPress Order’ feature, within the WordPress Dashboard, have any impact on site architecture?
- add post content in meta description in yoast
- Add image tags to native WordPress XML Sitemaps
- Set different Canonical url programmatically for every post
- How to solve Robots.txt problem with WordPress fresh install?
- Yoast SEO: title tags are repeating my website name and slogan [closed]
- How to ensure that a landing page created with WordPress does not enter the sitemap?
- WordPress Sitemap including pages that aren’t there
- SEO optimization gone not so well
- ASCII titles with Yoast SEO plugin
- charset problem in wordpress because of nginx config
- How to remove WordPress Virtual Robots.txt that keeps overriding my root robots.txt? [closed]
- How do I create custom tags for WordPress SEO? [closed]
- Yoast SEO plugin – Sitemap links greyed out & page priority
- Setting up robots.txt with Yoast’s Seo plugin
- Unlimited false pages showing in Sitemap?
- Sitemap not containing all pages
- Facing Problem with Description in Post and Home Page in WordPress
- Tagline showing instead of meta description!
- How Do I Set the Page Title Dynamically?
- Is sanitize_title enough to generate post slugs?
- Robots.txt not updating
- Creating 301 Redirects for Post, Page, Category and Image URLs?
- Why do I get a 404 for my sitemap index after installing Yoast? [closed]
- SEO – Two WordPress websites on same domain name
- Inserting Post Using wp_insert_post. How to Fill Yoast Plugin SEO Fields
- Migrating from other CMS to WP – losing SEO juice?
- Blog not indexed [closed]
- Remove date from Google Search Results Description
- Duplicate Australian E-Commerce site
- Yoast Sitemap grouping external sitemaps [closed]
- Seo WordPress Pages on google [closed]
- Hard code a domain into Yoast SEO canonical URLs
- How to remove duplicate blog title
- Change Site Title and Description html tags if not home page
- When does the Yoast SEO filter hook wpseo_sitemap_urlimages fire?
- WordPress Blog and SEO
- Will using REST API impact SEO? [closed]
- How to Appease the Google PageSpeed Gods with regards to image optimization?
- alt tags of the images are not saving/emtpy
- Enabling compression in .htaccess file is causing 500 internal error
- Overwrite YoastSEO meta-tags with another page’s [closed]
- How to Change The Title in WordPress For SEO
- Search Console detects Category Pagination data as Duplicate Meta Description
- WordPress thinks my custom taxonomy pages are search pages #seo
- Sitemap generation
- Automatic SEO for wordpress [closed]
- What is/are the best thing(s) I can do to make my WordPress blog more popular? [closed]
- how to set title of each page or post for SEO
- Show Sitename on Yoast SEO Title tag [closed]
- Retrieve a value from Yoast SEO to use to set a default twitter card image honoring overrides
- Yoast SEO settings unavailable in an archive page from wordpress plugin
- WordPress site running on Yoast not being indexed into Google News [closed]
- how to 301 redirect from a plugin folder
- Yoast Force Rewrite Crashed Site [closed]
- wp_strip_all_tags [closed]
- Yoast primary category query modification
- Adding a H1 Tag to Post Tags automatically, but hide the tag? (Same for Category)
- Updating old website links to new website links [closed]
- Changing Post Sitemap Frequency to Hourly [closed]
- The inner mechanism of WP SEO plugins
- Does having two installations of WordPress negatively affect SEO? [closed]
- Word Press Permalink Change
- WordPress Meta Title Separator
- Customizing SERP content for WordPress Blog
- Pages and posts with Rel Canonical issues across entire site
- Workaround for og:image unsupported webp image type, Yoast SEO?
- WordPress site for increase SEO ranking in other e-commerce store
- Remove Noindex?
- Permalink not changing according to post type
- Show Yoast SEO meta tags in Custom WordPress Templates (Theme)
- 301 redirects after changing permalinks
- Robots.txt file not updating
- Using $this with an anonymous function in filters
- How to add blog in default WordPress post type for SEO standard rule?
- Metatag Discription on site [closed]
- Not sure if to keep this or not (noindex question)
- Exclude WooCommerce terminations from YOAST
- Yoast Seo Plugin meta title not showoing [closed]
- My blog name refer to different domain in SERP
- mobile usability issues with /wp-content/uploads/ folders
- Sub category text in the URL of wordpress site
- OpenGraph descriptions not showing when using WordPress SEO (Yoast)
- Best Way To Structure 3 Tiered Site
- deeplink juggernaut – remove settings
- Plugin scans for images in post_content, how about “featured image”?
- How to change the post title to h1 [closed]
- special XML to wordpress posts
- Anchors in WordPress not followed/ indexed in sitemap.xml
- Not Being Indexed by Search Engines [closed]
- Enabling canonical links to force search engines to go to site.com rather than site.net [closed]
- Possible to change meta data single quotes to dobule quotes in yoast wordpress seo? [closed]
- how to add urls dynamically into the sitemap
- Can I delete the redirection in WordPress after switching URLs manually?
- Hide my staging subdomains from search results without impacting the visibility of the root domain
- how to make yoast seo read text from custom fields in custom post type
- How to improve WordPress website SEO and traffic, and or fix SEO issues
- How to fix Links do not have descriptive text PageSpeed Insights