WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
Main navigation or menu in the header (11 posts)

  1. hma66
    Member
    Posted 2 years ago #

    How and in which file can I write the main navigation URLs so that I can start running blog plus the static pages which are not yet a part of the WP?

    Thanks

    http://wordpress.org/extend/themes/twentyeleven/

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes. Once your child theme is active, we should be able to help with the customisation.

  3. hma66
    Member
    Posted 2 years ago #

    Thank you for the great advice. Actually, I have already created a child theme as you advised. However, forgot to mention it in the post.

    Actually, due to design issues, I want to run some static pages separate from the WP blog. However, when a visitor clicks on the blog link in the main navigation of the site, the blog should show the same navigation as on the static pages. I am not sure where to insert the navigation links on the blog and how?

    Thank you in advance.

    Regards,

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    How about creating a custom menu via WP and then adding links to these pages using the Custom Url option?

  5. hma66
    Member
    Posted 2 years ago #

    Thanks for being patient and shame on me. I tried to add custom menus. But the main nav bar disappeared and I could not see any custom menus which I had created. How strange???

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    That sounds like you haven't actually saved any of your custom menus properly.

  7. hma66
    Member
    Posted 2 years ago #

    Thank you. Now I think I am on my way to getting what you said little earlier.

    However, I have a question which may be unrelated to what my original question has been. If I want a complete flexibility on the design of a site, is it a MUST for me to have separate static pages and then add WP blog to the rostrum?

    Thanks again for the great help.

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    No - you can create static Pages within WordPress and customise them individually using custom page templates & CSS.

  9. hma66
    Member
    Posted 2 years ago #

    Thanks again so much for the generous support. I guess I may have to have a detailed look at custom page templates.

    Best Regards

  10. esmi
    Forum Moderator
    Posted 2 years ago #

    No problem :-) If it helps at all, there are an increasing number of WordPress sites out there that are pretty much Page-based. Some do not even have any obvious blog functionality at all. So this should all be do-able via WP.

  11. hma66
    Member
    Posted 2 years ago #

    Hello there,

    sorry to harass you again. While trying to make sense of the links between static pages and blog, I am getting the following message.

    "This is somewhat embarrassing, isn’t it?
    It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help."

    The code I have used in mainsite/includes/header.php is as follows.

    [Code moderated. Please post code snippets between backticks or use the code button.]

    Any solution to this problem?

    Thanks again for the help countless times.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic