Forum Replies Created
-
Author
-
sharmstrModerator
They didnt change because you said your blog page, not your post pages.
COPY CODE.blog .kleo-page, .single-post .kleo-page { background-color: #fff !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorIts been fixed in the next update. In the meantime, go to /kleo/lib/plugin-buddypress/config.php and around line 426, change
COPY CODEglobal $bp;
to this
COPY CODEif ( ! bp_group_use_cover_image_header() ) { return; } global $bp;
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModerator@beeverywhere Its been fixed in the next update. In the meantime, go to /kleo/lib/plugin-buddypress/config.php and around line 426, change
COPY CODEglobal $bp;
to this
COPY CODEif ( ! bp_group_use_cover_image_header() ) { return; } global $bp;
@corpor8chic I’ve already done this for you.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 20, 2015 at 18:20 in reply to: New Forum add from a User and i cant chance cover Photos #94427sharmstrModeratorIts been fixed in the next update. In the meantime, go to /kleo/lib/plugin-buddypress/config.php and around line 426, change
COPY CODEglobal $bp;
to this
COPY CODEif ( ! bp_group_use_cover_image_header() ) { return; } global $bp;
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorWhatever plugin you’re using for that page is causing the issue.
put this in your css
COPY CODE.post-type-archive-product .page-title { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorA few options
Sets main container background to white, but leaves the image page background
COPY CODE.home-page .kleo-page { background-color: #fff !important; }
Sets the entire page background to white
COPY CODE.home-page { background-color: #fff !important; background-image: none !important; }
Put either in your quick css.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorI blew up your site. Can you go into your child theme’s functions.php file and change
COPY CODE<?php var_dump(debug_backtrace()); ?>
to
COPY CODEvar_dump(debug_backtrace());
Sorry 🙁
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorI’ve updated the code to open a new window. If the developers approve it, it will be in the next update. Until then, you can edit /kleo/page-parts/posts-social-share.php
Change the pinterest code from this
COPY CODE<span class="kleo-pinterest"> <a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php if (function_exists('the_post_thumbnail')) echo wp_get_attachment_url(get_post_thumbnail_id()); ?>&description=<?php echo strip_tags(get_the_title()); ?>"> <i class="icon-pinterest-circled"></i> </a> </span>
to this
COPY CODE<span class="kleo-pinterest"> <a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php if (function_exists('the_post_thumbnail')) echo wp_get_attachment_url(get_post_thumbnail_id()); ?>&description=<?php echo strip_tags(get_the_title()); ?>" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"> <i class="icon-pinterest-circled"></i> </a> </span>
As far as the email form goes, you’d have to code that yourself.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorPut this in your quick css
COPY CODE.kleo_bp_profile_member_type_label { color: #fff !important; font-weight: 700 !important; }
Put this in your child theme’s functions.php file.
COPY CODEadd_filter('kleo_bp_profile_member_type_label', 'add_link_to_diretory'); function add_link_to_diretory( $member_type_label ) { $member_type = bp_get_member_type( bp_displayed_user_id() ); if ( empty( $member_type ) ) { return; } $member_type_object = bp_get_member_type_object( $member_type ); if($member_type_object){ $member_type_label = '<p class="kleo_bp_profile_member_type_label"><a href="' . bp_get_members_directory_permalink() . 'type/' . $member_type_object->directory_slug . '">' . esc_html( $member_type_object->labels['singular_name'] ) . '</a></p>'; } return $member_type_label; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 18, 2015 at 18:50 in reply to: How can I eliminate Archive for category: Category name so that it would become Categoryname? #94132sharmstrModeratorI see the code. See attached.
In any case, here it is
COPY CODE//Add me to child theme functions.php function kleo_title() { $output = ""; if ( is_category() ) { $output = __('Archive for category:','kleo_framework')." ".single_cat_title('',false); } elseif (is_day()) { $output = __('Archive for date:','kleo_framework')." ".get_the_time('F jS, Y'); } elseif (is_month()) { $output = __('Archive for month:','kleo_framework')." ".get_the_time('F, Y'); } elseif (is_year()) { $output = __('Archive for year:','kleo_framework')." ".get_the_time('Y'); } elseif (is_search()) { global $wp_query; if(!empty($wp_query->found_posts)) { if($wp_query->found_posts > 1) { $output = $wp_query->found_posts ." ". __('search results for:','kleo_framework')." ".esc_attr( get_search_query() ); } else { $output = $wp_query->found_posts ." ". __('search result for:','kleo_framework')." ".esc_attr( get_search_query() ); } } else { if(!empty($_GET['s'])) { $output = __('Search results for:','kleo_framework')." ".esc_attr( get_search_query() ); } else { $output = __('To search the site please enter a valid term','kleo_framework'); } } } elseif (is_author()) { $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); $output = __('Author Archive','kleo_framework')." "; if(isset($curauth->nickname)) $output .= __('for:','kleo_framework')." ".$curauth->nickname; } elseif (is_tag()) { $output = __('Tag Archive for:','kleo_framework')." ".single_tag_title('',false); } elseif(is_tax()) { $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); $output = __('Archive for:','kleo_framework')." ".$term->name; } elseif ( is_front_page() && !is_home() ) { $output = get_the_title(get_option('page_on_front')); } elseif ( is_home() && !is_front_page() ) { $output = get_the_title(get_option('page_for_posts')); } elseif ( is_404() ) { $output = __('Error 404 - Page not found','kleo_framework'); } else { $output = get_the_title(); } if (isset($_GET['paged']) && !empty($_GET['paged'])) { $output .= " (".__('Page','kleo_framework')." ".$_GET['paged'].")"; } return $output; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.sharmstrModeratorThat’s correct. Its called “Main Section” which means it will only change the main content area. Pop this into your quick css and you should be good.
COPY CODEbody { background-color: #282828 !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorI cant really debug since its a paid plugin. Instead of the css I gave you, can you try this in your child theme’s functions.php file?
COPY CODEadd_filter( 'kleo_theme_settings', 'add_review_icon' ); function add_review_icon( $kleo ) { $kleo['set'][] = array( 'id' => 'bp_nav_reviews', 'title' => esc_html__( 'Reviews', 'buddyapp' ), 'type' => 'select', 'default' => 'panorama-fisheye', 'choices' => kleo_icons_array(), 'section' => 'kleo_section_bp_icons', 'customizer' => true, 'transport' => 'refresh' ); return $kleo; }
After you add it, go back into customizer and try to set a new icon.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModerator1 – You can add the social links you’ve set in theme options by adding [kleo_social_icons] to one of the footer widgets. Then add this to your quick css.
COPY CODE#footer .kleo-social-icons li { display: inline; font-size: 20px; } #footer .kleo-social-icons .ts-text { display: none; }
2 – Buddypress doesnt have group categories by default. You’ll have to find a plugin for that. I found this, but have never used it: http://wptavern.com/new-plugin-adds-taxonomies-to-buddypress-groups
3 – You can use whatever size you want. The logo will be downsized to fit depending on how you’ve set up your header. By default, it will be 88px tall.
4 – There’s nothing built into PMPro for that. It will require either a plugin or custom code.
5 – You’ll need a plugin for that. Try Invite Anyone. Its written by the same people who work on the buddypress plugin.
6 – http://www.yoursite.com/members Unless you’ve set a different page in Settings > Buddypress > Pages
7 – Same answer as 4.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorUnfortunately, since Buddyapp is so new I havent dug into learning the code on that yet to be able to debug it. You can change it with css though.
COPY CODE#item-header .icon-panorama-fisheye:before { content: "\e857"; }
Change content to the code of the icon you want to use. If you tell me which icon you want to use, I can get the code for you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorPut this in your quick css
COPY CODE.caret:after { color: #fff !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorI added this in your quick css
COPY CODE#buddypress #whats-new-options { display: inline !important; }
Let me know if it works now.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThe code I gave to will change the h1 to h2. If you want to remove the h1 completely, just delete that part of the script. Delete
COPY CODEecho '<h2 class="page-title">' . $title . '</h2>';
I hope that’s what you mean.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorPut this in your child theme’s functions.php file
COPY CODEfunction kleo_title_main_content() { if (sq_option('title_location', 'breadcrumb') == 'main') { $title_status = true; if( is_singular() && get_cfield( 'title_checkbox' ) == 1 ) { $title_status = false; } if ( $title_status ) { if ( (is_singular() ) && get_cfield( 'custom_title' ) && get_cfield( 'custom_title' ) != '' ) { $title = get_cfield( 'custom_title' ); } else { $title = kleo_title(); } echo '<div class="container">'; echo '<h2 class="page-title">' . $title . '</h2>'; echo '</div>'; } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYou can add this to your quick css.
COPY CODE.rating-top { width: 100% !important; height: 100% !important; z-index: 1000 !important; }
If it were me, I’d ask the developers how to edit their plugin so that it puts a new line between the stars and the ‘based on’ text.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this in your quick css
COPY CODE.fb_type_standard, .fb_type_standard iframe { height: 40px !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorBecause you’re using a left side bar. Here’s the code for that. Sorry
COPY CODE@media (min-width: 768px) { .woocommerce-page .sidebar.sidebar-main.col-sm-3.sidebar-left.col-sm-pull-9 { width: 15%; } .woocommerce-page .template-page.col-sm-9.col-sm-push-3.tpl-left { width: 85%; } .woocommerce-page .template-page.col-sm-push-3 { left: calc(15% - 1px); } .woocommerce-page .col-sm-pull-9 { right:85%; } .woocommerce-page .sidebar .search-field { width: 160px; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this in your quick css (assuming your have a right sidebar since you didnt say)
COPY CODE@media (min-width: 768px) { .woocommerce-page .template-page.col-sm-9.tpl-right { width:85%; } .woocommerce-page .sidebar.sidebar-main.col-sm-3.sidebar-right { width: 15%; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorIt took me forever to figure this out, so I wont be tweaking it for you, but….
Try this code if you want. It doesnt differentiate between the Kleo Activity Stream shortcode and the buddypress activity page. In other words, it will filter all instances of New Post activities. It looks for a featured image for the post. If it finds one, it only returns the featured image. If it doesnt find one, it displays the post excerpt as it normally would.
COPY CODEadd_filter( 'bp_get_activity_content_body', 'strip_post_excerpt' ); function strip_post_excerpt( $array ) { global $activities_template; if ( 'new_blog_post' == $activities_template->activity->type ) { $thumb = get_the_post_thumbnail( $activities_template->activity->secondary_item_id, 'full' ); if ( $thumb ) { $array = $thumb; } } return $array; }
I hope you find it useful.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorIn that link, I say to add the following to your child theme’s functions.php file. Did you try that?
COPY CODEadd_filter( 'kleo_theme_options_ajax', '__return_false' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorGotcha. But…. where is the image coming from. From an rtMedia upload with the activity update? From a featured image on a published post activity?
If its from rtMedia upload via an update, you can try
COPY CODE.kleo-activity-streams .rtmedia-activity-text { display: none !important; }
If its from a published post, that would be more difficult since everything is contained within a p tag. There is no separation of text and image. Kleo only stylizes Buddypress output so, you’d have to ask the buddypress guys how to edit their published post activity function so that it doesnt save the text of the post, only the featured image, to the activity table. Or how to change it so it adds a tag around the text and a separate tag around the image so you can control the display of each via css.
Hope that make sense.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorNone of that is up to me. I’m a user like you that’s been made a moderator here. I’ll forward on to the developers.
I’m not getting a 404 on that topic. In any case, here’s the contents
Fist thing, Kleo uses Fontello for Vector icons.
To see the icons that are included follow the next steps:
1. Go to http://fontello.com/
2. Click on the litte tool icon at top and Import
3. Go to the theme main downloaded package from Themeforest in Assets/Fontello and select the font-icons.json
4. Now you’ll see all the icons that are available with a rounded border.All the icons are added by CSS, so you need to add some CSS rules to change the default icons defined by us.
This is the default CSS for the icons:COPY CODE#buddypress div#item-nav ul #activity-personal-li a:before, #buddypress div#item-nav ul #home-groups-li a:before { content: "\e8ed"; } #buddypress div#item-nav ul #xprofile-personal-li a:before { content: "\e98e"; } #buddypress div#item-nav ul #notifications-personal-li a:before { content: "\e863"; } #buddypress div#item-nav ul #messages-personal-li a:before { content: "\e98c"; } #buddypress div#item-nav ul #friends-personal-li a:before { content: "\e98f"; } #buddypress div#item-nav ul #groups-personal-li a:before { content: "\e995"; } #buddypress div#item-nav ul #forums-personal-li a:before, #buddypress div#item-nav ul #nav-forum-groups-li a:before { content: "\e97b"; } #buddypress div#item-nav ul #buddydrive-personal-li a:before, #buddypress div#item-nav ul #nav-buddydrive-groups-li a:before { content: "\e8d7"; } #buddypress div#item-nav ul #media-personal-li a:before, #buddypress div#item-nav ul #rtmedia-media-nav-groups-li a:before { content: "\e8c5"; } #buddypress div#item-nav ul #settings-personal-li a:before, #buddypress div#item-nav ul #admin-groups-li a:before { content: "\e98b"; } #buddypress div#item-nav ul li.dropdown a:before { content: "\e97c"; } #buddypress div#item-nav ul #members-groups-li a:before { content: "\e995"; } #buddypress div#item-nav ul #invite-groups-li a:before { content: "\e991"; } #buddypress div#item-nav ul #achievements-personal-li a:before { content: "\e996"; } #buddypress div#item-nav ul #blogs-personal-li a:before { content: "\e802"; } #buddypress div#item-nav ul #articles-personal-li a:before { content: "\e870"; }
To override an icon, lets say the Activity icon:
– we identify it from list above and copy the code
– go to Fontello and get the code for your new icon by going to the Customize codes tab
– change the copied text with the new value
– add this CSS to your child theme/style.css
Example to replace the Activity icon with a heart icon:COPY CODE#buddypress div#item-nav ul #activity-personal-li a:before { content: "\E80F"; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorIs this what you’re after?
COPY CODE.kleo-activity-streams .activity-inner { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this in your child theme’s functions.php file
COPY CODEadd_action( 'init', 'remove_activity_animation' ); function remove_activity_animation() { remove_filter('bp_get_activity_css_class', 'kleo_bp_activity_classes'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorI set this at the bottom of your quick css.
COPY CODE/*------ ACTIVITY FEED ---*/ .kleo-transform .animated.animate-when-almost-visible { opacity:1 !important; }
btw – you upgraded Kleo but failed to update VC. You need to be running VC 4.8.1 with Kleo 3.1.3
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 14, 2015 at 20:02 in reply to: Transparent header with visible Logo, Social Icons, Contact and Menu. #93216sharmstrModeratorSorry – try this
COPY CODE#top-social li a { border-right: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYou didnt replace the 2 echo like I’ve instructed
COPY CODEfunction follow_shortcode() { $output = '<div class="um-followers-user-btn">'; if ( $user_id1 == get_current_user_id() ) { $output .= '<a href="' . um_edit_profile_url() . '">' . __('Edit profile','um-followers') . '</a>'; } else { $output .= $um_followers->api->follow_button( $user_id1, get_current_user_id() ); } $ouptput .= '</div>'; echo $output; } add_shortcode( 'followBtn', 'follow_shortcode' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYou code syntax is wrong.
You should be doing “$output =” for both div lines and for the two lines that have echos. Then at the end you echo out $output
COPY CODEecho $output;
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this in your quick css and change the font to whatever you want.
COPY CODE#menu-main-menu { font-family: "Roboto Condensed" !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorJust try this in your child’s functions.php file
COPY CODEadd_filter('bp_core_fetch_avatar_no_grav', '__return_true');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this in your quick css
COPY CODE#buddypress #profile-edit-form .editfield { padding: 0 !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorAs it says, you need to change the strings. Example
COPY CODE$output = __('Archive for category:','kleo_framework')." ".single_cat_title('',false);
to
COPY CODE$output = __('','kleo_framework')." ".single_cat_title('',false);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorI’m not getting a 404. In any case, this is what that topic says….
For KLEO we have created a function that generates the titles for all WordPress specific pages. You just need to redefine this function in your child theme/functions.php and rename the strings. Make sure to have the child theme activated.
COPY CODE//Add me to child theme functions.php function kleo_title() { $output = ""; if ( is_category() ) { $output = __('Archive for category:','kleo_framework')." ".single_cat_title('',false); } elseif (is_day()) { $output = __('Archive for date:','kleo_framework')." ".get_the_time('F jS, Y'); } elseif (is_month()) { $output = __('Archive for month:','kleo_framework')." ".get_the_time('F, Y'); } elseif (is_year()) { $output = __('Archive for year:','kleo_framework')." ".get_the_time('Y'); } elseif (is_search()) { global $wp_query; if(!empty($wp_query->found_posts)) { if($wp_query->found_posts > 1) { $output = $wp_query->found_posts ." ". __('search results for:','kleo_framework')." ".esc_attr( get_search_query() ); } else { $output = $wp_query->found_posts ." ". __('search result for:','kleo_framework')." ".esc_attr( get_search_query() ); } } else { if(!empty($_GET['s'])) { $output = __('Search results for:','kleo_framework')." ".esc_attr( get_search_query() ); } else { $output = __('To search the site please enter a valid term','kleo_framework'); } } } elseif (is_author()) { $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); $output = __('Author Archive','kleo_framework')." "; if(isset($curauth->nickname)) $output .= __('for:','kleo_framework')." ".$curauth->nickname; } elseif (is_tag()) { $output = __('Tag Archive for:','kleo_framework')." ".single_tag_title('',false); } elseif(is_tax()) { $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); $output = __('Archive for:','kleo_framework')." ".$term->name; } elseif ( is_front_page() && !is_home() ) { $output = get_the_title(get_option('page_on_front')); } elseif ( is_home() && !is_front_page() ) { $output = get_the_title(get_option('page_for_posts')); } elseif ( is_404() ) { $output = __('Error 404 - Page not found','kleo_framework'); } else { $output = get_the_title(); } if (isset($_GET['paged']) && !empty($_GET['paged'])) { $output .= " (".__('Page','kleo_framework')." ".$_GET['paged'].")"; } return $output; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTo add icons to new items added by plugins you need to inspect the element using Chrome browser, get the ID of the specific list item and follow the above example.
Example to add for Buddypress Follow plugin that adds two new navigation items, Followers and Following
/* Following icon */ #buddypress div#item-nav ul #members-following-personal-li a:before { content: "\E98F"; } /* Followers icon */ #buddypress div#item-nav ul #members-followers-personal-li a:before { content: "\E995"; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModerator#3 Not sure what the devs will do. I will let them know about it though.
#4 Respond privately with admin credentials and I’ll have a look
#5 Try this (change orange to your orange hex code)
COPY CODE.kb-section-name a:hover { color: orange !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorA couple of thing
1 – by default, WP doesnt use a wysiwyg editor for the comments box. you can try adding a plugin for that.
2 – wp doesnt really adhere to line brakes in its comment box either. see the attachments. one shows where i’m adding the comment and the multiple new lines i’ve added (2 lines between 1 and 2 and 3 lines between 2 and 3). As you can see in the next screenshot, WP by default strips out multiple new lines.
With that said, it only appears that buddyapp is stripping all of them out (see buddyapp-default.jpg) due to the paragraph spacing. WP’s default 2015 theme sets the bottom margin on the paragraphs to 1.6842em, while buddyapp doesnt have a bottom margin set. If I override that and set a bottom margin, then it looks like the WP default. See override.jpg
(for reference, here’s the css I used)
COPY CODE.comment-list>li.comment .comment-body .comment-content p { margin-bottom: 1.6842em; }
So, what all this means is that buddyapp isnt doing anything special as far as stripping new lines. WP is.
(moving this since its not a bug)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files. -
AuthorPosts