PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.4
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.4
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / admin / views / class-sps-settings.php

class-sps-settings.php in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.4, at admin/views/class-sps-settings.php

49 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The main class for Settings configurations.
4 *
5 * @package Smart_Post_Show
6 * @subpackage Smart_Post_Show/admin/views
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit; // Exit if accessed directly.
11 }
12
13 /**
14 * Settings.
15 */
16 class SPS_Settings {
17
18 /**
19 * Create a settings page.
20 *
21 * @param string $prefix The settings.
22 * @return void
23 */
24 public static function settings( $prefix ) {
25 SP_PC::createOptions(
26 $prefix,
27 array(
28 'menu_title' => __( 'Settings', 'post-carousel' ),
29 'menu_parent' => 'edit.php?post_type=sp_post_carousel',
30 'menu_type' => 'submenu', // menu, submenu, options, theme, etc.
31 'menu_slug' => 'pcp_settings',
32 'theme' => 'light',
33 'show_all_options' => false,
34 'show_search' => false,
35 'show_footer' => false,
36 'show_bar_menu' => false,
37 'show_reset_all' => false,
38 'class' => 'sp-pc-settings',
39 'framework_title' => __( 'Smart Post Show', 'post-carousel' ),
40 )
41 );
42
43 // SPS_Advanced::section( $prefix );
44 SPS_ScriptsAndStyles::section( $prefix );
45 SPS_Accessibility::section( $prefix );
46 SPS_CustomCSS::section( $prefix );
47 }
48 }
49