• Resolved siounis

    (@siounis)


    I got a navigation bar on the top of my page thats not not generated by WP that links to my current categories.

    Check it out:
    What I got:
    https://www.f-ram.net/images/wphelp_1.gif

    What I would like to have:
    https://www.f-ram.net/images/wphelp_2.gif

    Now, I got Pages + Posts for said categories. How can I possibly make a sub-navigation bar to appear when im browsing a respect categories.

    I know of plugins that change the theme of a site when browsing categories, though I cant find them and I think that’s too complex for something this simple.

    A friend of mine knows of a way to specify which header a post or page should show, then all I have to do is make a bunch of different headers for each category. Then use that WP tag to make custom categorie.php pages and I think id get it.

    Does anyone know of any information that might help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter siounis

    (@siounis)

    bit more info:

    i have a bunch of projects that are set into categories.

    you check out the “Clown Man” project, that gives you a sub nav linking to the pages+posts of that cat. Dig?

    Thread Starter siounis

    (@siounis)

    the if ( in_category(‘#’) ) command

    <?php if ( in_category(’20’) ) { ?>
    <div align=”center”> This is wear the sub menu should be </div>
    <?php } ?>

    Now, I got Pages + Posts for said categories.

    No, you don’t. Pages don’t have categtories.

    Thread Starter siounis

    (@siounis)

    oh i got a plug in that allows pages to have categories ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sub Navigation in relation to their respected categories.’ is closed to new replies.