This is a little bit unorthodox however I hope someone can help me!
I am using Categories for not only posts but also my pages and this is now working well. What I would now like to do is display all pages within the same category as the current page ID in a drop down list where the default value is the current page.
If I am on a page called “Page 2” for example. “Page 2” is in the category “Category 1” along with 2 other pages (Page 1 & Page 3). What I would like is a drop down which then displays “Item 2” as default but also has options for the 2 other pages.
Drop Down List:
– Page 1
– Page 2 (Default Value)
– Page 3
When another page is selected it automatically links you to that page.
- The topic ‘Drop down list of pages from a category’ is closed to new replies.