Navigation on single.php
-
Hi ALL
https://www.ttmt.org.uk/wordpress
I’m still new to WP and I’m trying to get my head around the fundamentals – this could be a really stupid question.
I’m trying to create a Photo Gallery theme (I know there are lots available, but none do what I want.) I want my site to have sections inside of which will be galleries. In the demo I have Transport as a section which contains the galleries Boast, Planes and Cars.
I was thinking that each section should have a page and each gallery be a post.
Therefore I have a page for Transport that uses the page template transport.php.
I have posts for Boats, Planes and Cars each has a category of transport and contains a NextGen slideshow gallery.In transport.php I have a query_posts that gets all the posts with a category of transport and displays them as links. The links then link to the posts that are shown in single.php.
On single.php the links to Boats, Planes and Cars are gone – I know it’s because there’s no query in single.php.
My questions after all this explanation is how do I keep the links for Boats, Planes and Cars at the top of the page? Do I need to create a page for each gallery, so a separate page for Boast, Planes and Cars?
Hope this makes sense, it’s not too stupid and someone can help.
ttmt
- The topic ‘Navigation on single.php’ is closed to new replies.