Created
September 3, 2013 17:40
-
-
Save AleeRojas/6427074 to your computer and use it in GitHub Desktop.
Agregar contenido antes de content
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 | |
//http://wordpress.stackexchange.com/questions/39918/wordpress-hooks-filters-insert-before-content-or-after-title | |
function theme_slug_filter_the_title( $title ) { | |
$custom_title = 'YOUR CONTENT GOES HERE'; | |
$title .= $custom_title; | |
return $title; | |
} | |
add_filter( 'the_title', 'theme_slug_filter_the_title' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment