WordPress.org

Ready to get started?Download WordPress

Forums

Leaf
Remove Tags from Bottom of Posts (7 posts)

  1. gogopowergo
    Member
    Posted 1 year ago #

    Hello.

    anyone have an idea how to remove the tags that I list from the bottom of posts? There's also a link to Home below all my posts that I would like gone.

    Here's a link to what I'd like gone.

    Thanks!!

  2. gogopowergo
    Member
    Posted 1 year ago #

    Sorry! Link is here:

    LINK

    JB

  3. tizz
    Member
    Posted 1 year ago #

    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.

  4. 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.

  5. tizz
    Member
    Posted 1 year ago #

    @ 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' );

  6. gogopowergo
    Member
    Posted 1 year ago #

    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!

  7. tizz
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.