GenericBox
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Navigation not updatingDo you think adding the
register_nav_menuto a separate function on theinithook will make a difference?Instead of
after_setup_themeForum: Fixing WordPress
In reply to: Navigation not updatingYes, it isn’t a child theme. But I got alot of …inspiration… from the TwentyTwelve theme.
I do not have a nav Walker, and my only navigation registration function in functions.php is the same as TwentyTwelve:
function LedDesign_Setup(){ register_nav_menu('primary-menu', __('Primary Menu')); add_theme_support('post-thumbnails'); set_post_thumbnail_size(1600, 535); add_action('wp_head', 'LedDesign_Banner'); add_action('wp_head', 'LedDesign_Enqueue'); } add_action('after_setup_theme','LedDesign_Setup');Forum: Fixing WordPress
In reply to: Navigation not updatingMy error – the TwentyEleven theme was showing no menu because it was not defined in wp-admin after changing themes.
This has now been fixed for TwentyEleven and TwentyTwelve where the menu is working fine – however it is still displaying the technically non-existent menu on my custom theme.
Forum: Fixing WordPress
In reply to: Navigation not updatingSo currently I can have 3 menus:
– The one I want with the TwentyTwelve theme.
– The one that shouldn’t exist anymore on my Custom theme.
– And the one that is just a page structure / no menu on the TwentyEleven theme.Forum: Fixing WordPress
In reply to: Navigation not updatingSwitched to Default TwentyTwelve (http://dev.jamiepoole.me/leddesign/WordPress) didn’t fix issue. There are currently “no” menus defined in wp-admin.
But I think that is because as above – it was just reverting to the page structure as no menu was present.
I have re-added the menu and this is working in TwentyTwelve. However, when I switch back to my custom theme – or even TwentyEleven default theme – it is still reverting back to a/ The “old” menu on my custom theme, and b/ “no” menu on the TwentyEleven theme.
Forum: Fixing WordPress
In reply to: Navigation not updatingI’ve searched the forums and there still doesn’t seem to be a definite answer – some people have just failed to correctly specify the menu and for others deleting the menu and re-creating seems to work.
I have tried both of these solutions.
Would appreciate if anyone can help out.