| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/.trash/wp-content.1/themes/wp-buka/includes/theme-panel/ |
Upload File : |
<?php
// Prevent Direct Access
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
CSF::createSection( $prefix, [
'title' => __('Blog Pages', 'wp-buka'),
'fields' => [
[
'id' => 'blog_title',
'type' => 'text',
'title' => __('Page Title in Blog Pages', 'wp-buka'),
'default' => __('Blog', 'wp-buka'),
],
[
'type' => 'submessage',
'style' => 'info',
'content' => __('Posts List Settings', 'wp-buka'),
],
[
'id' => 'blog_list_categories',
'type' => 'checkbox',
'title' => __('Show Posts Categories', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_list_author',
'type' => 'checkbox',
'title' => __('Show Posts Author', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_list_date',
'type' => 'checkbox',
'title' => __('Show Posts Date', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_list_comments',
'type' => 'checkbox',
'title' => __('Show Posts Comments Number', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_readmore',
'type' => 'text',
'title' => __('Read More Button Text', 'wp-buka'),
'description' => __('To hide the button set its text empty.', 'wp-buka'),
'default' => __('Read More', 'wp-buka'),
],
[
'type' => 'submessage',
'style' => 'info',
'content' => __('Single Post Settings', 'wp-buka'),
],
[
'id' => 'blog_post_categories',
'type' => 'checkbox',
'title' => __('Show Post Categories', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_post_author',
'type' => 'checkbox',
'title' => __('Show Post Author', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_post_date',
'type' => 'checkbox',
'title' => __('Show Post Date', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_post_comments',
'type' => 'checkbox',
'title' => __('Show Post Comments Number', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_post_tags',
'type' => 'checkbox',
'title' => __('Show Post Tags', 'wp-buka'),
'default' => true,
],
[
'id' => 'blog_post_comments_title',
'type' => 'text',
'title' => __('Comments Section Title', 'wp-buka'),
'default' => __('Comments', 'wp-buka'),
],
[
'id' => 'blog_post_comment_form_title',
'type' => 'text',
'title' => __('Comment Form Title', 'wp-buka'),
'default' => __('Your Comment', 'wp-buka'),
],
[
'type' => 'content',
'content' => __('Blog posts can be managed from "Posts" section in wordpress panel.', 'wp-buka'),
],
]
] );