diff --git a/wp-content/plugins/wporg-learn/inc/post-type.php b/wp-content/plugins/wporg-learn/inc/post-type.php index 2be78bbb2..0328f426a 100644 --- a/wp-content/plugins/wporg-learn/inc/post-type.php +++ b/wp-content/plugins/wporg-learn/inc/post-type.php @@ -100,7 +100,7 @@ function register_workshop() { 'label' => __( 'Workshop', 'wporg_learn' ), 'description' => __( 'WordPress.org Training Workshop', 'wporg_learn' ), 'labels' => $labels, - 'supports' => array( 'title', 'editor', 'comments', 'revisions', 'custom-fields', 'thumbnail' ), + 'supports' => array( 'title', 'editor', 'comments', 'revisions', 'custom-fields', 'thumbnail', 'excerpt' ), 'taxonomies' => array( 'level', 'topic' ), 'hierarchical' => true, 'public' => true, diff --git a/wp-content/themes/pub/wporg-learn-2020/template-parts/component-featured-workshop.php b/wp-content/themes/pub/wporg-learn-2020/template-parts/component-featured-workshop.php index bbd4b547b..ed420310f 100644 --- a/wp-content/themes/pub/wporg-learn-2020/template-parts/component-featured-workshop.php +++ b/wp-content/themes/pub/wporg-learn-2020/template-parts/component-featured-workshop.php @@ -8,7 +8,7 @@ * @package WPBBP */ -$args = array( 'category_name' => 'Featured', 'posts_per_page' => '1' ); +$args = array( 'posts_per_page' => '1' ); $featured_workshop = wporg_get_workshops( $args ); ?> @@ -23,7 +23,7 @@
-

With WordPress moving more and more into the world of blocks, knowing how to build your own blocks has become valuable knowledge. However, if you are a plugin or theme developer, you might not be sure where to start. This workshop will serve as a guide to building your first block.

+

- \ No newline at end of file +