Forum Replies Created

Viewing 40 posts - 241 through 280 (of 2,990 total)
  • Author
  • in reply to: Several issues for a Profile Search #203499
     Radu
    Moderator
    Not marked as solution
    in reply to: Remove excerpt #203496
     Radu
    Moderator

    Hi,

    1.
    The limit can be changed by addind the next codes to /wp-content/themes/kleo-child/functions.php

    Replace 350 with your desired number or characters

    Code below:

    COPY CODE
    
    if ( ! function_exists( 'kleo_excerpt' ) ) {
        function kleo_excerpt( $limit = 50, $words = false ) {
            /*Force excerpt length*/
            $limit = 350;
            $from_content    = false;
            $excerpt_initial = get_the_excerpt();
    
            if ( $excerpt_initial == '' ) {
                $excerpt_initial = get_the_content();
                $from_content    = true;
            }
            $excerpt_initial = preg_replace( '<code>\[[^\]]*\]</code>', '', $excerpt_initial );
            $excerpt_initial = strip_tags( $excerpt_initial );
    
            /* If we got it from get_the_content -> apply length restriction */
            if ( $from_content ) {
                $excerpt_length  = apply_filters( 'excerpt_length', $limit );
                $excerpt_initial = wp_trim_words( $excerpt_initial, $excerpt_length, '' );
            }
    
            if ( $words ) {
                $excerpt = explode( ' ', $excerpt_initial, $limit );
                if ( count( $excerpt ) >= $limit ) {
                    array_pop( $excerpt );
                    $excerpt = implode( " ", $excerpt ) . '...';
                } else {
                    $excerpt = implode( " ", $excerpt ) . '';
                }
            } else {
                $excerpt = substr( $excerpt_initial, 0, $limit ) . ( strlen( $excerpt_initial ) > $limit ? '...' : '' );
            }
    
            return '<p>' . $excerpt . '</p>';
        }
    }
    
    function kleo_new_excerpt_length( $length ) {
        return 350;
    }
    
    

    2. What element you need more specific ?

    for all use this selector

    #header *, #header > *,#header * a {
    font-size: 15px !important;
    }

    Code will be added to wp-admin -> theme options -> general settings -> quick css

    3.
    No quick solution for that… a workaround may be setting them to be everywhere and with soem css to be nidden in non bbpress places.

    4.
    Provide url to see live the behaviour.

    5.

    Go to wp-admin -> theme options -> blog

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Transparent Header Woocommerce #203371
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    Hi,

    Not sure exactly whyyyy but if you will add this css, it will stay how it’s with rtmedia active.

    COPY CODE
    
    #buddypress #whats-new-options {
        height: auto !important;
    }
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Misaligned after theme update #203348
     Radu
    Moderator
    Not marked as solution
    in reply to: Several issues for a Profile Search #203340
     Radu
    Moderator
    Not marked as solution
    in reply to: Issues with Kelo Theme #203066
     Radu
    Moderator
    Not marked as solution
    in reply to: Menu Styling disappeared after Theme update #203059
     Radu
    Moderator

    Hi,

    check it now

    It should be ok on desktop for users and guests also on mobile !

    I had replaced the code that Laura gives to you with this one in theme options -> quick css

    COPY CODE
    
    
    /*Header button + mobile style*/
    .logged-in .header_button_filled {
        background: #17c3a9;
        border: 3px #17c3a9 solid;
        border-radius: 10px;
        margin-left: 10px;
    }
    .logged-in .header_button_filled a {
        color: white !important;
        font-weight: 600 !important;
    }
    
    @media(max-width:991px) {
        .logged-in .header_button_filled {
         width:auto !important;
         margin-left:0;
        }
        .logged-in .header_button_filled a {
          text-align:center !important;
            min-width:300px;
        }
    }
    
    /*END Header button + mobile style*/
    
    

    All good ?

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: remove the matching function #203056
     Radu
    Moderator

    Here’s the css

    COPY CODE
    
    @media(max-width:768px) {
        div#main {
            padding-top:0;
        }
        .five.columns p {
            display:none;
        }
    }
    
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Several issues for a Profile Search #203011
     Radu
    Moderator
    Not marked as solution
    in reply to: Scrolling down for every change at Profile Page #202984
     Radu
    Moderator

    Hi

    I see please try with this one instead

    COPY CODE
    
    /* Radu SQ: easy redirect to profile after login */
    function sq7_rdu_redirect( $redirect_to, $request, $user ) {
        $redirect_to = bp_core_get_user_domain($user->ID);
        return $redirect_to;
    }
    add_filter('kleo_modal_login_redirect', 'sq7_rdu_redirect', 11, 3);
    

    Let me know

    If you have any redirection plugin like peters redirect de-activate it.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Several issues for a Profile Search #202949
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator
    Not marked as solution
    in reply to: Membership Levels #202917
     Radu
    Moderator

    Hi,

    I think this it’s all that you need

    COPY CODE
    
    
    //Disables the pmpro redirect to levels page when user tries to register
    add_filter("pmpro_login_redirect", "__return_false");
    function my_pmpro_default_registration_level($user_id) {
    	//Give all members who register membership level 1
    	pmpro_changeMembershipLevel(1, $user_id);
    }
    add_action('user_register', 'my_pmpro_default_registration_level');
    

    So all users that signup from now will have by default the membership with ID 1, the current users shouldn’t be affected since it’s used user_register hook.

    In any case do a database backup before running the script to be sure 100% that will not affect the existing users.

    Changing the settings in theme options -> memberships -> will be applied for all users !

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: general i #202895
     Radu
    Moderator

    Hi,

    You can hide the footer easly using this css

    COPY CODE
    
    #footer {display:none !important;}
    

    Having same view on mobile like desktop it;s not possibe there are to mutch things to change for that and also no exact instructions for that.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: remove the matching function #202013
     Radu
    Moderator

    Filed can be hidden using this css

    COPY CODE
    
     #send_message_form label[for="subject"] {
        display: none !important;
    }
    
    #send_message_form input#subject {
        display:none !important;
    }
    
    
    

    Not sure about the email there look in buddypress settings or ask on their forums

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Layout design #202010
     Radu
    Moderator

    Hi,

    Buddypress pages cannot be customized by builders lile Visual Composer because the page i’s populated on the fly by the buddypress filters. There you should build php custom template in child theme.
    The file that controls that it’s this : /wp-content/themes/kleo/buddypress/members/members-loop.php
    You can modify the templates by copying them on child theme in same directory structure
    members directory loop : /wp-content/themes/kleo-child/buddypress/members/members-loop.php

    Otherwise you can create a new page where you will add the elements and arrange the layout exactly how you had described excepting the breadcrump cuz we don’t have shortcode for that.

    So you can combine all methods by generateing the shortcodes on visual composer and editing the php file by rendering the shortcodes in place where you need.

    You can hide the tile using this css

    COPY CODE
    
    .directory h1.page-title {
        display: none;
    }
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Resume Database almost there #202003
     Radu
    Moderator
    Not marked as solution
    in reply to: Scrolling down for every change at Profile Page #201992
     Radu
    Moderator

    Hi,

    Hmm not sure why that happens, on our demo that not happens right ?

    You can use the next function to redirect you directly to profile after login

    COPY CODE
    
    /* Radu SQ: easy redirect to profile after login */
    function sq7_rdu_redirect( $redirect_to, $request, $user ) {
        $redirect_to = bp_core_get_user_domain($user->ID);
        return $redirect_to;
    }
    add_filter('login_redirect', 'sq7_rdu_redirect', 11, 3);
    
    

    Orr the next function to redirect to the homepage

    COPY CODE
    
    
    /* Radu SQ: easy redirect to profile after login */
    function sq7_rdu_redirect_reload( $redirect_to, $request, $user ) {
        $redirect_to = site_url();
        return $redirect_to;
    }
    add_filter('login_redirect', 'sq7_rdu_redirect', 11, 3);
    

    It may prevent that behaviour.

    The function will have to be added in wp-content/themes/sweetdate-child/functions.php and the child theme should be installed and activated

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator
    Not marked as solution
    in reply to: Code for Kleo login pop-up window #201875
     Radu
    Moderator

    Hi,

    The php version it’s something like this

    COPY CODE
    
    
    echo '
    <a href="/wp-login/"></a>
    ';
    

    echo ‘

    ‘;

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Code for Kleo login pop-up window #201466
     Radu
    Moderator

    Hi,

    There are two ways to show the login pop-up

    1. Adding at the end of the link /#show-login example : http://rdu.local/kleo/#show-login

    2. Adding this class kleo-show-login to the element that you want to click and to appear the pop-up.

    COPY CODE
    
    <a href="http://rdu.local/kleo" class="kleo-show-login">Login</a>
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Adjusting Responsiveness #201345
     Radu
    Moderator

    Hi

    Done,

    I had added specific class for every column named setorder1,2,3,4 and so on then i had added this css to quick css area

    COPY CODE
    
    @media(max-width:991px) {
        .setorder1 {
            order:2 !important;   
        }
        .setorder2 {
            order:1 !important;
        }
    
        .setorder3 {
            order:1 !important;
    
        }
        .setorder4 {
            order:2 !important;
        }
    
        .setorder5 {
            order:3 !important;
        }
    
        .setorder6 {
            order:4 !important;
        }
    
        .setorder7 {
            order:6 !important;
        }
    
        .setorder8 {
        }
    }
    

    Now they arranging ok

    Let me know

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator

    The function will have to be added in wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    //Change the hover on portfolio
    add_action('after_setup_theme','kleo_my_member_data');
    function kleo_my_member_data()
    {
        global $kleo_config;
    //this is the details field, right now it take the "About me" field content
        $kleo_config['image_overlay']     = '<span class="hover-element"><i>Aaa</i></span>';
    
    }
    

    Replace aaa with your desired icon or character
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: remove the matching function #201247
     Radu
    Moderator

    The wigets are managed under wp-admin -> appearance -> widgets

    You can remove them, you don’t have how to remove it only from a page. (Maybe using this pugin : https://wordpress.org/plugins/conditional-widgets/ not sure if still works, check it, also check the documentation to understand how you can use it.)

    Css for changing the color when hover menu items

    COPY CODE
    
    .top-bar ul>li:hover {
        background: red !important;
    }
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Ajax Login pop up #201171
     Radu
    Moderator
    Not marked as solution
    in reply to: Single image carousel html for php template #201144
     Radu
    Moderator

    Hi,

    Why you aren’t place directly the shortcode there ?

    COPY CODE
    
    [vc_images_carousel]
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: remove the matching function #201143
     Radu
    Moderator

    Hi,

    there’s the css

    COPY CODE
    
    .elementor-widget-container a.elementor-button-link span {
        color: red !important;
    }
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator

    Hi,

    Just add this css

    COPY CODE
    
     @media(min-width:991px) {
        .kleo-main-header.header-normal {
            background: transparent !important;
        }
        .kleo-main-header *, .kleo-main-header a * {
            color:#333 !important;
        }
        div#main {
            margin-top: -88px;
        }
    
    }
    

    Change 333 color with your desired

    No need to change everything else

    The css will be added to wp-admin -> theme options -> General settings -> Quick CSS

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Ajax Login pop up #200873
     Radu
    Moderator
    Not marked as solution
    in reply to: general i #200824
     Radu
    Moderator

    That it’s a buddypress feature you can try the next

    To increase the avatar size make sure that you have next lines added to the file.

    COPY CODE
    
    if ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) )
    define( 'BP_AVATAR_THUMB_WIDTH', 120 ); //change this with your desired thumb width
     
    if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) )
    define( 'BP_AVATAR_THUMB_HEIGHT', 120 ); //change this with your desired thumb height
     
    if ( !defined( 'BP_AVATAR_FULL_WIDTH' ) )
    define( 'BP_AVATAR_FULL_WIDTH', 580 ); //change this with your desired full size
     
    if ( !defined( 'BP_AVATAR_FULL_HEIGHT' ) )
    define( 'BP_AVATAR_FULL_HEIGHT', 580 ); //change this to default height for full avatar
    

    Code can be pasted in this file : “wp-content/plugins/bp-custom.php” or in child theme functions.php wp-content/themes/kleo-child/functions.php

    Replace 120 and 580 with your desired values

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: About page in buddypress- Field labels are cut #200818
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    Yes, if you don’t need that

    Wrap the content of the header.php into a condition like this

    COPY CODE
    
        if(get_current_blog_id() == '1') {
            //header content here
        }
    

    So the header will be run only for the blog with id 1

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator

    Hi,

    Check if that still happens default wp theme, if yes it may be related to the bbpress itself. having that plugin and the restrict should be sufficient.

    As a workaround try this code

    COPY CODE
    
    
    function sq7r_force_redirect_forum_123() {
        if (strpos($_SERVER['REQUEST_URI'], "/forum/business-forum/") !== false) {
            header('Location: http://christelijk-podium.nl/register/');
        }
    }
    add_action('wp_enqueue_scripts', 'sq7r_force_redirect_forum_123',999);
    
    

    The function will have to be added in wp-content/themes/kleo-child/functions.php

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Buddy press mobile menu #200643
     Radu
    Moderator
    Hi, Use the next css to make there for few icons then the more button will be displayed highlited.
    @media(max-width:991px) {
        
        #buddypress div.item-list-tabs ul {width: auto !important;}
        #buddypress div#item-nav {padding: 0;}
        #buddypress div#item-nav ul li {opacity:1 !important;}
        #buddypress div#item-nav .responsive-tabs {height: 102px !important;}
        #buddypress div#item-nav ul li a:before { margin-bottom: 10px !important;}
        #buddypress div#item-nav ul li a {padding: 0 7px;font-size:10px;}
        #buddypress div#item-nav ul li a:before {font-size:44px;}
        #buddypress div#item-nav  a.dropdown-toggle:before {
            background-color: #777 !important;
            color: #fff !important;
        }
    
    }
    
    The last selector targets only the more button so if you need to highlite only more button copy and paste only that css The css will be added to wp-admin -> theme options -> General settings -> Quick CSS Cheers R
    in reply to: remove the matching function #200627
     Radu
    Moderator

    Hi,

    Just add this css in wp-admin -> theme options -> stilying options -> quick css

    COPY CODE
    
    div#profile .circular-item {
        display: none !important;
    }
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Mobile header #200625
     Radu
    Moderator

    Hi

    just use this css

    COPY CODE
    
    @media (max-width: 991px){
        .kleo-main-header, .navbar-transparent .kleo-main-header, .kleo-navbar-fixed.navbar-transparent #header {
            background-color: #FFF;
        }
    
        .navbar-transparent .navbar-toggle .icon-bar {
            background-color:#000 !important;
        }
    
        ul#menu-kleonavmenu li a {
            color: rgba(12,12,12,0.8) !important;
        }
    
    }
    

    The css will be added to wp-admin -> theme options -> General settings -> Quick CSS

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: About page in buddypress- Field labels are cut #200624
     Radu
    Moderator
    Not marked as solution
    in reply to: Kleo #200615
     Radu
    Moderator
    Not marked as solution
Viewing 40 posts - 241 through 280 (of 2,990 total)

Log in with your credentials

Forgot your details?