mirror of
https://github.com/10h30/yeuchaybo-v6.git
synced 2026-07-11 18:56:17 +09:00
Modify post meta info on event archive page: add date and location
This commit is contained in:
+4
-2
@@ -37,6 +37,10 @@ load_child_theme_textdomain( CHILD_TEXT_DOMAIN, apply_filters( 'child_theme_text
|
||||
// Enable support for page excerpts.
|
||||
add_post_type_support( 'page', 'excerpt' );
|
||||
|
||||
//Add post type archive support for event
|
||||
add_post_type_support( 'event', 'genesis-cpt-archives-settings' );
|
||||
|
||||
|
||||
// Enable support for Gutenberg wide images.
|
||||
add_theme_support( 'align-wide' );
|
||||
|
||||
@@ -375,5 +379,3 @@ function abte_add_site_description_class( $attributes ) {
|
||||
return $attributes;
|
||||
}
|
||||
|
||||
//Add post type archive support
|
||||
add_post_type_support( 'event', 'genesis-cpt-archives-settings' );
|
||||
|
||||
Reference in New Issue
Block a user