Forum Replies Created
-
Author
-
RaduModerator
Hi,
Add this line to your kleo-child/functions.php
COPY CODEadd_filter( 'kleo_theme_options_ajax', '__return_false' );
Let me know if it works.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
The ftp details are correct but the Wp details aren’t correct, can you check please ?
Meanwhile add this code to kleo-child/functions.php
COPY CODE// add activity item share icons add_action('bp_activity_entry_meta', 'kleo_social_activity_share', 999); function kleo_social_activity_share() { ?> <span class="kleo-social-activity-share <?php echo bp_get_activity_type(); ?>"> <a class="kleo-social-activity-share-item facebook" onclick="window.open(this.href,'Share','width=600,height=400'); return false;" href="https://www.facebook.com/sharer/sharer.php?t=<?php echo bp_get_activity_feed_item_title(); ?>&u=<?php echo bp_get_activity_thread_permalink(); ?>"><i class="icon-facebook"></i></a> <a class="kleo-social-activity-share-item twitter" onclick="window.open(this.href,'Share','width=600,height=400'); return false;" href="http://twitter.com/share?text=<?php echo bp_get_activity_feed_item_title(); ?>&url=<?php echo bp_get_activity_thread_permalink(); ?>"><i class="icon-twitter"></i></a> <a class="kleo-social-activity-share-item google" onclick="window.open(this.href,'Share','width=600,height=400'); return false;" href="https://plus.google.com/share?url=<?php echo bp_get_activity_thread_permalink(); ?>"><i class="icon-gplus"></i></a> <a class="kleo-social-activity-share-item mail" href="mailto:?body=<?php echo bp_get_activity_feed_item_title(); ?> <?php echo bp_get_activity_thread_permalink(); ?>"><i class="icon-mail"></i></a> </span> <?php }
Let me know if it works.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorYou’re welcome
For the text area add this beside the rest of code
COPY CODE.wpcf7 textarea { color: #111 !important;}
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css to wp-admin -> theme options -> general settings -> quick CSS
COPY CODE.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="password"] { color:#555 !important; }
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css to your wp-admin -> theme options -> quick css
COPY CODEspan.free-badge { display: none !important; }
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Just look at the tutorial to understand the logic. ( https://www.youtube.com/watch?v=y9EYPmJRIAM )
After you upload your custom font to http://www.fontsquirrel.com/tools/webfont-generator then press download your kit.
Unzip that package then put the content of the unzipped pack to a folder named customfonts, then
upload the entire director ( customfonts ) to wp-content/themes/kleo-child/Then you need load the stylesheet in the theme
Add this code to your kleo-child/functions.php
COPY CODEfunction theme_name_scripts() { wp_enqueue_style( 'style-name', get_stylesheet_uri(). '/customfonts/stylesheet.css' ); } add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );
Then you need to set in CSS the font family for your font.
COPY CODEh1 {font-family:'YourFontFamilyName';}
Hope it helps
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Please take a look,test and adapt this snippet for your requirements
COPY CODE//1,2 represents id's of packages that you want to see your message function CheckMemberships() { if(pmpro_hasMembershipLevel(array(1,2), get_current_user_id())){ echo 'Please update your account to GOLD membership <a href="/">Link</a>' ;} } add_action('wp_head', 'CheckMemberships');
Add this code to your kleo-child/functions.php
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Place the attached files to root kleo-child directory.
Then make sure you have installed Kleo Child theme and activated.
on index.php at line 124 and on archive.php at line 63 you will see :
COPY CODEecho '<img src="http://www.dougmoon.com/728x90_2MM.jpg">';
Replace http://www.dougmoon.com/728x90_2MM.jpg with your adsense code.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionAttachments:
You must be logged in to view attached files.RaduModeratorHi again,
Try this code instead of earlier code
COPY CODEHeader set Set-Cookie wordpress_test_cookie=WP+Cookie+check
Let me know if it works.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
It works for me
COPY CODEfunction my_page_template_redirect() { if (is_page('groups')) { wp_redirect( home_url( '/testtheredirect/' ) ); } } add_action( 'template_redirect', 'my_page_template_redirect' );
Make sure the child theme is installed and activated
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
If you want to disable all animations use this css snippet
COPY CODE.kleo-transform .one-by-one-animated .start-animation .el-appear, .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; }
Add this code to wp-admin -> theme options -> general settings -> quick css
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
You can disable all animations at once with this css snippet
COPY CODE.kleo-transform .one-by-one-animated .start-animation .el-appear, .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; }
Cheers
RAdu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Try to test with this function instead.
COPY CODEadd_shortcode('custom_kleo_social_activity_share', 'custom_kleo_social_activity_share'); function custom_kleo_social_activity_share() { ?> <span class="kleo-social-activity-share <?php echo bp_get_activity_type(); ?>"> <a class="kleo-social-activity-share-item facebook" onclick="window.open(this.href,'Share','width=600,height=400'); return false;" href="https://www.facebook.com/sharer/sharer.php?t=<?php echo bp_get_activity_feed_item_title(); ?>&u=<?php echo bp_get_activity_thread_permalink(); ?>"><i class="icon-facebook"></i></a> <a class="kleo-social-activity-share-item twitter" onclick="window.open(this.href,'Share','width=600,height=400'); return false;" href="http://twitter.com/share?text=<?php echo bp_get_activity_feed_item_title(); ?>&url=<?php echo bp_get_activity_thread_permalink(); ?>"><i class="icon-twitter"></i></a> <a class="kleo-social-activity-share-item google" onclick="window.open(this.href,'Share','width=600,height=400'); return false;" href="https://plus.google.com/share?url=<?php echo bp_get_activity_thread_permalink(); ?>"><i class="icon-gplus"></i></a> </span> <?php }
Then add this shortcode where you want to show
[custom_kleo_social_activity_share]
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
With the code provided below the chat will be loaded only for memberships ID’s 2 and 3.
COPY CODEfunction CheckMemberships() { if(pmpro_hasMembershipLevel(array(2,3), get_current_user_id())){ echo ' <link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8"/> <script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script> ';} } add_action('wp_head', 'CheckMemberships');
Please understand this is a custom implementation you should probably hire a developer to can help with your desired requirements.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorYeah, you should enable the transparent menu only in pages where the layout permit this.
Regarding the footer, just put the links into text widget like :
COPY CODE<ul class="customamenu"> <li><a href="/">Home</a></li> <li><a href="/">Home2</a></li> <li><a href="/">Home3</a></li> <li><a href="/">Home4</a></li> <li><a href="/">Home5</a></li> </ul>
And this css to display Li’s inline
COPY CODEul.customamenu li { display: inline-block; margin-left: 10px; }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Try to put this code to .htaccess
COPY CODE<FilesMatch "^(wp-login|wp-log)\.php$"> Header set Set-Cookie wordpress_test_cookie=WP+Cookie+check </FilesMatch>
Let me know if it works.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css to your theme options -> general settings -> quick css
COPY CODE@media (max-width: 991px) #header .navbar-nav .dropdown-menu li a { color: #222 !important; }
This is a temporary solution and this issue will be fixed in next update.
Regards
RAdu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css snippet to wp-admin -> theme options -> general settings -> Quick CSS
COPY CODEbody.home-page .template-page, .sidebar { padding: 0 !important; } body.home-page .template-page.col-sm-8.tpl-right { padding-top: 0; }
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css to your theme options -> general settings -> Quick CSS
COPY CODEdiv#item-header h4.highlight { display: none !important;} .buddypress div#item-header .group-admins h3 {display:none !important;} .buddypress div#item-header div#item-header-content span.activity {margin-top:20px;}
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css to your wp-admin -> Theme Options -> General settings -> Quick CSS
COPY CODE@media (max-width: 480px){ #logo_img { max-width: 275px; } }
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
The solution that i have you provided it allows you to load the cometchat only for the mentioned level ID’s that are written here
COPY CODEif(pmpro_hasMembershipLevel(array(1,2,3), get_current_user_id()))
Where 1,2,3 are the memberships packs ID’s.
This is manually created code snipped and it will not provide you any additional settings in theme options panel.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Use this instead the code from above
COPY CODEarticle.category-uncategorized h3.post-title.entry-title {border-left-color: red !important;} article.category-uncategorized2 h3.post-title.entry-title {border-left-color: green !important;} article.category-uncategorized3 h3.post-title.entry-title {border-left-color: yellow !important;}
Replace uncategorized2 and uncategorized3 with your category slugs also replace the colors with your desired colors.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Ok, i understand now 😀
COPY CODE@media (max-width: 991px){ .kleo-main-header .navbar-collapse.collapse { display:block !important; } } ul#menu-mars-search li { float: left !important; width: auto !important; display: inline-block !important; } ul#menu-mars-search li a { width: auto !important; float: left !important; } .kleo-mobile-switch { display: none; }
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Please add this CSS to wp-admin -> theme settings -> general options -> quick CSS
COPY CODEbody.home ul#menu-product-categories { padding: 0 !important; }
Let me know if it works.
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Use add this php code to your kleo-child/functions.php
COPY CODEfunction CheckMemberships() { if(pmpro_hasMembershipLevel(array(1,2,3), get_current_user_id())){ echo ' <link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8"> <script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script> ';} } add_action('wp_head', 'CheckMemberships');
if(pmpro_hasMembershipLevel(array(1,2,3)
1,2,3 represents the membership package id, you can add more or less packages.
Now the cometchat widget will be loaded only if logged user has one of that memberships id.
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
I’ve tried to connect to ftp but unsuccessful,
I’ve added a function to kleo-child/functions.php via admin pannel, now i’m not able to view site/dashboard i see that you have renamed the theme directory from kleo to kleo–
Anyways just put this code to your kleo-child/style.css
COPY CODEif ( ! function_exists( 'kleo_entry_meta' ) ) : /** * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. * Create your own kleo_entry_meta() to override in a child theme. * @since 1.0 */ function kleo_entry_meta( $echo = true, $att = array() ) { global $kleo_config; $meta_list = array(); $author_links = ''; $meta_elements = sq_option( 'blog_meta_elements', $kleo_config['blog_meta_defaults'] ); // Translators: used between list items, there is a space after the comma. if ( in_array( 'categories', $meta_elements ) ) { $categories_list = get_the_category_list(__(', ', 'kleo_framework')); } // Translators: used between list items, there is a space after the comma. if ( in_array('tags', $meta_elements ) ) { $tag_list = get_the_tag_list('', __(', ', 'kleo_framework')); } $date = sprintf( '<a href="%1$s" rel="bookmark" class="post-time">' . '<time class="entry-date" datetime="%2$s">%3$s</time>' . '<time class="modify-date hide hidden updated" datetime="%4$s">%5$s</time>' . '</a>', esc_url( get_permalink() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_html( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); if ( is_array( $meta_elements ) && !empty( $meta_elements ) ) { if ( in_array( 'author_link', $meta_elements ) || in_array( 'avatar', $meta_elements ) ) { /* If buddypress is active then create a link to Buddypress profile instead */ if (function_exists( 'bp_is_active' ) ) { $author_link = esc_url( bp_core_get_userlink( get_the_author_meta( 'ID' ), $no_anchor = false, $just_link = true ) ); $author_title = esc_attr( sprintf( __( 'View %s\'s profile', 'kleo_framework' ), get_the_author() ) ); } else { $author_link = esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); $author_title = esc_attr( sprintf( __( 'View all POSTS by %s', 'kleo_framework' ), get_the_author() ) ); } $author = sprintf( '<a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s %4$s</a>', $author_link, $author_title, in_array( 'avatar', $meta_elements ) ? get_avatar( get_the_author_meta( 'ID' ), 50) : '', in_array( 'author_link', $meta_elements ) ? '<span class="author-name">' . get_the_author() . '</span>' : '' ); $meta_list[] = '<small class="meta-author author vcard">' . $author . '</small>'; } if ( function_exists( 'bp_is_active' ) ) { if ( in_array( 'profile', $meta_elements ) ) { $author_links .= '<a href="' . bp_core_get_userlink( get_the_author_meta( 'ID' ), $no_anchor = false, $just_link = true ) . '">' . '<i class="icon-user-1 hover-tip" ' . 'data-original-title="' . esc_attr(sprintf(__('View profile', 'kleo_framework'), get_the_author())) . '"' . 'data-toggle="tooltip"' . 'data-placement="top"></i>' . '</a>'; } if ( bp_is_active( 'messages' ) ) { if ( in_array( 'message', $meta_elements ) ) { $author_links .= '<a href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . bp_core_get_username( get_the_author_meta( 'ID' ) ) ) . '">' . '<i class="icon-mail hover-tip" ' . 'data-original-title="' . esc_attr(sprintf(__('Contact %s', 'kleo_framework'), get_the_author())) . '" ' . 'data-toggle="tooltip" ' . 'data-placement="top"></i>' . '</a>'; } } } if ( in_array( 'archive', $meta_elements ) ) { $author_links .= '<a href="' . esc_url(get_author_posts_url(get_the_author_meta('ID'))) . '">' . '<i class="icon-docs hover-tip" ' . 'data-original-title="' . esc_attr(sprintf(__('View all posts by %s', 'kleo_framework'), get_the_author())) . '" ' . 'data-toggle="tooltip" ' . 'data-placement="top"></i>' . '</a>'; } } if ( $author_links != '' ) { $meta_list[] = '<small class="meta-links">' . $author_links . '</small>'; } if (in_array( 'date', $meta_elements ) ) { $meta_list[] = '<small>' . $date . '</small>'; } $cat_tag = array(); if ( isset( $categories_list ) && $categories_list ) { $cat_tag[] = $categories_list; } if ( isset( $tag_list ) && $tag_list ) { $cat_tag[] = $tag_list; } if (!empty($cat_tag)) { $meta_list[] = '<small class="meta-category">'.implode(", ",$cat_tag).'</small>'; } //comments if ((!isset($att['comments']) || (isset($att['comments']) && $att['comments'] !== false)) && in_array( 'comments', $meta_elements )) { $meta_list[] = '<small class="meta-comment-count"><a href="'. get_permalink().'#comments">'.get_comments_number() . ' <i class="icon-chat-1 hover-tip" ' . 'data-original-title="'.sprintf( _n( 'This article has one comment', 'This article has %1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'" ' . 'data-toggle="tooltip" ' . 'data-placement="top"></i>' . '</a></small>'; } $meta_separator = isset( $att['separator'] ) ? $att['separator'] : sq_option( 'blog_meta_sep', ', ') ; if ( $echo ) { echo implode( $meta_separator, $meta_list ); } else { return implode( $meta_separator, $meta_list ); } // Add third plugin to show post view echo do_shortcode('[post-views]'); } endif;
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
I’ve tried to connect to ftp but unsuccessful,
I’ve added a function to kleo-child/functions.php via admin pannel, now i’m not able to view site/dashboard i see that you have renamed the theme directory from kleo to kleo–
Anyways just put this code to your kleo-child/style.css
COPY CODEif ( ! function_exists( 'kleo_entry_meta' ) ) : /** * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. * Create your own kleo_entry_meta() to override in a child theme. * @since 1.0 */ function kleo_entry_meta( $echo = true, $att = array() ) { global $kleo_config; $meta_list = array(); $author_links = ''; $meta_elements = sq_option( 'blog_meta_elements', $kleo_config['blog_meta_defaults'] ); // Translators: used between list items, there is a space after the comma. if ( in_array( 'categories', $meta_elements ) ) { $categories_list = get_the_category_list(__(', ', 'kleo_framework')); } // Translators: used between list items, there is a space after the comma. if ( in_array('tags', $meta_elements ) ) { $tag_list = get_the_tag_list('', __(', ', 'kleo_framework')); } $date = sprintf( '<a href="%1$s" rel="bookmark" class="post-time">' . '<time class="entry-date" datetime="%2$s">%3$s</time>' . '<time class="modify-date hide hidden updated" datetime="%4$s">%5$s</time>' . '</a>', esc_url( get_permalink() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_html( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); if ( is_array( $meta_elements ) && !empty( $meta_elements ) ) { if ( in_array( 'author_link', $meta_elements ) || in_array( 'avatar', $meta_elements ) ) { /* If buddypress is active then create a link to Buddypress profile instead */ if (function_exists( 'bp_is_active' ) ) { $author_link = esc_url( bp_core_get_userlink( get_the_author_meta( 'ID' ), $no_anchor = false, $just_link = true ) ); $author_title = esc_attr( sprintf( __( 'View %s\'s profile', 'kleo_framework' ), get_the_author() ) ); } else { $author_link = esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); $author_title = esc_attr( sprintf( __( 'View all POSTS by %s', 'kleo_framework' ), get_the_author() ) ); } $author = sprintf( '<a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s %4$s</a>', $author_link, $author_title, in_array( 'avatar', $meta_elements ) ? get_avatar( get_the_author_meta( 'ID' ), 50) : '', in_array( 'author_link', $meta_elements ) ? '<span class="author-name">' . get_the_author() . '</span>' : '' ); $meta_list[] = '<small class="meta-author author vcard">' . $author . '</small>'; } if ( function_exists( 'bp_is_active' ) ) { if ( in_array( 'profile', $meta_elements ) ) { $author_links .= '<a href="' . bp_core_get_userlink( get_the_author_meta( 'ID' ), $no_anchor = false, $just_link = true ) . '">' . '<i class="icon-user-1 hover-tip" ' . 'data-original-title="' . esc_attr(sprintf(__('View profile', 'kleo_framework'), get_the_author())) . '"' . 'data-toggle="tooltip"' . 'data-placement="top"></i>' . '</a>'; } if ( bp_is_active( 'messages' ) ) { if ( in_array( 'message', $meta_elements ) ) { $author_links .= '<a href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . bp_core_get_username( get_the_author_meta( 'ID' ) ) ) . '">' . '<i class="icon-mail hover-tip" ' . 'data-original-title="' . esc_attr(sprintf(__('Contact %s', 'kleo_framework'), get_the_author())) . '" ' . 'data-toggle="tooltip" ' . 'data-placement="top"></i>' . '</a>'; } } } if ( in_array( 'archive', $meta_elements ) ) { $author_links .= '<a href="' . esc_url(get_author_posts_url(get_the_author_meta('ID'))) . '">' . '<i class="icon-docs hover-tip" ' . 'data-original-title="' . esc_attr(sprintf(__('View all posts by %s', 'kleo_framework'), get_the_author())) . '" ' . 'data-toggle="tooltip" ' . 'data-placement="top"></i>' . '</a>'; } } if ( $author_links != '' ) { $meta_list[] = '<small class="meta-links">' . $author_links . '</small>'; } if (in_array( 'date', $meta_elements ) ) { $meta_list[] = '<small>' . $date . '</small>'; } $cat_tag = array(); if ( isset( $categories_list ) && $categories_list ) { $cat_tag[] = $categories_list; } if ( isset( $tag_list ) && $tag_list ) { $cat_tag[] = $tag_list; } if (!empty($cat_tag)) { $meta_list[] = '<small class="meta-category">'.implode(", ",$cat_tag).'</small>'; } //comments if ((!isset($att['comments']) || (isset($att['comments']) && $att['comments'] !== false)) && in_array( 'comments', $meta_elements )) { $meta_list[] = '<small class="meta-comment-count"><a href="'. get_permalink().'#comments">'.get_comments_number() . ' <i class="icon-chat-1 hover-tip" ' . 'data-original-title="'.sprintf( _n( 'This article has one comment', 'This article has %1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'" ' . 'data-toggle="tooltip" ' . 'data-placement="top"></i>' . '</a></small>'; } $meta_separator = isset( $att['separator'] ) ? $att['separator'] : sq_option( 'blog_meta_sep', ', ') ; if ( $echo ) { echo implode( $meta_separator, $meta_list ); } else { return implode( $meta_separator, $meta_list ); } // Add third plugin to show post view echo do_shortcode('[post-views]'); } endif;
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
You can assign automatically background color based on category in masonry view by adding this css to wp-admin -> theme options -> general settings -> quick css -> then save
COPY CODE.kleo-masonry article.category-uncategorized { background-color: red; } .kleo-masonry article.category-othercategory { background-color: green; } .kleo-masonry article.category-othercategory2 { background-color: yellow; }
Just rename the othercategory and othercategory2 with your categories slugs and put your desired colors.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Not really
Try to put this CSS in wp-admin -> theme options -> general options -> Quick CSS
COPY CODE.mejs-container embed,iframe,object,video {max-width: 100%;max-height: 350px;}
Let me know if it works
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
You can change the quote background color using this CSS
COPY CODEarticle .format-quote .post-content { background-color: red !important; } .masonry-listing .format-image .post-title { border-left: 3px solid green !important; }
Replace red and green with your desired colors.
Add this css snippet to wp-admin -> theme options -> general settings -> quick css
Regards
RAdu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Is not recommended to modify theme core files because on the next update your changes will disappear.
The best practice is to use child theme and the css adjustments to be made in kleo-child/style.css
To overwrite the color of the read more button use this code in kleo-child/style.css
COPY CODE.vc_btn3.vc_btn3-color-juicy-pink, .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat { background-color:green !important; }
Replace green with your desired color
For the submit now button use this css
COPY CODEbutton.button.submit-button { background-color: red !important; }
Replace red with your desired color.
Cheers
RAdu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css to wp-admin -> theme options -> general settings -> quick css
COPY CODE.kleo-mobile-switch { display: none; }
Cheers
RAdu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
The behavior of top bar is that, to be split in 2 rows and for the moment this cannot be adapted for mobiles.
At least not in quick way so I can provide you a fix for this.
Use the next code instead the code that i have provided you above , we will use media queries tags to be used only for desktops
COPY CODE@media (min-width: 990px) { .header-color.social-header { position: fixed; width: 100% !important; } .navbar-transparent.on-light-bg .navbar .kleo-main-header.header-scrolled { margin-top: 34px !important;} .kleo-main-header.header-normal { margin-top: 34px !important; } }
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Add this css in wp-admin -> theme options -> general settings -> quick css
COPY CODE.main-color .hr-title abbr { color: red !important; } #buddypress div.profile .dl-horizontal dt { color: green !important; }
Replace red and green with your desired colors
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
Sorry for misunderstanding,
1. Remove the code have you provided from Quick CSS section from Theme Options.
2. Paste the code from below to your kleo-child/functions.php
COPY CODEif( is_user_logged_in() ) { } else { echo ' <style> div#subnav {display:none !important;} </style> '; }
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
You can do this easily by using this css snippet.
COPY CODEdiv#subnav {display:none !important;}
Add this css snippet to Wp-admin -> Theme options -> Quick CSS
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
See this small video : https://drive.google.com/file/d/0Bxo5b6iHWRMwMUZpa2RpeW1xUG8/view
COPY CODE[kleo_restrict type="guest"]<h1>This text will be displayed only for guest users </h1>[/kleo_restrict]
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
For the first question use the below CSS
Add this css to wp-admin -> Theme Options -> General Settings -> Quick CSS
COPY CODE.header-color.social-header { position: fixed; width: 100% !important; } .navbar-transparent.on-light-bg .navbar .kleo-main-header.header-scrolled { margin-top: 34px !important; } .kleo-main-header.header-normal { margin-top: 34px !important; }
For the second question please provide login credentials to can see your website.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorYou’re welcome
I given a closer look into the issue and you should better use this snippet :
COPY CODE# Remove WordPress' canonical links remove_action('wp_head', 'rel_canonical');
Instead of the code provided you earlier.
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHi,
You can disable one of the canonical tag by using this function adding in kleo-child/function.php
COPY CODE// Remove Canonical Link Added By Yoast WordPress SEO Plugin function at_remove_dup_canonical_link() { return false; } add_filter( 'wpseo_canonical', 'at_remove_dup_canonical_link' );
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts