graham333
Forum Replies Created
-
I have removed it now but this how I tried it first…
endwhile; /* twentytwelve_content_nav( 'nav-below' ); */ ?> <?php else : ?>
and I tried many variations of commenting out various parts to see if it had any effect.
Thanks for your continued interest yomisimie, but if you read my original post again you will note the remove_action( code did indeed remove the action but any attempt to comment out or remove twentytwelve_content_nav( ‘nav-below’ ); call caused an error message to display on the category page (after it loaded ok)
I just need to know the correct way to remove this call without breaking anything, as seemingly removing this line by commenting out or deleting is causing a problem for some reason.
@ Yomisimie
I used /* */
@tara
Haha, yes I learn’t the hard way a long time ago to backup everything.and since posting this, I have deleted the child theme category.php and re-installed the 2012 parent which has actually cleared the error message.
Unfortunately it has also put back the damned Older posts link despite still having the removal code in the functions.php
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageJust returning to keep the forum tidy and mark this thread as resolved.
Thanks again TR.
I find working on Wp like assembling a car with boxes of unlabelled assorted parts from different makes and models. Everything is there you just have to find the part that fits! ??
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageHey Stephen,
Your commented prompted me into action ??
I did a re-install of Wp on my Local Machine and guess what?… Bingo!
the code….main-navigation { display: none; } .home .main-navigation { display: block!important; }
is now working like a charm, hurray! TF for that ??
@tahoerock
Many thanks to you for your help, you are a star my man, I hope you read this before you go to bed so you don’t stay awake all night ??Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageSorry tahoerock I didn’t mean to wreck your life ??
Tried the new code on my local – Nope it’s not working for me, but if you only have pages that is prolly why its working for you.
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageHi Stephen, thanks for your interest,
Yes I have assigned a menu, it includes the categories and posts and is selected as the Primary via the checkbox at the bottom.
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageThanks so much for trying to help – goodnight ??
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageAha, do you think could you test it with some test categories and posts if you have a minute to spare, just to make sure I’m not going mad ??
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pagetahoerock are you testing with categories and posts or Pages?
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageNot at present, its under construction and in maintenance mode I don’t want any Search Engine crawlers in there at the moment.
I’m trying to figure out why it is working for you, but will not work on a completely unmodified default version of the theme on my local <scratching head>)
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageWeird,
As a further test, I have just installed the 2012 theme on my local machine added the code to the parent style.css and it still doesn’t work for me, all the menus are still there??
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home page… and just to note I did clear the browser cache.
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageNope, sorry tahoerock this does not work either.
I tried it in both the parent and child theme and the header.php
Forum: Themes and Templates
In reply to: Hide/Remove 2012 Theme Navbar Except for Home pageAh right, It would be very helpful to all I’m sureif it actually said that instead ??