In need of mini-nav for small series of pages

  • kent


    I’d like to provide the user with simple navigation through about five pages without using the sidebar. I’m assuming there’s a way to do this, but nothing I’ve tried has worked.

    The first page is below. There are five other pages to include, and my first thought was to change the pages to posts and let breadcrumbs do the work (all I really need is a way to cycle through the pages without going ‘back’ to a page of links). And I don’t want to include another menu in the sidebar or make that menu any longer – it’s already too long and these pages are really a sub menu of a left side menu item.

    But using posts presented other problems, like the need to change css to not show dates, categories, tags, etc. I looked for a way to change those css settings for just a specific category, but didn’t have any luck getting that to work. (I should clarify – the breadcrumbs I had in mind were more like, “last,” and, “next” buttons as opposed to a breadcrumb showing the file structure.)

    I know I can use a three column layout for just those pages and put the menu in the right sidebar, but that makes the page too narrow. Is there a way to float a widget on top of those specific pages? Or to create tabs across the top?

    I’m not even sure if this is a graphene question, exactly, but it’s the most flexible theme I’ve used so I thought it may have been considered before.



    Syahir Hakim


    I’m afraid there’s no easy way to do this. You would need to:

    1. Create a child theme
    2. Create a custom function to list the links to “sibling” posts in your child theme’s functions.php
    3. Hook the custom function to one of the action hooks available inside or above/below the post content area

    But of course, there may be a plugin that does this already. Try look for one first.

    Or if the number of posts to link and their titles don’t change often (if at all), you can just add a text widget to an Action Hook Widget Area and hardcode the links in. Then use the Widget Logic Visual plugin to make the widgets show up only on the intended posts.



    Thanks, Syahir,

    I’ve experimented a bit with your first suggestion, and it’s a little over my head. But the last idea you mention, using an action hook, I understand. It’s the appearance of the widget I can’t figure out. Is there a way to avoid using a three column layout, which leaves a center page which is just too narrow?

Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum