Created
July 8, 2014 17:10
-
-
Save JiveDig/7887a459b4fba3d1c61f to your computer and use it in GitHub Desktop.
Change Display Posts Shortcode plugin title wrap
This file contains 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 | |
//* Change Display Posts Shortcode plugin title wrap from h2 to h4 | |
add_filter( 'display_posts_shortcode_title_tag', 'richr_do_display_posts_shortcode_title_wrap' ); | |
function richr_do_display_posts_shortcode_title_wrap($title_wrap) { | |
$title_wrap = 'h4'; | |
return $title_wrap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment