Skip to content

Instantly share code, notes, and snippets.

@MattRead
Created April 17, 2013 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattRead/5405825 to your computer and use it in GitHub Desktop.
Save MattRead/5405825 to your computer and use it in GitHub Desktop.
<?php
class MrT extends Plugin
{
public function action_atom_get_collection( $xml, $params, $handler_vars )
{
if ( Controller::get_action() == 'tag_collection' ) {
$xml->title = _t( 'Posts Tagged %s', array( htmlentities(Controller::get_var('tag')) ), 'MrT' );
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment