WordPress.org

Plugin Directory

MultiTags

Display correct tags when calling a tag-page with more than one tag.

How to provide the correct feed-url on multi-tag-pages?

You have to handcraft a little bit and change the core. However I don't recommend it, because after upgrading you have to insert your change again. So be careful. Go to wp-includes/general-template.php and find the lines (around lineno 2294):

$title = sprintf( $args['tagtitle'], get_bloginfo('name'), $args['separator'], $term->name );
$href = get_tag_feed_link( $term->term_id );

replace it with:

if ( function_exists('multi_tags_get_title') )
    $title = sprintf( $args['tagtitle'], get_bloginfo('name'), $args['separator'], multi_tags_get_title() );
else
    $title = sprintf( $args['tagtitle'], get_bloginfo('name'), $args['separator'], $term->name );
if ( function_exists('multi_tags_get_tag_feed_link') )
    $href = multi_tags_get_tag_feed_link( $term->term_id );
else
    $href = get_tag_feed_link( $term->term_id );

Requires: 2.8 or higher
Compatible up to: 4.1.6
Last Updated: 2015-1-27
Active Installs: 70+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2 100,1,1 100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1