Forum Replies Created

Viewing 40 posts - 201 through 240 (of 1,218 total)
  • Author
  • in reply to: Need to have background colour on blog page #94431
     sharmstr
    Moderator

    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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Change cover image problem #94430
     sharmstr
    Moderator

    Its been fixed in the next update. In the meantime, go to /kleo/lib/plugin-buddypress/config.php and around line 426, change

    COPY CODE
    
    global $bp;
    

    to this

    COPY CODE
    
    if ( ! 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Change Cover Button Linking to 404 #94429
     sharmstr
    Moderator

    @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 CODE
    
    global $bp;
    

    to this

    COPY CODE
    
    if ( ! 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: New Forum add from a User and i cant chance cover Photos #94427
     sharmstr
    Moderator

    Its been fixed in the next update. In the meantime, go to /kleo/lib/plugin-buddypress/config.php and around line 426, change

    COPY CODE
    
    global $bp;
    

    to this

    COPY CODE
    
    if ( ! 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Remove Title Woocommerce #94424
     sharmstr
    Moderator

    Whatever 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Need to have background colour on blog page #94398
     sharmstr
    Moderator

    A 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: BG gradient, image quality and read more links #94394
     sharmstr
    Moderator

    I 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 CODE
    
    var_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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Edit Share This widget #94275
     sharmstr
    Moderator

    I’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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Buddypress Member Type – Color And Bolding #94267
     sharmstr
    Moderator

    Put 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 CODE
    
    add_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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    I 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 solution

    This 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.
    in reply to: Background Colour #94094
     sharmstr
    Moderator

    That’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 CODE
    
    body {
        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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: BP-WP Reviews plugin #94089
     sharmstr
    Moderator

    I 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 CODE
    
    add_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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: How Do I Accomplish the Following #94072
     sharmstr
    Moderator

    1 – 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: BP-WP Reviews plugin #94007
     sharmstr
    Moderator

    Unfortunately, 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Menu child items not showing on mobile #93993
     sharmstr
    Moderator

    Put 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: BuddyPress Post Update Button Missing #93940
     sharmstr
    Moderator

    I 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: The headline on the front page. #93872
     sharmstr
    Moderator

    The 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 CODE
    
     echo '<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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: The headline on the front page. #93858
     sharmstr
    Moderator

    Put this in your child theme’s functions.php file

    COPY CODE
    
    function 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: BP-WP Reviews plugin #93845
     sharmstr
    Moderator

    You 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Problem with Facebook Like Button #93829
     sharmstr
    Moderator

    Try 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Reducing the size of sidebar #93826
     sharmstr
    Moderator

    Because 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Reducing the size of sidebar #93774
     sharmstr
    Moderator

    Try 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Sitewide Activity #93630
     sharmstr
    Moderator

    It 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 CODE
    
    add_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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Body font size theme settings doesn't respond #93607
     sharmstr
    Moderator

    In that link, I say to add the following to your child theme’s functions.php file. Did you try that?

    COPY CODE
    
    add_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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Sitewide Activity #93527
     sharmstr
    Moderator

    Gotcha. 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: bodypress profile icons #93464
     sharmstr
    Moderator

    None 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Sitewide Activity #93409
     sharmstr
    Moderator

    Is 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: How to diasble animated lazy load of activity post? #93365
     sharmstr
    Moderator

    Try this in your child theme’s functions.php file

    COPY CODE
    
    add_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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Load More button activity page not working #93236
     sharmstr
    Moderator

    I 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    Sorry – 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Create shortcode #93162
     sharmstr
    Moderator

    You didnt replace the 2 echo like I’ve instructed

    COPY CODE
    function 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Create shortcode #93158
     sharmstr
    Moderator

    You 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 CODE
    
    echo $output;
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Change Main Menu font #93144
     sharmstr
    Moderator

    Try 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: GRAVATAR.COM #93037
     sharmstr
    Moderator

    Just try this in your child’s functions.php file

    COPY CODE
    
    add_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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Profile Edit Form Design and CSS #93012
     sharmstr
    Moderator

    Try 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing Archived Page title #93006
     sharmstr
    Moderator

    As 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Changing Archived Page title #92999
     sharmstr
    Moderator

    I’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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Change User Xprofile Section Icons #92975
     sharmstr
    Moderator

    To 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: BG gradient, image quality and read more links #92870
     sharmstr
    Moderator

    #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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Post comments can’t be spaced properly #92837
     sharmstr
    Moderator

    A 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 solution

    This 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.
Viewing 40 posts - 201 through 240 (of 1,218 total)

Log in with your credentials

Forgot your details?