| Server IP : 216.250.13.251 / Your IP : 216.73.217.37 Web Server : nginx/1.24.0 System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/gunay/wp-content/plugins/rt19-extentions/inc/metaboxes/ |
Upload File : |
<?php
#-----------------------------------------
# RT-Theme testimonial_custom_fields.php
#-----------------------------------------
#
# Staff Custom Fields
#
/**
* @var array $customFields Defines the custom fields available
*/
$customFields = array(
array(
"description" => __("Testimonials can be used to show your client's remarks about anything they commented on. You can have them shown in any part of your website. Attach a featured image to show a (rounded) thumbnail image of the person or company-logo beside the testimonial text. Testimonial items can be listed and called : <br /><br />1) In the Visual Composer by adding a testimonial element or in the page content by adding a testimonials shortcode.,<br />2) Directly in a page by the use of the testimonial shortcode.",'rt_theme'),
"type" => "info_text_only",
),
array(
"title" => __("The Testimonial Text",'rt_theme'),
"type" => "heading"
),
array(
"title" => __("Testimonial Text",'rt_theme'),
"description" => __("Testimonial Text : Enter the text which needs to appear as the testimonial text. Valid HTML code (h-tags, a-tags, divs) is allowed, but we suggest to keep the formatting as simple as possible.",'rt_theme'),
"name" => "_testimonial",
"type" => "textarea",
"label_position" => "block",
),
array(
"title" => __("Testimonial Info",'rt_theme'),
"type" => "heading"
),
array(
"type" => "table_start"
),
array(
"title" => __("Client's Name",'rt_theme'),
"description" => __("Client's Name : The supplied name will appear at the bottom of the Testimonial.",'rt_theme'),
"name" => "_name",
"type" => "inline_text",
"label_position" => "block",
),
array(
"type" => "td_col"
),
array(
"title" => __("Client's Job Title",'rt_theme'),
"description" => __("Client's Job Title : The supplied Job Title will appear at the bottom of the Testimonial.",'rt_theme'),
"name" => "_title",
"type" => "inline_text",
"label_position" => "block",
),
array(
"type" => "table_end"
),
array(
"type" => "table_start"
),
array(
"title" => __("Client's Link Text",'rt_theme'),
"description" => __("Client's Link Text: The text that the link will be applied to.",'rt_theme'),
"name" => "_link_text",
"type" => "inline_text",
"label_position" => "block",
),
array(
"type" => "td_col"
),
array(
"title" => __("Client's Link",'rt_theme'),
"description" => __("Client's Link : The supplied link will appear at the bottom of the Testimonial and will link to the supplied URL.",'rt_theme'),
"name" => "_link",
"type" => "inline_text",
"label_position" => "block",
),
array(
"type" => "table_end"
),
);
$settings = array(
"name" => __("Testimonial Options","rt_theme"),
"scope" => "testimonial",
"slug" => "rt_testimonial_custom_fields",
"capability" => "edit_post",
"context" => "normal",
"priority" => "high"
);
$rt_testimonial_custom_fields = new rt_meta_boxes($settings,$customFields);