Tagged: blog category, nested pages
Hi,
I have a question(s) and query regarding the layout and architecture – I have given the scenerio in points below.
WEBSITE
I want to be able to create categories for pages. i.e. I want to be able to nest pages (NOT POSTS) below the below each category and name it as such – for example: domain.com/test/yourpage where test is the category.
I want to be able to put content on that category page.
BLOG
In the blog I want to be able to use a double category and I want to have the first main categiory named ‘blog’ then underneath that the name of the category I set up and then the post llike this: domain.com/blog/news/hello-world
How do I acheive this?
Many thanks in advance for your help.
Vince
Or at least tell me how I can use blog with nested categories, so my url looks like this?
domain.com/blog/food/hello-world/
Where blog is the top category and food is a nested category?
Hi!
You can set pages as parent and children of each other but you cannot give them categories. It’s more of a general WordPress question than a theme question so it would be best to ask it on the WordPress support forums.
As for getting “blog” to display in your permalinks please see here, https://codex.wordpress.org/Using_Permalinks.
Cheers!
Elliott
Okay great I worked it out:
Like you said I can create nested pages of for parent and child.
For the blog I went into permalink settings and clicked ‘custom structure’ and used: /blog/%category%/%postname%/ this has now given me separate categories under my blog and differentiates the posts clearly from the pages and identifies them as a blog etc.