JasonOLeary
Forum Replies Created
-
Sorry for style.css pastbin is
<iframe src=”https://pastebin.com/embed_iframe.php?i=h6jy1Ec5″ style=”border:none;width:100%”></iframe>Hi decided to post the code in case anyone pops in and can make sense.
original navigation.php is:
<ul id="nav"> <li class="nav-start">?</li> <?php wp_list_pages('title_li=&depth=2'); ?> <li class="page_item last-page-item rss"><a href="<?php bloginfo('rss2_url'); ?>" title="News Feed">RSS</a></li> <li class="nav-end">?</li> </ul>
style.css is:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
I have added
add_theme_support( 'nav-menus' );
when I change navigation.php to:
<ul id="nav"> <li class="nav-start">?</li> <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?> <li class="nav-end">?</li> </ul>
If I just post
<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>
then the menu moves to the left as a vertical listAny help much appreciated!!
you can see the result here
Forum: Themes and Templates
In reply to: AutoFocus – Removing date from images and RSSHichathamandcharlotte
Remove:
<div class="entry-date bigdate"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time('d M'); ?></abbr></div>
I think you have the last part removed, just take out the whole thing from <div> to </div> inclusive.