Hi David,
This is not working, I might missing something here is what I’ve got :
– CPT name : tour
– Element with two functions because I don’t know which one is useful :
<?php
add_filter( 'generate_footer_meta_post_types', function( $types ) {
$types[] = 'tour';
return $types;
} );
add_filter( 'generate_entry_meta_post_types', function( $types ) {
$types[] = 'tour';
return $types;
} );
?>
– Element with Header for CPT :
<h1>
{{post_title}}
</h1>
<h4>
{{post_terms.category}}
</h4>
<h4>
{{post_terms.taxonomy}}
</h4>