Forum Replies Created

Viewing 40 posts - 2,841 through 2,880 (of 2,990 total)
  • Author
  • in reply to: make logo not link #54926
     Radu
    Moderator

    Hello,

    Add this jquery snippet to your Wp-Admin -> Theme Options -> General Settings -> Javascript Code

    COPY CODE
    
    <script>
    jQuery('.logo a').click(function () {
    return false;
    });
    </script>
    

    Cheers

    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: How to change primary menu font Color ? #54792
     Radu
    Moderator
    COPY CODE
    
    
    .kleo-main-header.header-left:not(.header-scrolled) .navbar-collapse>ul>li>a {color:#000 !important;}
    
    
    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 Top Bar Hover Menu Width #54791
     Radu
    Moderator

    I cannot view your site

    COPY CODE
    
    Maintenance mode
    
    Sorry for the inconvenience.
    Our website is currently undergoing scheduled maintenance.
    Thank you for your understanding.
    
    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: Pages of archive and searchs #54634
     Radu
    Moderator

    Hello,

    Add this snippet to your kleo-child functions.php

    COPY CODE
    
    
    function ads_before_content() {
    
        echo '
        <div style="width:728px;height:90px;background-color:red;display:block;margin:0 auto;">
        728 AD
        </div>
        ';
    
    }
    
    add_action ('kleo_before_main', 'ads_before_content');
    
    function ads_after_content() {
    
        echo '
        <div style="width:728px;height:90px;background-color:red;display:block;margin:0 auto;">
        728 AD
        </div>
        ';
    
    }
    
    add_action ('kleo_after_main', 'ads_after_content');
    
    

    Replace code from echo with your desired code.

    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 Top Bar Hover Menu Width #54620
     Radu
    Moderator

    Hello,

    Try with this CSS snippet,

    COPY CODE
    
    .header-color .dropdown-menu li, #header.header-color .navbar-nav li {min-width:100px;}
    

    If the width is not enough set 130 or 150px

    Add the css to your Theme Options -> General Settings -> Quick CSS area or in kleo-child style.css

    Let me know if is ok.

    Cheers

    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: BuddyPress Background/Border Colors #54405
     Radu
    Moderator

    Hello,

    Make sure that in sections ( Theme Options ) from above border-color is not setted as transparent.

    Styling options
    Header
    Main
    Alternate
    Side
    Footer
    Socket

    or try this

    COPY CODE
    
    .main-color hr, .main-color.container-wrap, .main-color#footer, .main-color#socket, .main-color.social-header, .main-color .top-menu .tabdrop:before, .main-color #top-social .tabdrop:before, .main-color #top-social, .main-color .top-menu > ul, .main-color .kleo-main-header, .main-color .template-page, .main-color .sidebar-right, .main-color .sidebar-left, .main-color .sidebar-extra, .main-color .sidebar-main, .main-color .hr-title, .main-color .nav-tabs, .main-color .nav-pills > li > a, .main-color .kleo-tabs .nav .open > a.dropdown-toggle, .main-color .kleo-tabs .nav .open > a.dropdown-toggle:hover, .main-color .kleo-tabs .nav .open > a.dropdown-toggle:focus, .main-color .kleo-tabs .tabdrop .dropdown-menu, .main-color .dropdown-menu, .main-color #top-social li a, .main-color .top-menu li > a, .main-color .pagination > li > a, .main-color .pagination > li > span, .main-color .callout-blockquote blockquote, .main-color .masonry-listing .post-content, .main-color .list-divider li, .main-color #ajax_search_container, .main-color .form-control, .main-color .feature-item:hover .feature-icon, .main-color .bordered-icons .feature-item.default-icons-size .feature-icon, .main-color .bordered-icons .feature-item.big-icons-size .feature-icon, .main-color input[type="text"], .main-color input[type="password"], .main-color input[type="date"], .main-color input[type="datetime"], .main-color input[type="datetime-local"], .main-color input[type="month"], .main-color input[type="week"], .main-color input[type="email"], .main-color input[type="number"], .main-color input[type="search"], .main-color input[type="tel"], .main-color input[type="time"], .main-color input[type="url"], .main-color textarea, .main-color .activity-timeline, .main-color #buddypress div.item-list-tabs ul li a span, .main-color #buddypress button, .buddypress .main-color a.button, .main-color #buddypress a.button, .main-color #buddypress input[type=submit], .main-color #buddypress input[type=button], .main-color #buddypress input[type=reset], .main-color #buddypress ul.button-nav li a, .main-color #buddypress div.generic-button a, .main-color.bp-full-width-profile div.generic-button a, .main-color #buddypress .comment-reply-link, .main-color #buddypress #whats-new, .main-color #buddypress div.message-search, .main-color #buddypress div.dir-search, .main-color #buddypress .activity-read-more, .main-color #bp-login-widget-submit, .main-color .bbp_widget_login .button.user-submit, .main-color #wp-calendar caption, .main-color .wp-caption, .main-color .widget form#bbp-search-form > div, .main-color .widget_search #searchform > div, .main-color #bp-login-widget-form input[type="text"], .main-color #bp-login-widget-form input[type="password"], .main-color .bbp-login-form input[type="text"], .main-color #buddypress #friend-list .friend-inner-list, .main-color #buddypress #member-list .member-inner-list, .main-color #buddypress #members-list .member-inner-list, .main-color #buddypress #groups-list .group-inner-list, .main-color #buddypress div#item-nav .tabdrop .dropdown-menu, .main-color #buddypress div.profile, .main-color #buddypress #friend-list div.action .generic-button a.send-message, .main-color #buddypress #member-list div.action .generic-button a.send-message, .main-color #buddypress #members-list div.action .generic-button a.send-message, .main-color #buddypress form.standard-form .left-menu img.avatar, .main-color .checkbox-mark, .main-color #buddypress div#group-create-tabs ul li.current a, .main-color .rtmedia-container #rtMedia-queue-list tr td, .main-color #buddypress .standard-form textarea, .main-color #buddypress .standard-form input[type=text], .main-color #buddypress .standard-form input[type=color], .main-color #buddypress .standard-form input[type=date], .main-color #buddypress .standard-form input[type=datetime], .main-color #buddypress .standard-form input[type=datetime-local], .main-color #buddypress .standard-form input[type=email], .main-color #buddypress .standard-form input[type=month], .main-color #buddypress .standard-form input[type=number], .main-color #buddypress .standard-form input[type=range], .main-color #buddypress .standard-form input[type=search], .main-color #buddypress .standard-form input[type=tel], .main-color #buddypress .standard-form input[type=time], .main-color #buddypress .standard-form input[type=url], .main-color #buddypress .standard-form input[type=week], .main-color #buddypress .standard-form select, .main-color #buddypress .standard-form input[type=password], .main-color #buddypress .dir-search input[type=search], .main-color #buddypress .dir-search input[type=text], .main-color .bbp-pagination-links a, .main-color .bbp-pagination-links span, .main-color #bbpress-forums li.bbp-body ul.forum, .main-color #bbpress-forums li.bbp-body ul.topic, .main-color form#new-post, .main-color #bbpress-forums .bbp-form input[type="text"], .main-color .quicktags-toolbar, .main-color .wp_themeSkin tr.mceFirst td.mceToolbar, .main-color .quicktags-toolbar input, .main-color .wp-editor-area, .main-color .rtmedia-container .rtmedia_next_prev a, .main-color .rtmedia-activity-container .rtmedia_next_prev a, .main-color #buddypress div.rtmedia-activity-container .rtmedia_next_prev a, .main-color #rtm-gallery-title-container #rtm-media-options, .main-color #rtMedia-upload-button, .main-color #buddypress #item-body .rtmedia-item-comments .rt_media_comment_form textarea, .main-color .rtmedia-container .rtmedia-editor-main dl.tabs dd > a, .main-color .rtmedia-activity-container .rtmedia-editor-main dl.tabs dd > a, .main-color #buddypress div.rtmedia-activity-container .rtmedia-editor-main dl.tabs dd > a, .main-color .rtmedia-container .imgedit-wrap div.imgedit-settings .imgedit-group, .main-color #buddypress .rtmedia-container textarea, .main-color #buddypress .rtmedia-container input[type=text], .main-color #buddypress .rtmedia-container input[type=text], .main-color #buddypress .rtmedia-container input[type=color], .main-color #buddypress .rtmedia-container input[type=date], .main-color #buddypress .rtmedia-container input[type=datetime], .main-color #buddypress .rtmedia-container input[type=datetime-local], .main-color #buddypress .rtmedia-container input[type=email], .main-color #buddypress .rtmedia-container input[type=month], .main-color #buddypress .rtmedia-container input[type=number], .main-color #buddypress .rtmedia-container input[type=range], .main-color #buddypress .rtmedia-container input[type=search], .main-color #buddypress .rtmedia-container input[type=tel], .main-color #buddypress .rtmedia-container input[type=time], .main-color #buddypress .rtmedia-container input[type=url], .main-color #buddypress .rtmedia-container input[type=week], .main-color #buddypress .rtmedia-container select, .main-color #buddypress .rtmedia-container input[type=password], .main-color .kleo-toggle-menu .kleo-toggle-submenu, .main-color .kleo-toggle-menu a.remove, .main-color .woocommerce .kleo-cart-totals .totals-wrap, .main-color #articles-dir-list article.article-container {
    	border-color: 1px solid #efefef;
    }
    
    
    
    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: Post Update Box #53801
     Radu
    Moderator

    Hello,

    Use this little CSS snippet

    COPY CODE
    
    #buddypress #whats-new-options {height: 40px;}
    

    It should work.

    If the Attach media button missing, go to rtMedia -> Settings -> Buddypress -> Set on for next options :

    ON Enable media in profile
    ON Enable media in group
    ON Allow upload from activity stream

    Cheers

    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: Big problems at the display BP 'my groups' #53791
     Radu
    Moderator
    COPY CODE
    
    #gsubopt-1.generic-button.group-subscription-options {
      background-color: #fff !important;
      border: 1px solid #efefef !important;
      font-size: 9px !important;
      margin: 0 auto!important !important;
      padding: 2% 5% !important;
      position: absolute !important;
      line-height: 18px !important;
      text-align: center !important;
      width: 93% !important;
      z-index: 99 !important; }
     
     
    #groups-list #gsubclose-1 {
      background-color: #ededed !important !important;
      display: inline-block !important !important;
      text-align: center !important !important;
      color: #777 !important;
      font-weight: bold !important;
      float: none !important;
    }
    

    Let me know if it works.

    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: Big problems at the display BP 'my groups' #53668
     Radu
    Moderator

    Try with this css code

    COPY CODE
    
    #gsubopt-1.generic-button.group-subscription-options {
      background-color: #fff;
      border: 1px solid #efefef;
      font-size: 9px;
      margin: 0 auto!important;
      padding: 2% 5%;
      position: absolute;
      line-height: 18px;
      text-align: center;
      width: 93%;
      z-index: 99; }
    
    
    #groups-list #gsubclose-1 {
      background-color: #ededed !important;
      display: inline-block !important;
      text-align: center !important;
      color: #777;
      font-weight: bold;
      float: none;
    }
    
    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: Visual Composer: Row background image not showing #53541
     Radu
    Moderator

    Hello,

    Add this line in your wp-config

    COPY CODE
    
    define( 'WP_DEBUG', true );
    

    Repeat the action and see if you receive a warning,notice,error etc.

    Post here if you receive something.

    Also make sure you have disabled all plugins that not comed with the theme before.

    Some plugins can cause this kind of issues.

    Cheers

    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: How to get epic Kleo portfolio #53535
     Radu
    Moderator

    Hello,

    Just add this code to your page it’s the same like in demo.

    COPY CODE
    
    [vc_row inner_container="no" section_type="main" bg_position="top" bg_position_horizontal="left" bg_repeat="no-repeat" bg_cover="true" bg_attachment="false" parallax_speed="0.1" padding_top="0" padding_bottom="0" min_height="0" border="none" css_animation="right-to-left"][vc_column width="1/1"][rev_slider_vc alias="vertical_fullscreen_2"][/vc_column][/vc_row][vc_row inner_container="no" section_type="footer" bg_position="top" bg_position_horizontal="left" bg_repeat="no-repeat" bg_cover="true" bg_attachment="false" parallax_speed="0.1" padding_top="30px" padding_bottom="0" min_height="0" border="none" css_animation="right-to-left" type="color" bg_color="#000000"][vc_column width="1/1"][kleo_portfolio display_type="overlay" title_style="normal" columns="3" pagination="no" filter="yes" excerpt="yes" category="All" item_count="12"][/vc_column][/vc_row]
    

    Your page need to be in full width template.

    That’s all

    Cheers

    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 Upgrade Account Option #53533
     Radu
    Moderator

    Hello,

    Try with this CSS snippet

    COPY CODE
    
    #item-header-content span.pmpro_label {display:none;}
    

    Add this code to your Theme Options -> General Settings -> Quick CSS area

    Let me know if it works.

    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: In need of CSS help #53439
     Radu
    Moderator

    Hello,

    Try with this css

    COPY CODE
    
    .vc_grid-item-mini .vc_gitem-zone-mini a.vc_gitem-link {color:#FFF !important;}
    div.vc_gitem-zone.vc_gitem-zone-b.hoverimage.vc-gitem-zone-height-mode-auto.vc_gitem-is-link img:hover{ display:none !important;}
    

    Cheers

    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: Partner Logo Fully Visible on Initial Load #53170
     Radu
    Moderator
    This reply has been set as private.
    in reply to: Partner Logo Fully Visible on Initial Load #53063
     Radu
    Moderator

    Hello,

    Just add this CSS snippet to you kleo-child/style.css or in Wp-Admin -> Theme Options -> General Settings -> Quick Css ->

    COPY CODE
    
    .client img {opacity:1 !important;}
    

    Let me know if is ok

    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

    Hello,

    Try with css snippet

    COPY CODE
    
    
    #sitewide-notice #message {
      right: 0;
      left: 0;
      top: 30%;
      position: fixed;
      margin: 0px auto;
      width: 60%;
      border: rgba(0,0,0, 0.3) solid 20px;
      z-index: 9999;
     }
    
    #sitewide-notice #message #close-notice {
      display: block;
      float: right;
      margin-top: 0px;
      background-color: #555;
      padding: 2px 10px;
      color: #fff;
      font-weight: bold;
      text-transform: uppercase;
      position: absolute;
      top: 0;
      right: 0;
    }
    
    #sitewide-notice #message #close-notice:hover { background-color:#333; }
    
    .buddypress div#message p, #sitewide-notice p { margin: 0; }
    
    

    With this code close button will be in right top.

    Let me know if is ok.

    Cheers

    Radu

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

    Hello,

    Try to apply this little site wide notification CSS fix.

    COPY CODE
    
    #sitewide-notice #message {
      right: 0;
      left: 0;
      top: 30%;
      position: fixed;
      margin: 0px auto;
      width: 60%;
      border: rgba(0,0,0, 0.3) solid 20px;
      z-index: 9999;
     }
    #sitewide-notice #message #close-notice {
      display: block;
      float: right;
      margin-top: 0px;
      background-color: #efefef;
      padding: 2px 10px;
      color: #000;
      text-transform: uppercase;
    }
    .buddypress div#message p, #sitewide-notice p { margin: 0; }
    

    Let me know if this solve problem with ipad.

    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: Embedding Youtube videos #52682
     Radu
    Moderator

    Try like this

    COPY CODE
    
    #bbpress-forums iframe {max-height: 360px !important; }
    
    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: can't see details from avatar #52269
     Radu
    Moderator

    Hello

    Add this CSS code to your kelo-child style.css or in Theme Options -> General Settings -> Quick CSS

    COPY CODE
    
    .buddypress div#item-header div#item-header-content {
      z-index: 55;
      position: relative;
    }
    
    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: how to style tabs in Tour section? #52255
     Radu
    Moderator

    Hello,

    Try like this :

    COPY CODE
    
    
    .wpb_tour .nav-tab {
    width: 200px;
    }
    
    @media (max-width: 600px) {
      .wpb_tour .nav-tab {
       width: 100% !important;
      }
    }
    
    
    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: how to stop other you tube videos at end of yours? #52247
     Radu
    Moderator

    Example embedded without related videos at end.

    COPY CODE
    
    <iframe width="640" height="480" src="https://www.youtube.com/embed/KMU0tzLwhbE?rel=0" frameborder="0" allowfullscreen></iframe>
    
    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: Moving Sub Menu Up #51827
     Radu
    Moderator

    Hello,

    It’s done

    I have used this codes

    COPY CODE
    
    
    .navbar-nav > li > .dropdown-menu  {margin-top:-40px;}
    .header-scrolled .navbar-nav > li > .dropdown-menu {margin-top:-0px;}
    
    

    I loaded this styles on your theme settings quick CSS

    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 Author Title Posts & Pages #51825
     Radu
    Moderator

    Try with this CSS code.

    Add code to your Theme Options – > Styling Options -> Quick css

    COPY CODE
    
    .post.type-post .article-meta {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
    in reply to: kleo-quick-contact #51822
     Radu
    Moderator

    Hello,

    Here is a working code

    COPY CODE
    
    
    if (!function_exists('kleo_contact_form')) {
    	function kleo_contact_form( $atts, $content = null ) {
    		extract(shortcode_atts(array(
    			'title'    	 => 'CONTACT US'
    		), $atts));
    	
    		$output = '';
    		
    		$output .= '<div class="kleo-quick-contact-wrapper">'
    			.'<a class="kleo-quick-contact-link" href="#"><i class="icon-mail-alt"></i></a>'
    			.'<div id="kleo-quick-contact">'
    				.'<h4 class="kleo-qc-title">'. $title .'</h4>'
    				.'<p>'. do_shortcode($content).'</p>'
    				.'<form class="kleo-contact-form" action="#" method="post" novalidate>'
    					.'<input type="text" placeholder="'.__("Your Name",'kleo_framework').'" required id="contact_name" name="contact_name" class="form-control" value="" tabindex="276" />'
    					.'<input type="email" required placeholder="' . __("Your Email",'kleo_framework') . '" id="contact_email" name="contact_email" class="form-control" value="" tabindex="277"  />'
    					.'<textarea placeholder="' . __("Nachricht an uns...",'kleo_framework') . '" required id="contact_content" name="contact_content" class="form-control" tabindex="278"></textarea>'
    						.'<input type="hidden" name="action" value="kleo_sendmail">'
    						.'<button tabindex="279" class="btn btn-default pull-right" type="submit">'. __("Send",'kleo_framework').'</button>'
    					.'<div class="kleo-contact-loading">'. __("Sending",'kleo_framework').' <i class="icon-spinner icon-spin icon-large"></i></div>'
    					.'<div class="kleo-contact-success"> </div>'
    				.'</form>'
    				.'<div class="bottom-arrow"></div>'
    			.'</div>'
    		.'</div><!--end kleo-quick-contact-wrapper-->';
    			
    		return $output;
    	}
    	add_shortcode('kleo_contact_form', 'kleo_contact_form');
    }
    
    

    RECOMMENDED SOLUTION : You can translate that strings from Codestyling Localization.

    Cheers

    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: how to style tabs in Tour section? #51678
     Radu
    Moderator

    Hello,

    The “problem” was caused by having background section like as tab hover and active color.

    I used this fix

    COPY CODE
    
    .wpb_tour .nav-tab li:hover, .wpb_tour .nav-tab li.active {
    	
    	background-color: #eee !important;	
    
    } 
    

    Now it’s ok.

    Cheers

    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: Putting HTML code in section of a SPECIFIC page #51393
     Radu
    Moderator

    Provide that tracking code inside a

    COPY CODE
     

    tag or attach a txt file with that code.

    Cheers

    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: Display Pmpro Membership type in profiles #51391
     Radu
    Moderator

    Hello

    You can use this function

    COPY CODE
    
    function kleo_membership_info()
    {
    
      global $membership_levels,$current_user;
      if (! $membership_levels) {
        return;
      }
      
    global $bp;
    
    $puid = $bp->displayed_user->id;
    
    //print_r (pmpro_getMembershipLevelForUser($puid));
    
      if ($puid) {
    
        if ( pmpro_getMembershipLevelForUser($puid) ) {
            $membership = pmpro_getMembershipLevelForUser($puid);
    
          echo '<a href="'.pmpro_url("account").'"><span class="label radius pmpro_label">'.$membership->name.'</span></a>';
        }
        else
        {
          echo '<a href="'.pmpro_url("levels").'"><span class="label radius pmpro_label">'.__("Upgrade account",'kleo_framework').'</span></a>';
        }
      }
    }
    
    add_action('bp_before_member_header_meta', 'kleo_membership_info');
    
    

    The membership level will be seen by anyone

    You can customize and extend functionality of this function.

    Cheers

    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: hyper-links on Activiy Feeds #51386
     Radu
    Moderator

    Hello,

    Try to remove the generated mo and po files, then you need to retranslate all that strings.

    Note the links need to have \ \, When you translate strings with links be careful with the links they needs to be like below.

    COPY CODE
    
    Example : <a href=<strong>\</strong>"http://codex.buddypress.org/buddypress-site-administration/managing-activity/<strong>\</strong>">Managing Activity</a>
    

    Cheers

    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: Limiting Post Grid Text Count #51383
     Radu
    Moderator

    Hello,

    Go to wp-content\themes\kleo\page-parts\post-content-masonry.php line 183

    Look for

    COPY CODE
    
    <div class="entry-summary">
       <?php echo kleo_excerpt(); ?>
    </div><!-- .entry-summary -->
    

    Replace with

    COPY CODE
    
    <div class="entry-summary">
       <?php echo kleo_excerpt(30); ?>
    </div><!-- .entry-summary -->
    

    30 will be number of characters to display.

    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

    Hello,

    Try with this code

    Add this code in kleo-child functions.php

    COPY CODE
    
    /** 
     * Modify bbp_get_time_since() output 
     * -------------------------------------------------------------------------------------------*/
    add_filter('bbp_get_time_since', 'aq_get_time_since', 10, 3);
    function aq_get_time_since( $output, $older_date, $newer_date ) {
    	
    	// Setup the strings
    	$unknown_text   = apply_filters( 'bbp_core_time_since_unknown_text',   __( 'sometime',  'bbpress' ) );
    	$right_now_text = apply_filters( 'bbp_core_time_since_right_now_text', __( 'right now', 'bbpress' ) );
    	$ago_text       = apply_filters( 'bbp_core_time_since_ago_text',       __( '%s ago',    'bbpress' ) );
    
    	// array of time period chunks
    	$chunks = array(
    		array( 60 * 60 * 24 * 365 , __( 'year',   'bbpress' ), __( 'years',   'bbpress' ) ),
    		array( 60 * 60 * 24 * 30 ,  __( 'month',  'bbpress' ), __( 'months',  'bbpress' ) ),
    		array( 60 * 60 * 24 * 7,    __( 'week',   'bbpress' ), __( 'weeks',   'bbpress' ) ),
    		array( 60 * 60 * 24 ,       __( 'day',    'bbpress' ), __( 'days',    'bbpress' ) ),
    		array( 60 * 60 ,            __( 'hour',   'bbpress' ), __( 'hours',   'bbpress' ) ),
    		array( 60 ,                 __( 'minute', 'bbpress' ), __( 'minutes', 'bbpress' ) ),
    		array( 1,                   __( 'second', 'bbpress' ), __( 'seconds', 'bbpress' ) )
    	);
    
    	if ( !empty( $older_date ) && !is_numeric( $older_date ) ) {
    		$time_chunks = explode( ':', str_replace( ' ', ':', $older_date ) );
    		$date_chunks = explode( '-', str_replace( ' ', '-', $older_date ) );
    		$older_date  = gmmktime( (int) $time_chunks[1], (int) $time_chunks[2], (int) $time_chunks[3], (int) $date_chunks[1], (int) $date_chunks[2], (int) $date_chunks[0] );
    	}
    
    	// $newer_date will equal false if we want to know the time elapsed
    	// between a date and the current time. $newer_date will have a value if
    	// we want to work out time elapsed between two known dates.
    	$newer_date = ( !$newer_date ) ? strtotime( current_time( 'mysql' ) ) : $newer_date;
    
    	// Difference in seconds
    	$since = $newer_date - $older_date;
    
    	// Something went wrong with date calculation and we ended up with a negative date.
    	if ( 0 > $since ) {
    		$output = $unknown_text;
    
    	// We only want to output two chunks of time here, eg:
    	//     x years, xx months
    	//     x days, xx hours
    	// so there's only two bits of calculation below:
    	} else {
    
    		// Step one: the first chunk
    		for ( $i = 0, $j = count( $chunks ); $i < $j; ++$i ) {
    			$seconds = $chunks[$i][0];
    
    			// Finding the biggest chunk (if the chunk fits, break)
    			$count = floor( $since / $seconds );
    			if ( 0 != $count ) {
    				break;
    			}
    		}
    
    		// If $i iterates all the way to $j, then the event happened 0 seconds ago
    		if ( !isset( $chunks[$i] ) ) {
    			$output = $right_now_text;
    
    		} else {
    
    			// Set output var
    			$output = ( 1 == $count ) ? '1 '. $chunks[$i][1] : $count . ' ' . $chunks[$i][2];
    
    			// No output, so happened right now
    			if ( ! (int) trim( $output ) ) {
    				$output = $right_now_text;
    			}
    		}
    	}
    
    	return $output;
    }
    

    Let me know if it works

    Cheers

    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: Google Analytics dont track #51359
     Radu
    Moderator

    Hello,

    The site cannot be accessed on my side i recive this message from browser.

    COPY CODE
    
    This webpage is not available
    Hide details
    The server at demo.comunidadpymex.de can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.
    

    Also you can check here : http://network-tools.com/default.asp?prog=express&host=http%3A%2F%2Fdemo.comunidadpymex.de%2F
    or here : http://www.downforeveryoneorjustme.com/demo.comunidadpymex.de

    This is why google analytics cannot verify your site.

    Your site is not visible in internet.

    Cheers

    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 second level menu style site-wide? #51233
     Radu
    Moderator
    This reply has been set as private.
    in reply to: transparent second level menu style site-wide? #51230
     Radu
    Moderator

    Hello again,

    Use this css snippets

    COPY CODE
    
    .navbar-nav > li > .dropdown-menu {background-color:transparent !important;}
    .navbar-nav > li > .dropdown-menu li a:hover {background-color:rgba(0,0,0,0.2);}
    

    Cheers

    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: Links #51225
     Radu
    Moderator

    Hello,

    Add this link to menu with your desired titles.

    COPY CODE
    
    ##profile_link##/messages
    ##profile_link##/media
    

    These code will match current logged user messages or media.

    Cheers

    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: How can i show the topics in the homepage of forums? #51206
     Radu
    Moderator

    Hello,

    Try with this shortcodes

    COPY CODE
    
    
    Forums
    [bbp-forum-index] – This will display your entire forum index.
    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]
    
    Topics
    [bbp-topic-index] – Display the most recent 15 topics across all your forums with pagination.
    

    Cheers

    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: 5 Columns #51197
     Radu
    Moderator

    Hello,

    Yes you can do it, this is the html code that generates 5 columns

    COPY CODE
    
    <div class="row">
        <div class="col-md-2 col-md-offset-1">1</div>
        <div class="col-md-2">2</div>
        <div class="col-md-2">3</div>
        <div class="col-md-2">4</div>
        <div class="col-md-2">5</div>
    </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: add color to social media icons in top menu #51189
     Radu
    Moderator

    Hello,

    You can add colors for top menu social icons like this

    COPY CODE
    
    
    /* Kleo Social Icons Custom colors */
    
    ul.kleo-social-icons a[href*="twitter"] { background-color: #0084B4 ;}
    ul.kleo-social-icons a[href*="twitter"] *{ color:white; }
    
    ul.kleo-social-icons a[href*="facebook"] { background-color: #3B5998;}
    ul.kleo-social-icons a[href*="facebook"] *{ color:white; }
    
    ul.kleo-social-icons a[href*="youtube"] { background-color: #cc181e ;}
    ul.kleo-social-icons a[href*="youtube"] *{ color:white; }
    
    

    You can duplicate that css and replace with your needed domain.

    Please provide a screenshot with that problematic widgets or/and provide URL.

    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: Putting HTML code in section of a SPECIFIC page #51163
     Radu
    Moderator

    Hello,

    Add this code to your kleo-child functions.php

    COPY CODE
    
    
    function checkpage() {
        
        if (is_page('contact')) {
    
        echo '<script>alert("Hello! I am an alert box!!")</script>';
        
        }
    
    }
    add_action('wp_head','checkpage');
    

    Replace the example code from echo with your preffered js code.

    Also replace contact with your page slug.

    Cheers

    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: Z-Index Profile Photo #50986
     Radu
    Moderator

    Problem fixed with this jQuery code

    COPY CODE
    
    
    <script>
    jQuery(document).ready(function(){
     
    	jQuery("a.public-mess-window").on( "click", function() {
    		jQuery("body.is-user-profile div#item-header div#item-header-content").css("position", "static");
    	});
     
    	jQuery("a.priv-mess-window").on( "click", function() {
    		jQuery("body.is-user-profile div#item-header div#item-header-content").css("position", "static");
    	});
     
    	jQuery(".mess-close").on( "click", function() {
    		jQuery("body.is-user-profile div#item-header div#item-header-content").css("position", "relative");
    	});
     
    	jQuery(document).on('mouseup touchend', function(e){
    	        var container = jQuery(".mess-popup");
    	        if (!container.is(e.target) && container.has(e.target).length === 0){
    		jQuery("body.is-user-profile div#item-header div#item-header-content").css("position", "relative");
    		}
    	});
     
    });
     
     
    </script>
    
    

    Cheers

    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: Gap above Revolution Slider on Home Page #50978
     Radu
    Moderator

    Hello,

    Momentarily try with CSS Fix

    Add this CSS code to your Theme Options -> General Settings -> Quick CSS area or in your kleo-child/style.css

    COPY CODE
    
    .article-content > p:first-child {
    display: none !important;
    }
    

    Let me know if is ok.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 40 posts - 2,841 through 2,880 (of 2,990 total)

Log in with your credentials

Forgot your details?