How to create shortcodes to show only certain categories for different sitemaps?
-
Hi there, great plugin and it’s been working well π
I’m needing to create 2 separate sitemap pages showing only certain categories (want to split up the different areas of site).
Is there a way to use the short code and to say which top level categories to display per sitemap?
Currently I’m having to hide the other top level categories using styles, but as the sub categories grow, the sitemap pages will take longer and longer to load which is not ideal when only displaying some of them.
eg:
.page-id-925 .cat-item.cat-item-1, .page-id-925 .cat-item.cat-item-17 { display: none; }
Cheers for your time, Ian
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to create shortcodes to show only certain categories for different sitemaps?’ is closed to new replies.