-
-
Save billerickson/ffda068bd04fd98eaa02216861e30728 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Display Posts, change title tag | |
* @see https://displayposts.com/2019/01/04/change-title-tag/ | |
* | |
*/ | |
function be_dps_change_title_tag( $tag ) { | |
return 'h4'; | |
} | |
add_filter( 'display_posts_shortcode_title_tag', 'be_dps_change_title_tag' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment