Change shortcode buttons

Instead of enabling individually, enable the buttons all at once, and use js to hide them behind one master button, kind of a dropdown menu style.
This commit is contained in:
Robin Cornett
2017-11-02 09:20:02 -04:00
parent d7425656d9
commit abc943d8a8
4 changed files with 66 additions and 17 deletions
@@ -30,11 +30,7 @@ class DisplayFeaturedImageGenesisGetSetting {
'centeredX' => 1,
'centeredY' => 1,
'fade' => 750,
'shortcode' => array(
'displayfeaturedimagegenesis_term' => 0,
'displayfeaturedimagegenesis_author' => 0,
'displayfeaturedimagegenesis_post_type' => 0,
),
'shortcodes' => 0,
'backstretch_hook' => 'genesis_after_header',
'backstretch_priority' => 10,
'large_hook' => 'genesis_before_loop',