WordPress.org

Ready to get started?Download WordPress

Forums

Merging posts and pages in the menu bar of a Manifest theme (6 posts)

  1. seasonjunkie
    Member
    Posted 1 year ago #

    Hi there, I am using the Manifest theme to build a largely static site to advertise a book. I would now like to add some blog posts to the site to make it more SEO friendly. However, because I have selected 'static front page' the posts don't show on the front page of the blog. Across the top menu bar are all my pages but I can't work out how to get the menu to include a 'blog' direction.

    I have already tried adding categorising my posts 'blog' and adding the blog category to the main menu in the menus section but this doesn't seem to work.

    Any help would be much appreciated, the site is cyclingthetranspenninetrail.seasonjunkie.com.

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    In the menu editing screen, after you done with cusomizing menu items, click save menu and then don't forget to assign menu to the theme location for that menu too.

    The location setting is a box over at the top left.

  3. seasonjunkie
    Member
    Posted 1 year ago #

    Hi, thanks for getting back to me. Unfortunately in the theme locations box it says that the theme I am using (manifest) does not natively support menus. There is a menu on the front page of my site but it just displays pages, nothing else. Should I just change my theme?

  4. seasonjunkie
    Member
    Posted 1 year ago #

    I've now semi fixed it by using a wp_list_categories just below the wp_list_pages but this looks very clumsy as it adds another menu bar. Is there a way I can incorporate categories into the pages bar. The original code looks like this:

    <div id="mainNav">

      <?php wp_list_pages('title_li=&depth=1'); ?>

    </div>

  5. paulwpxp
    Font hero
    Posted 1 year ago #

    I just viewed the source of the theme you use and found that it indeed doesn't use WP's custom menu, it uses wp_list_pages() plus another addon stuff too.

    You can make a childtheme and register_nav_menu() then put a call replacing that part in header.php. If interested, look for real working example in Twentytwelve theme.

    But I found out that this theme is also featured at WP.com, and this WP.com version does use WP's custom menu. So you can in fact download the theme from WP.com's theme svn and use it. Here below is the link to the svn.
    https://wpcom-themes.svn.automattic.com/manifest/

  6. seasonjunkie
    Member
    Posted 1 year ago #

    great thanks, I'll have a look into downloading from the svn while I play around with padding and stuff to see if I can fit the posts bar in. It was really good of you to help me!

Topic Closed

This topic has been closed to new replies.

About this Topic