Created
January 14, 2013 02:05
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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