'. __( 'The options for the WordPress menus, allowing you to quickly view and edit any page.', 'admin-page-spider' ).'

' ); break; case 'posts_section': //check there is more than 1 post so that the user actually blogs. $count_posts = wp_count_posts(); $published_posts = $count_posts->publish; if ( $published_posts > 0 ){ echo wp_kses_post( '

'. __( 'Control the settings for the "Posts" menu.' , 'admin-page-spider' ).'

'); } else { echo wp_kses_post( '

'. __( 'You may need to add a blog/post first before this will display!' , 'admin-page-spider' ).'

'); } break; case 'promo_section': echo wp_kses_post(__( '

Explore the Pro version of the plugin!

It supports a ton of new features and third-party plugins.

*Free Version*:
✓ Pages
✓ Posts

*Pro Version*:
✓ Search & Filter
✓ Sorting
✓ Custom Menus
✓ Multi-Language
✓ Whitelabelling
✓ QuickAccess Menu
✓ Multisite Support
✓ Pro Branding Removed
✓ Bricks
✓ Beaver Builder
✓ Oxygen
✓ Visual Composer
✓ Breakdance
✓ CSS Hero
✓ Brizy Builder
✓ Elementor
✓ Divi
✓ Yellow Pencil
✓ Advanced Custom Fields
✓ Pods
✓ Easy Digital Downloads
✓ Microthemer
✓ WooCommerce
And much more!

Learn More

' , 'admin-page-spider' )); break; } } global $fields; //Settings fields array containing all settings used in the plugin $fields = array( // Wordpress Pages array( 'uid' => 'apspider_editmenu_name', 'label' => __( 'Name for the Wordpress Pages Menu?', 'admin-page-spider'), 'section' => 'first_section', 'type' => 'text', 'supplemental' => __( 'The name of the menu item in the Admin Bar', 'admin-page-spider'), 'default' => 'Edit Page' ), array( 'uid' => 'apspider_radio_editmenu', 'label' => __( 'Display The Wordpress Pages Menu?' , 'admin-page-spider' ), 'section' => 'first_section', 'type' => 'radio', 'supplemental' => __( 'Easy access to edit each page.', 'admin-page-spider'), 'options' => array( 'option1' => __( 'Display' , 'admin-page-spider' ), 'option2' => __( 'Hide' , 'admin-page-spider' ), ), 'default' => array('option1') ), array( 'uid' => 'apspider_gutenberg_editmenu_name', 'label' => __( 'Name for the in-editor Gutenburg Admin Bar restore checkbox', 'admin-page-spider'), 'section' => 'first_section', 'type' => 'text', 'supplemental' => __( 'In full screen gutenberg you can display a checkbox to restore the admin bar with this label', 'admin-page-spider'), 'default' => __('View Admin Bar','admin-page-spider') ), array( 'uid' => 'apspider_gutenberg_radio_editmenu', 'label' => __( 'Display the in-editor restore Admin Bar checkbox?' , 'admin-page-spider' ), 'section' => 'first_section', 'type' => 'radio', 'supplemental' => __( 'Creates a checkbox within the Gutenberg interface to quickly toggle back visibility of your Admin Bar (Where all admin page spider menus exist).', 'admin-page-spider'), 'options' => array( 'option1' => __( 'Display' , 'admin-page-spider' ), 'option2' => __( 'Hide' , 'admin-page-spider' ), ), 'default' => array('option1') ), //Wordpress section: display POSTS //The name of the Posts Menu array( 'uid' => 'apspp_posts_name', 'label' => __( 'Name for the Posts Menu?', 'admin-page-spider' ), 'section' => 'posts_section', 'type' => 'text', 'supplemental' => __( 'The name of the menu item.', 'admin-page-spider' ), 'default' => 'Edit Post' ), array( 'uid' => 'apspp_radio_viewposts', 'label' => __( 'Display The "Posts" Menu?' , 'admin-page-spider' ), 'section' => 'posts_section', 'type' => 'radio', 'supplemental' => __('Lists all your posts with edit links', 'admin-page-spider' ), 'options' => array( 'option1' => __( 'Display' , 'admin-page-spider' ), 'option2' => __( 'Hide' , 'admin-page-spider' ), ), 'default' => array('option1') ), ); return $fields;