Forum Replies Created
-
Author
-
dorisarnaudParticipant
I see only the k element update 2.3 in my wordpress admin. Yesterday I’ve contacted by email Theme Forest… I’m waiting their response
dorisarnaudParticipantHello
If I have several custom post types
do I need to indicate all on the same line by separating them with a comma like this?‘pages’ => array (‘ adventures, hotels, vacation), // Post Type
dorisarnaudParticipantHello
I’ve copied the code below in functions.php file – child theme but it doesn’t work
Do I need to change some lines of code?add_filter( ‘kleo_meta_boxes’, ‘kleo_my_metaboxes’ );
function kleo_my_metaboxes( array $meta_boxes ) {// Start with an underscore to hide fields from custom fields list
$prefix = ‘_kleo_’;$meta_boxes[] = array(
‘id’ => ‘general_settings’,
‘title’ => ‘Theme General settings’,
‘pages’ => array( ‘custom_post_name’ ), // Post type
‘context’ => ‘normal’,
‘priority’ => ‘default’,
‘show_names’ => true, // Show field names on the left
‘fields’ => array(
array(
‘name’ => ‘Media’,
‘desc’ => ”,
‘id’ => ‘kleomedia’,
‘type’ => ‘tab’
),
array(
‘name’ => ‘Slider’,
‘desc’ => ‘Used when you select the Gallery format. Upload an image or enter an URL.’,
‘id’ => $prefix . ‘slider’,
‘type’ => ‘file_repeat’,
‘allow’ => ‘url’
),
array(
‘name’ => ‘Video oEmbed URL’,
‘desc’ => ‘Used when you select Video format. Enter a Youtube, Vimeo, Soundcloud, etc URL. See supported services at http://codex.wordpress.org/Embeds.’,
‘id’ => $prefix . ’embed’,
‘type’ => ‘oembed’,
),array(
‘name’ => ‘Video Self hosted(mp4)’,
‘desc’ => ‘Used when you select Video format. Upload your MP4 video file. Setting a self hosted video will ignore Video oEmbed above.’,
‘id’ => $prefix . ‘video_mp4’,
‘type’ => ‘file’,
),
array(
‘name’ => ‘Video Self hosted(ogv)’,
‘desc’ => ‘Used when you select Video format. Upload your OGV video file.’,
‘id’ => $prefix . ‘video_ogv’,
‘type’ => ‘file’,
),
array(
‘name’ => ‘Video Self hosted(webm)’,
‘desc’ => ‘Used when you select Video format. Upload your WEBM video file.’,
‘id’ => $prefix . ‘video_webm’,
‘type’ => ‘file’,
),array(
‘name’ => ‘Audio’,
‘desc’ => ‘Used when you select Audio format. Upload your audio file’,
‘id’ => $prefix . ‘audio’,
‘type’ => ‘file’,
),
array(
‘name’ => ‘Display settings’,
‘desc’ => ”,
‘id’ => ‘kleodisplay’,
‘type’ => ‘tab’
),
array(
‘name’ => ‘Centered text’,
‘desc’ => ‘Check to have centered text on this page’,
‘id’ => $prefix . ‘centered_text’,
‘type’ => ‘checkbox’,
‘value’ => ‘1’
),
array(
‘name’ => ‘Top bar status’,
‘desc’ => ‘Enable/disable site top bar’,
‘id’ => $prefix . ‘topbar_status’,
‘type’ => ‘select’,
‘options’ => array(
array(‘value’ => ”, ‘name’ => ‘Default’),
array(‘value’ => ‘1’, ‘name’ => ‘Visible’),
array(‘value’ => ‘0’, ‘name’ => ‘Hidden’)
),
‘value’ => ”
),
array(
‘name’ => ‘Hide Header’,
‘desc’ => ‘Check to hide whole header area’,
‘id’ => $prefix . ‘hide_header’,
‘type’ => ‘checkbox’,
‘value’ => ‘1’
),
array(
‘name’ => ‘Hide Footer’,
‘desc’ => ‘Check to hide whole footer area’,
‘id’ => $prefix . ‘hide_footer’,
‘type’ => ‘checkbox’,
‘value’ => ‘1’
),
array(
‘name’ => ‘Hide Socket area’,
‘desc’ => ‘Check to hide the area after footer that contains copyright info.’,
‘id’ => $prefix . ‘hide_socket’,
‘type’ => ‘checkbox’,
‘value’ => ‘1’
),
array(
‘name’ => ‘Custom Logo’,
‘desc’ => ‘Use a custom logo for this page only’,
‘id’ => $prefix . ‘logo’,
‘type’ => ‘file’,
),
array(
‘name’ => ‘Custom Logo Retina’,
‘desc’ => ‘Use a custom retina logo for this page only’,
‘id’ => $prefix . ‘logo_retina’,
‘type’ => ‘file’,
),
array(
‘name’ => ‘Transparent Main menu’,
‘desc’ => ‘Check to have Main menu background transparent.’,
‘id’ => $prefix . ‘transparent_menu’,
‘type’ => ‘checkbox’,
‘value’ => ‘1’
),array(
‘name’ => ‘Title section’,
‘desc’ => ”,
‘id’ => ‘kleoheader’,
‘type’ => ‘tab’
),
array(
‘name’ => ‘Hide the title’,
‘desc’ => ‘Check to hide the title when displaying the post/page’,
‘id’ => $prefix . ‘title_checkbox’,
‘type’ => ‘checkbox’,
‘value’ => ‘1’
),
array(
‘name’ => ‘Breadcrumb’,
‘desc’ => ”,
‘id’ => $prefix . ‘hide_breadcrumb’,
‘type’ => ‘select’,
‘options’ => array(
array(‘value’ => ”, ‘name’ => ‘Default’),
array(‘value’ => ‘0’, ‘name’ => ‘Visible’),
array(‘value’ => ‘1’, ‘name’ => ‘Hidden’)
),
‘value’ => ”
),array(
‘name’ => ‘Hide information’,
‘desc’ => ‘Check to hide contact info in title section’,
‘id’ => $prefix . ‘hide_info’,
‘type’ => ‘checkbox’,
‘value’ => ‘1’
)
)
);
return $meta_boxes;
}dorisarnaudParticipantHello
I have no experience with CSS
Could you sen me the class you useThank you
dorisarnaudParticipantHello
I’ve created custom post with WCK – Custom Fields and Custom Post Types Creator plugin for hotel listings
and The section : theme General Setting is not available
I join a screenshotThank you
Attachments:
You must be logged in to view attached files.dorisarnaudParticipantHello
I don’t see theme General Setting on a custom post
Theme General setting is available on page or post but not on custom post
How can I do to have theme General setting on a custom post
Thank youdorisarnaudParticipantThank you but I don’t see how I can add red color like on the picture I’ve sent
dorisarnaudParticipantOk thank you
You have not answered my question
I also need to remove meta info on the post page. How can I do ?dorisarnaudParticipantI was designed my website with kleo theme and not kleo child theme …
Is it wrong?How can I do to transfer all the work I’ve already done to child theme?
But I also need to remove meta info on the post page.
What is the best solution?
Thank you
dorisarnaudParticipantCan you check the url http://www.escapadedeluxe.com/type_aventure/croisiere-privee/
to understand that I would like remove : Infos to remove : Doris A., 28 octobre 2014, 0Thank you
dorisarnaudParticipantYour code doesn’t work. I’ve copied in kleo child and meta infos are there again.
dorisarnaudParticipantI was wrong I copied it in Kleo and now I no longer have access to my site.
What should I do? I do not have access to anythingdorisarnaudParticipantThank you giannisff for the link
I’ve copied all the code in functions.php – child theme
but I don’t understand what are the strings I need to rename – to remove Archive for category: category title
I just want to show category titleThank you for your help
-
AuthorPosts