Skip to content

/tag/ Rewrite should use rewrite base from permalink settings #3

@deckerweb

Description

@deckerweb

Currently the /tag/ rewrite slug is hard-coded in the widget's code (/lib/widgets/top-tags.php line 50 ).
For example: http://my-domain.com/tag/test-2 ---> should become: http://my-domain.com/my-custom-slug-here/test-2 instead

This is to be found within the first part of this line:

            echo '<li><a href="/tag/'.$tag->slug.'">'.$tag->name.'<span class="count">'.$tag->count.'</span></a></li>';

Currently, I don't know how's the proper way to call here the permalink setting for tags the user has set. Would be nice to see this fixed as this also regards a lot of international users who rarely use "tag" as the rewrite base.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions