Skip to content

Instantly share code, notes, and snippets.

@thecodepoetry
Last active February 18, 2021 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thecodepoetry/7c263b54e11e20e0063754a4cb2ee350 to your computer and use it in GitHub Desktop.
Save thecodepoetry/7c263b54e11e20e0063754a4cb2ee350 to your computer and use it in GitHub Desktop.
enable display full content for portoflio tag arhive
add_filter('the7_archive_display_full_content', 'archive_template_for_port_tax',10, 1);
function archive_template_for_port_tax( $display_full_content ) {
if( is_tax( 'dt_portfolio_tags' ) ) {
$display_full_content = true;
}
return $display_full_content;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment