|
|
@@ -43,7 +43,7 @@ function default_post_format( $item, $include_content ) {
|
|
43
|
43
|
$filtered[hero] = get_post_meta( $item->ID, 'hero_header', true );
|
|
44
|
44
|
|
|
45
|
45
|
// Materials + type endpoints
|
|
46
|
|
- $posts_with_type = ['artist', 'exhibition', 'event', 'short', 'guide', 'object', 'publication', 'technique' ];
|
|
|
46
|
+ $posts_with_type = ['artist', 'exhibition', 'event', 'short', 'technique', 'guide', 'object', 'publication' ];
|
|
47
|
47
|
if( in_array($item->post_type, $posts_with_type) ) {
|
|
48
|
48
|
$filtered[materials] = make_taxonomy_endpoint_for(get_the_terms( $item, 'material'));
|
|
49
|
49
|
$filtered[subtypes] = make_taxonomy_endpoint_for(get_the_terms( $item, $item->post_type . '_type' ));
|