Forum Replies Created

Viewing 40 posts - 1,921 through 1,960 (of 2,990 total)
  • Author
  •  Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    If you want to redirect the visitors to certain page use this

    COPY CODE
    
    add_action( 'template_redirect', 'my_membersip_restrict' );
     
    function my_membersip_restrict() {
        global $pmpro_pages, $post;
     
        if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) {
            if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) {
                wp_redirect( 'http://www.example.com/mypage', 301);
            }
        }
    }
    

    REplace http://www.example.com/mypage with your url

    Cheers

    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,

    Try with this snippet

    COPY CODE
    
    add_action( 'template_redirect', 'my_membersip_restrict' );
    
    function my_membersip_restrict() {
        global $pmpro_pages, $post;
    
        if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) {
            if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) {
                wp_redirect( pmpro_url() );
            }
        }
    }
    

    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: Front page template not customizable #120046
     Radu
    Moderator
    Not marked as solution
    in reply to: forum read #120038
     Radu
    Moderator
    Not marked as solution
    in reply to: Ads on Members page #120026
     Radu
    Moderator

    Hi,

    Yes but if this doens’t have effect, you can try with this

    COPY CODE
    
    <div style="width:728px;height:90px;background-color:red;display:inline-block;margin:20px 0 !important; clear:both !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: Show Portfolio Categoies #119731
     Radu
    Moderator
    Not marked as solution
    in reply to: Turn Off Page Title #119716
     Radu
    Moderator
    Not marked as solution
    in reply to: Change background image for indivdual page #119707
     Radu
    Moderator

    IF you are using two sidebars this will be the css

    COPY CODE
    
    .kleo-isotope>.kleo-masonry-item, .kleo-isotope>li {
        width: 100%;
    }
    
    
    

    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: Text Color Change #119591
     Radu
    Moderator
    Not marked as solution
    in reply to: Show Portfolio Categoies #119570
     Radu
    Moderator
    Not marked as solution
    in reply to: Avatar Uploads #119556
     Radu
    Moderator

    You can remove the search form from content-none.php and this will not be showed.

    Instead of deleting you can comment the code for later use

    COPY CODE
    
    <?php //get_search_form(); ?>
    

    If you want to show the search form conditional for logged in users search form and for the logged out users a certain message, you will have to look for a web developer.

    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,

    Maybe i don’t understand correctly, but the visual composer doesn’t work with posts…

    How do you add the date,author and category mannualy ? For this, is the example from above to include that you have added mannualy into that div

    COPY CODE
    
    
    <div class="manualpostmeta">April 28, Admin, Blog</div>
    
    

    Then by using this css you can control that area.

    COPY CODE
    
    
    .manualpostmeta { font-size:10px;line-height:20px; }
    
    

    The line height of a content of a post can be controlled like this and the css cam be added to wp-admin -> theme options -> general options -> quick css

    COPY CODE
    
    .article-content p {
        line-height: 2em;
    }
    

    If you cannot handle with these you will have to look for a web programmer to help you to create a function that add automatically meta ( author,date,category )

    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: Featured image size into Posts #119539
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    Hi,

    If you want to have the “post meta” text smaller just include all of the meta into a div like this

    COPY CODE
    
    
    <div class="manualpostmeta">
    
    <small>April 28, Admin, Blog</small>
    
    </div>
    
    

    And the CSS will be like this

    COPY CODE
    
    
    .manualpostmeta small {font-size:11px !important;}
    
    

    Regarding the text block element form Visual Composer you can highlight any portion of text by using bold,italic or underline set color for potions of text or different heading for that text.

    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: Show Portfolio Categoies #119379
     Radu
    Moderator
    Not marked as solution
    in reply to: No change Header #119314
     Radu
    Moderator
    Not marked as solution
    in reply to: Can’t change menu colour #119306
     Radu
    Moderator
    Not marked as solution
    in reply to: Sidebar doesn’t show on some blogposts #119243
     Radu
    Moderator

    Hi,

    Css for the read more button

    COPY CODE
    
    
    .post-footer small span.muted.pull-right {
        background: red !important;
        padding: 0 10px;
        color: #fff;
    }
    
    

    Ok let me know regarding the FTP

    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: Change background image for indivdual page #119229
     Radu
    Moderator

    Hi,

    Link to the support for kleo and scroll down https://archived.seventhqueen.com/kleo/

    The css that i have provided to you it applies only between these resolutions 1439px – 1200px

    COPY CODE
    
    @media (max-width: 1439px) and (min-width: 1200px) {
    .template-page.col-sm-12 .kleo-isotope>.kleo-masonry-item, .template-page.col-sm-12 .kleo-isotope>li, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>.kleo-masonry-item, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>li { 
    
    width:100%;
    
    }
    }
    

    If you need toat for all resolutions use this

    COPY CODE
    
    .template-page.col-sm-12 .kleo-isotope>.kleo-masonry-item, .template-page.col-sm-12 .kleo-isotope>li, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>.kleo-masonry-item, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>li { 
    
    width:100%;
    
    }
    

    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: Make profile picture bigger #119061
     Radu
    Moderator

    Hi again,

    Ok in this case please copy this file : /wp-content/themes/kleo/buddypress/members/members-loop.php
    to : /wp-content/themes/kleo-child/buddypress/members/members-loop.php

    then open the file /wp-content/themes/kleo-child/buddypress/members/members-loop.php look for this code around line 43

    COPY CODE
    
    <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
    

    And replace with replace 200 px with your desired values.

    Cheers

    Radu

    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: Change background image for indivdual page #119026
     Radu
    Moderator

    Hi,

    Regarding the forums, they are private and only users who open the ticket can read it.

    Use this css if you need one item per row

    COPY CODE
    
    @media (max-width: 1439px) and (min-width: 1200px) {
    .template-page.col-sm-12 .kleo-isotope>.kleo-masonry-item, .template-page.col-sm-12 .kleo-isotope>li, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>.kleo-masonry-item, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>li { 
    
    width:100%;
    
    }
    }
    
    

    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: Add color to the menu while hovering #118880
     Radu
    Moderator
    Not marked as solution
    in reply to: How do i add testimonials to the sidebar/widget? #118854
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator
    Not marked as solution
    in reply to: I need to customize PORTFOLIO of VC #118753
     Radu
    Moderator
    Not marked as solution
    in reply to: Change background image for indivdual page #118748
     Radu
    Moderator

    Hi,

    For the single product page use this css

    COPY CODE
    
    body.postid-4948 .main-color {
    background-image: url(http://imgsv.nikon-image.com/products/lens/nikkor/af-s_nikkor_200-500mm_f56e_ed_vr/img/sample/pic_03_l.jpg);
    background-repeat:no-repeat;
    background-attachment:fixed;
    }
    

    4948 is the product id

    For the shop page you can use also this

    COPY CODE
    
    body.woocommerce-page #main section.container-wrap.main-color {
    background-image: url(http://imgsv.nikon-image.com/products/lens/nikkor/af-s_nikkor_200-500mm_f56e_ed_vr/img/sample/pic_03_l.jpg);
    background-repeat:no-repeat;
    background-attachment:fixed;
    }
    

    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: Create Header Overlay #118529
     Radu
    Moderator
    Not marked as solution
    in reply to: Make profile picture bigger #118450
     Radu
    Moderator

    Hi,

    The problem was because you haven’t friend connection component activated… from here : http://armeniacupid.com/wordpress/wp-admin/admin.php?page=bp-components
    I suggest you to enable all components groups activity etc…

    The second problem was this css

    COPY CODE
    
    .bp-member-dir-buttons {
        display: none;
    }
    

    This css was hidding all buttons from that div including add friend button.

    Please remove that css from top and replace it with the next, it will hide only the view profile button

    COPY CODE
    
    .bp-member-dir-buttons > a {
        display: none !important;
    }
    

    In future i recommend you to hire a developer to can mantain your website up and running without any errors/issues.

    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: login and register buttons under 940px #118391
     Radu
    Moderator
    Not marked as solution
    in reply to: Change background image for indivdual page #118384
     Radu
    Moderator

    Hi,

    For the third use this instead

    COPY CODE
    
    .bbp-user-page .main-color {
    background-image: url(http://mercquest.com/wp-content/uploads/2016/03/metal003.gif) !important;
    background-repeat:repeat;
    background-attachment:fixed;
    background-color:transparent !important;
    }
    

    Also i’ve added in improvement list this functionality to have custom background for page and posts, most probably in future this will be implemented in theme.

    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: Change background image for indivdual page #118245
     Radu
    Moderator

    Hi,

    Integration with between that plugin and the theme it will require dedicated time for that and there is no quick fix for that. You can use this method

    body.page-id-9743 .main-color {
    background-image: url(http://imgsv.nikon-image.com/products/lens/nikkor/af-s_nikkor_200-500mm_f56e_ed_vr/img/sample/pic_03_l.jpg);
    background-repeat:no-repeat;
    background-attachment:fixed;
    }

    page-id-9743 represents the id of the blog page and in this way i’ve matched the styles to apply
    only to that page, in case you need to add bg to groups page use this selector

    COPY CODE
    
    .directory.members .main-color {
        background-image: url(http://imgsv.nikon-image.com/products/lens/nikkor/af-s_nikkor_200-500mm_f56e_ed_vr/img/sample/pic_03_l.jpg);
        background-repeat:no-repeat;
        background-attachment:fixed;
    }
    

    or member page

    COPY CODE
    
    .bbp-user-page .main-color {
        background-image: url(http://imgsv.nikon-image.com/products/lens/nikkor/af-s_nikkor_200-500mm_f56e_ed_vr/img/sample/pic_03_l.jpg);
        background-repeat:no-repeat;
        background-attachment:fixed;
     } 
    

    Cheers

    Radu

    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: Upgrading to BuddyApp #118235
     Radu
    Moderator
    Not marked as solution
    in reply to: Ad in header #118166
     Radu
    Moderator

    Hi,

    The next file will add next to the logo another logo

    Add the attached file to wp-content/themes/kleo-child/page-parts/

    Around line 148 ~ 149 you will see this, change sponsor url with yours and with your image link

    COPY CODE
    
                        <a href="http://sponsorurl.com">
    
                        <img id="logo_img" src="<?php echo $logo_path; ?>"">
    
                        </a>
    

    Cheers

    Radu

    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: login and register buttons under 940px #118137
     Radu
    Moderator
    Not marked as solution
    in reply to: Kleo Accordion Toggle Bug in Mobile #118136
     Radu
    Moderator
    Not marked as solution
    in reply to: Google Adsense #118029
     Radu
    Moderator

    Try to add beside the display:inline-block height:90, from example

    COPY CODE
    
    
    <div style="display: inline-block !important; height:90px !important; margin:10px 0 !important ;">
    
    Your add code
    
    </div>
    
    
    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: Sticky header height #117938
     Radu
    Moderator
    Not marked as solution
    in reply to: Change the whole background color of blog posts #117862
     Radu
    Moderator
    Not marked as solution
    in reply to: Issues with Cover image and Show less #117859
     Radu
    Moderator
    Not marked as solution
Viewing 40 posts - 1,921 through 1,960 (of 2,990 total)

Log in with your credentials

Forgot your details?