Archived topic
How to Display Related pages based on Slug
5 replies · Started by sandeep kumar on February 3, 2022
Hi
The majority of the pages in my sites are silo structure
eg example.com/page/topic1
example.com/page/topic2
So I want to display topic1 and Topic 2 and future topics in example.com/page/ automatically. it's simple in the post I want to know how to do it on the page.
Thanks
Hi Sandeep,
Are you trying to display an archive page for pages? If so, you would need a custom query for this. It may also help to use a third party plugin.
An example of this is WP Show Posts.
See this for reference: https://share.getcloudapp.com/KouYE4j4
Moreover, here’s a link that may also be useful with regards to this: https://stackoverflow.com/questions/12086998/wordpress-query-pages-with-certain-template#:~:text=if-,post_type,-is%20left%20out
Hope this helps! :)
I'm trying to display sub-pages on the main page
Hi there,
thats going to require a plugin like the one below or custom development:
David
That plugin works fine but I don't like the UI. is that possible to do the same function with WP Show Post?
I don't thinks it possible - you can ask on the WP Show Posts forum, one more knowledgable then me may have that solution.