You must copy from line 112 to line 157 in leaf/includes/template-tags, paste it in your child-theme’s functions.php and edit what you want.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Or if you can provide a link to your site it should be easy enough to show you how to hide that via a child theme.
http://codex.wordpress.org/Child_Themes
Copying code that way into a child theme can sometimes cause more problems.
@ Dembowski You’re absolutely right, I had thought to ask him the URL too, so everyone could see directly. But I said so because it’s something I have already done and I know it works.
Theme is arranged to change via functions.php.
Leaf has his child theme ready here.
EDIT: I’m not a coder, but I think it’s this to make it work (?):
/* Custom template tags for this theme. */
require( get_template_directory() . ‘/includes/template-tags.php’ );
Thanks all. The site is theadventuresofdannyandmike.com
Unfortunately, I’m not experienced with the child theming, but will give it a shot
if that’s the only fix!
Thanks again!
For me, nothing change and the answers are the same:
Leaf has his child theme ready here
You must copy from line 112 to line 157 in leaf/includes/template-tags, paste it in your child-theme’s functions.php and edit what you want
When you have done this, remove
%2$s <span class="spacer">//</span> %3$s <span class="spacer">//</span>
from line 142
But if you prefer the solution Dembowski suggested (with display: none; I suppose) you need to create new classes and attribute them to new divs. More complicated and twisted, but it’s your choice.
Anyway, you have to work on a child theme in both solutions, because custom css area isn’t enough.
Child theme isn’t the fix, it’s just the right way to do the fix.