From: Laury GvR Date: Wed, 6 Jun 2018 16:53:58 +0000 (-0400) Subject: Add facts slider ordering functionality X-Git-Tag: v1.0.0^2~15 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d03998d1e2d77a235872a96e439feb310d691658;p=WP-Themes%2Fsafeinnm.git Add facts slider ordering functionality --- diff --git a/functions.php b/functions.php index 94549b1..1392c6b 100644 --- a/functions.php +++ b/functions.php @@ -238,9 +238,9 @@ function fact_post_type() { 'label' => __( 'Fact', 'text_domain' ), 'description' => __( 'Fact information page.', 'text_domain' ), 'labels' => $labels, - 'supports' => array( 'title', 'editor', 'revisions' ), + 'supports' => array( 'title', 'editor', 'revisions', 'page-attributes' ), 'taxonomies' => array( 'category' ), - 'hierarchical' => false, + 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, diff --git a/parts/facts-slider.php b/parts/facts-slider.php index 1ed07bb..5fbbf2d 100644 --- a/parts/facts-slider.php +++ b/parts/facts-slider.php @@ -3,15 +3,19 @@