Merging posts and pages in the menu bar of a Manifest theme
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.
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.
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?
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:
<?php wp_list_pages(‘title_li=&depth=1’); ?>
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.
- The topic ‘Merging posts and pages in the menu bar of a Manifest theme’ is closed to new replies.