Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created Jan 4, 2019
Embed
What would you like to do?
<?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