Site logo

Archived topic

How to Display Related pages based on Slug

5 replies · Started by sandeep kumar on February 3, 2022

Viewing posts 1–6 of 6

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! :)

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.

This archived topic is closed to new replies.