Skip to content

Instantly share code, notes, and snippets.

@MatthewEppelsheimer
Created January 14, 2013 02:05
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 MatthewEppelsheimer/4527277 to your computer and use it in GitHub Desktop.
Save MatthewEppelsheimer/4527277 to your computer and use it in GitHub Desktop.
Remove addition of " (Publication)" to WP Publication Archive title output. Note! This requires addition of the 'wp_pubarch_publication_title' filter to line 681 of https://github.com/ericmann/WP-Publication-Archive/blob/master/lib/class.wp-publication-archive.php
<?php
// Remove addition of "(Publication)" to WP Publication Archive title output
function rli_normalize_wp_pubarch_title_output( $modified_title, $original_title ) {
return $original_title;
}
add_filter( 'wp_pubarch_publication_title', 'rli_normalize_wp_pubarch_title_output', 100, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment