Support » Plugins » Tag group name replace

  • I hope you’re…
    Hi everyone,

    I’m completely bogaged with (what I assumed would be fairly easy) string replace query.

    I have a bunch of tags that I would like to link to posts rather than tags page. So the url reads:

    instead of:

    Sh/Could I use a string replace with this?

    $tag->term_group outputs the tag category number which I would like to replace with the tag_group_name ($tag->term_group_name is not a valid argument).

    Hope my ramblings make sense to someone out there.

    Thanx for looking,

    EDIT: forgot to add my code

    echo bloginfo('url') . '/' . $tag->term_group . '/' . $tag->name;


    echo bloginfo('url') . '/' . $tag->term_group_name . '/' . $tag->name;

  • The topic ‘Tag group name replace’ is closed to new replies.