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/testimonial-meta.php
<?php
// Control core classes for avoid errors
if( class_exists( 'CSF' ) ) {

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

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

  //

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

      //
     
       array(
        'id'    => 'testimonial_design',
        'type'  => 'text',
        'title' => 'Author Desigination',
		 'default' => 'Customer Manager'
      ),
		array(
        'id'    => 'testimonial_comment',
        'type'  => 'textarea',
        'title' => 'Author Comment',
		'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor to incididunt ut labore et dolore magna for aliqua. Quis ipsum suspendisse.'
      ),
		array(
		  'id'          => 'testimonial_stars',
		  'type'        => 'select',
		  'title'       => 'Select Author Rating',
		  'placeholder' => 'Select an option',
		  'options'     => array(
			'1'  => '1 Star',
			'2'  => '2 Star',
			'3'  => '3 Star',
			'4'  => '4 Star',
			'5'  => '5 Star',
		  ),
		  'default'     => '5'
		),

    )
  ) );


}