Menu not always using correct link

It appears that all of the links inside that menu are custom menu links, based on the classes “menu-item-type-custom” & “menu-item-object-custom”. You should be able to go into the menu and put whatever you want in the url field. If you are using hash links (#team) and may have to put the full url http://angrychickenmedia.com.au/#services … Read more

Customize Walker_nav_menu to show posts if item is category

You could either extend the Walker_Nav_Menu walker class (i.e., the start_el function is sufficient, as already mentioned). Or you could hook in when the original output (i.e., the category) has been created. That would be the walker_nav_menu_start_el hook. For instance like so: function wpdev_139801_start_el( $item_output, $item ) { if ( isset( $item->object ) && $item->object … Read more

Next/previous a-like single navigation

After some additional research it looks like it will require to use two separate methods to get next/previous page/post to work. More here,here and here Solution for pages: <?php $pagelist = get_pages(‘sort_column=menu_order&sort_order=asc’); $pages = array(); foreach ($pagelist as $page) { $pages[] += $page->ID; } $current = array_search(get_the_ID(), $pages); $prevID = $pages[$current-1]; $nextID = $pages[$current+1]; ?> … Read more