Viewing 11 replies - 1 through 11 (of 11 total)
  • bdbrown

    (@bdbrown)

    Hi tgberk. Where is it you’re trying to change this? Can you post a link to your site with an example? Thanks.

    Thread Starter tgberk

    (@tgberk)

    Hello,
    I actually want to change it everywhere. Since it is a taxonomy, i want to rename “tag” name to something else. I’m sorry but I can’t post link to website, it is personal. But If you want i can send mail to you link of website?

    bdbrown

    (@bdbrown)

    Thread Starter tgberk

    (@tgberk)

    Thank you, I was looked at this post but When I copied this code to child theme’s function file It just changes tag’s name in admin panel. It is still same when I viewed posts and tag’s page. I want to change these 2 things: https://imgur.com/a/wttXZ

    First image from a post I want to change Tag to Go to Actor
    Second image from tag page I want to change Tagged to Actor and icon to this: https://fortawesome.github.io/Font-Awesome/icon/television/

    Is it something i can do with css?

    bdbrown

    (@bdbrown)

    For the post, try this css:

    /* replace post "Tags" label */
    p.post-tags span {
        display:none;
    }
    p.post-tags:before {
        content: "Go to Actor"
    }

    For the page title you can copy /inc/page-title.php to the same path in a child theme, then change ‘Tagged:’ there:

    <?php elseif ( is_tag() ): ?>
        <h1><i class="fa fa-tags"></i><?php _e('Tagged:','hueman'); ?> <span><?php echo single_tag_title('', false); ?></span></h1>

    Then add this to your custom css:

    /* replace page title Tagged icon */
    .fa-tags:before {
        content: "\f26c";
    }
    Thread Starter tgberk

    (@tgberk)

    Thank you very much, everything except tagged icon worked.

    bdbrown

    (@bdbrown)

    Glad most of it worked. I’ll need to see it to figure out why the icon replacement didn’t work.

    But If you want i can send mail to you link of website?

    Please send the link to [redacted] Thanks.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    As awesome as you are bdbrown, I’ll have to redact your email.
    @tgberk, The compromise with using a public forum is that you should be comfortable with information being public. If you’re not, you might want to consider private support: https://jobs.wordpress.net

    bdbrown

    (@bdbrown)

    Andrew – No problem. Concur with your post.

    Thread Starter tgberk

    (@tgberk)

    I understand Andrew, didn’t know this rule. And thank you very much bdbrown, I made it work. You’ve been so helpful to me on my all post, I don’t know how to thank you. Good care of yourself.

    bdbrown

    (@bdbrown)

    You’re most welcome. Glad to help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Changing "tag" name’ is closed to new replies.