HEX
Server: Apache/2
System: Linux sm.stlbg.net 3.10.0-962.3.2.lve1.5.87.el7.x86_64 #1 SMP Tue Jan 28 09:38:56 UTC 2025 x86_64
User: todorterziev (1053)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/todorterziev/public_html/wp-content/themes/prysm/lib/services-meta.php
<?php
// Control core classes for avoid errors
if( class_exists( 'CSF' ) ) {

  //
  // Set a unique slug-like ID
  $prefix = 'prysm_servicepost';

  //
  // Create a metabox
  CSF::createMetabox( $prefix, array(
    'title'     => 'Service Options',
    'post_type' => 'services',
  ) );

  //
  // Create a section
  CSF::createSection( $prefix, array(
    'title'  => 'General Settings',
    'fields' => array(

      //
      // A text field
	array(
		'id'      => 'service_full',
		'type'       => 'switcher',
	  'text_on'    => 'Full',
	  'text_off'   => 'Padded',
	  'text_width' => 100,
		'title'   => 'Service Full Width',
		'default' => 'Show'
	),
	array(
		'id'      => 'service_top',
		'type'       => 'switcher',
	  'text_on'    => 'Show',
	  'text_off'   => 'Hide',
	  'text_width' => 100,
		'title'   => 'Top Section',
		'default' => 'Show'
	),
       array(
        'id'    => 'service_heading',
        'type'  => 'text',
        'title' => 'service Title',
		 'default' => 'service'
      ),
	array(
		'id'      => 'service_breadcrumb',
		'type'       => 'switcher',
	  'text_on'    => 'Show',
	  'text_off'   => 'Hide',
	  'text_width' => 100,
		'title'   => 'Breadcrumb',
		'default' => 'Show'
	),
	array(
	  'id'    => 'service_background',
	  'title' => 'Background Image',
		'type'  => 'media',
		'library' => 'image',
	),

    )
  ) );
	
	// Create a section
  CSF::createSection( $prefix, array(
    'title'  => 'Service Info',
    'fields' => array(

      //
     
       array(
        'id'    => 'service_icon',
        'type'  => 'text',
        'title' => 'Service Icon Class',
		 'default' => 'flaticon-business-report'
      ),
		array(
			'id'    => 'service_icon_img',
			'type'  => 'media',
			'title' => 'Service Icon Image',
			'library' => 'image',
		  ),
		array(
        'id'    => 'service_text',
        'type'  => 'textarea',
        'title' => 'Service Short Description',
		'default' => 'Our flagship business public<a href="#">Prysm</a> Quarterly, has been defining and inform.'
      ),

    )
  ) );
	// Create a section
  CSF::createSection( $prefix, array(
    'title'  => 'Service SideBar Setting',
    'fields' => array(

				array(
					'id'      => 'service_recent_show',
					'type'       => 'switcher',
				  'text_on'    => 'Show',
				  'text_off'   => 'Hide',
				  'text_width' => 100,
					'title'   => 'Recent Services',
					'default' => 'Show'
				),
				array(
				  'id'      => 'service_recent_limit',
				  'type'    => 'number',
				  'title'   => 'Recent Services Limit',
				  'default' => 5,
				),
			array(
					'id'    => 'service_sidebar_img',
					'type'  => 'media',
					'title' => 'Sidebar Image',
					'library' => 'image',
				  ),
			array(
					'id'    => 'service-sidebar_img_lnk',
					'type'  => 'link',
					'title' => 'Sidebar Image Link',
				  ),

    )
  ) );
	
	// Create a section
  CSF::createSection( $prefix, array(
    'title'  => 'Service Bottom Setting',
    'fields' => array(

		
		
		array(
		'id'     => 'service_slider',
		'type'   => 'fieldset',
		'title'  => 'More Service Carousal',
		'fields' => array(
				array(
					'id'      => 'service_bottom_slider',
					'type'       => 'switcher',
				  'text_on'    => 'Show',
				  'text_off'   => 'Hide',
				  'text_width' => 100,
					'title'   => 'Service Carousal',
					'default' => 'Show'
				),
			array(
				  'id'      => 'service_bottom_slider_limit',
				  'type'    => 'number',
				  'title'   => 'Carousal Services Limit',
				  'default' => 4,
				),
		),
	),
		
				array(
		'id'     => 'service-contactsection',
		'type'   => 'fieldset',
		'title'  => 'Contact Us Section',
		'fields' => array(
				array(
					'id'      => 'service_bottom_section',
					'type'       => 'switcher',
				  'text_on'    => 'Show',
				  'text_off'   => 'Hide',
				  'text_width' => 100,
					'title'   => 'Contact Us Section',
					'default' => 'Show'
				),
				array(
				  'id'      => 'service-bottom-title',
				  'type'    => 'textarea',
				  'title'   => 'Contact Section Title',
				  'default' => 'Stay ahead in a rapidly world. Subscribe to <a href="#">Prysm Insights,</a>our monthly look at the critical issues facing global business.'
				),
				array(
					'id'    => 'service-main-bglogo',
					'type'  => 'media',
					'title' => 'Background logo',
					'library' => 'image',
				  ),
			array(
					'id'      => 'service_bottom_form',
					'type'       => 'switcher',
				  'text_on'    => 'Show',
				  'text_off'   => 'Hide',
				  'text_width' => 100,
					'title'   => 'Subscription Form',
					'default' => 'Show'
				),
			
		),
	),

    )
  ) );


}