Hi all,
I am developing a custom theme and ran into a problem.
I have a template that displays subpages in a category-overview for the client's products, so the structure is this:
Home
Products
Category 1
Category 2
Category 3
…
And as such is reflected in the navigation.
Now the front page needs to also display an overview of the categories, just styled differently. So I modified the template and defined the page as the home page - everything working fine so far.
The only problem with this solution: Now in the navigation, the "Products" item links to the home page, and such is not working as the category overview. It seems wordpress overwrites the role of the page to be the home page even though I need it to be an instance of it's own, with the corresponding url of http://www.client.com/products.
What I want:
http://www.client.com/ >> product overview style #1, using subpages
http://www.client.com/products/ >> product overview style #2, using subpages
And a navigation that correctly displays http://www.client.com/products/ as the url for the navigation item "Products".
What I have:
http://www.client.com/ >> product overview style #1, using subpages
http://www.client.com/products/ >> redirecting tho http://www.client.com/
And a navigation that incorrectly displays http://www.client.com/ as the url for the navigation item "Products".
Any ideas?