Forums

Creating a sub menu (10 posts)

  1. jmcgil14
    Member
    Posted 1 year ago #

    Hi, I am student who is completely new to wordpress although I have knowledge of creating websites using standard HTML and CSS. I am trying to use wordpress to create a full charity website and would like to know is it possible to create a sub menu down the left hand, which will change under each main navigation heading.

    For example under the main heading 'news' the sub menu titles will be, events, thank you and our recent success wheras under the main heading 'in action' the sub menu titles will be photos and video.

    Please help! Thank you!

    p.s i am currently using the default twenty ten theme.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Don't edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

  3. jmcgil14
    Member
    Posted 1 year ago #

    I have already made some minor modifications to the twenty ten theme :/ I will follow your advice and start again thanks for letting me know this! As for my earlier qiestion, any idea?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You'd need to create a new sidebar template file and call it in header.php. The sidebar could have different default content and/or widget ready areas based on conditionals. Then reduce the width of the main content area in your stylesheet to allow room for the new sidebar.

  5. kgagne
    Member
    Posted 1 year ago #

    If the pages are stored hierarchically (such as example.com/in-action/photos/) then you could try using the Flexi Pages Widget.

  6. jmcgil14
    Member
    Posted 1 year ago #

    Thanks, thats been really helpful.. i will try both your suggestions tomorrow! Quick question, if you are creating a child theme, is it possible to just copy all the files from twentyten into a new directory (twentytenchild) and change the info in the styleseet heading or do you NEED to use the @import function?

  7. jmcgil14
    Member
    Posted 1 year ago #

    basically this si what it is saying.. is this ok...

    The template files are located in /themes/twentyten. The stylesheet files are located in /themes/twentytenchild. Twenty Ten Child uses templates from Twenty Ten. Changes made to the templates will affect both themes.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    is this ok

    No. Have a look at the child theme link I gave above. You only put a style.css file and any amended files in the child theme.

  9. jmcgil14
    Member
    Posted 1 year ago #

    @kgagne i tried that widget but it didnt work the way i wanted it too. I found a great one called sub menu navigation widget, very basic but does the job! thanks for your help

  10. kgagne
    Member
    Posted 1 year ago #

    Glad you found something that worked! The one I use has a similar function but may require a bit more configuration than the one you're using, which may be more intuitive.

Topic Closed

This topic has been closed to new replies.

About this Topic