Forum Replies Created

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
  • in reply to: avatar in posts grid #47362
     Future Cellar
    Participant

    thanks, i got it fixed
    I used a function to redirect the author link to buddypress profile
    once i removed it, all problem gone
    The code was originally from this forum, for others who might experiencing the same problem, blew is the original code, just delete it

    COPY CODE
    function kleo_entry_meta($echo=true, $att=array()) {
    	
    		$meta_list = array();
    		
    		// Translators: used between list items, there is a space after the comma.
    		$categories_list = get_the_category_list( __( ', ', 'kleo_framework' ) );
    
    		// Translators: used between list items, there is a space after the comma.
    		$tag_list = get_the_tag_list( '', __( ', ', 'kleo_framework' ) );
    
    		$date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark" rel="nofollow"><time class="entry-date" datetime="%3$s">%4$s</time></a>',
    			esc_url( get_permalink() ),
    			esc_attr( get_the_time() ),
    			esc_attr( get_the_date( 'c' ) ),
    			esc_html( get_the_date() )
    		);
    
    		$author = sprintf( '<a href="%1$s" title="%2$s" rel="author" rel="nofollow">%3$s</a>',
    			esc_url( bp_core_get_user_domain( get_the_author_meta( 'ID' ) ) ),
    			esc_attr( sprintf( __( 'View all posts by %s', 'kleo_framework' ), get_the_author() ) ),
    			get_the_author()
    		);
    
    		$meta_list[] = '<small class="meta-author">'.$author.'</small>';
    		$meta_list[] = '<small>'.$date.'</small>';
    		
    		$cat_tag = array();
    		
    		if ( $categories_list ) {
    			$cat_tag[] = $categories_list;
    		}
    		
    		if ($tag_list) {
    			$cat_tag[] = $tag_list;
    		}
    		if (!empty($cat_tag)) {
    			$meta_list[] = '<small class="meta-category">'.implode(", ",$cat_tag).'</small>';
    		}
    		
    		//comments
    		if (!isset($att['comments']) || (isset($att['comments']) && $att['comments'] !== false)) {
    		$meta_list[] = '<small class="meta-comment-count"><a href="'. get_permalink().'#comments" rel="nofollow">'.get_comments_number().' <i class="icon-chat-1 hover-tip" 
    			data-original-title="'.sprintf( _n( 'This article has one comment', 'This article has %1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'" 
    			data-toggle="tooltip" 
    			data-placement="top"></i></a></small>';
    		}
    		
    		if ($echo) {
    			echo implode(", ", $meta_list);
    		}
    		else {
    			return implode(", ", $meta_list);
    		}
    		
    	}
    in reply to: avatar in posts grid #47353
     Future Cellar
    Participant
    This reply has been set as private.
    in reply to: avatar in posts grid #47332
     Future Cellar
    Participant

    Hi, its me again
    the avatar just doest show up in the posts grid
    I already enabled the meta avatar in the theme option

    in reply to: load more posts #46662
     Future Cellar
    Participant

    in the attached code, it’s still loop=”size:All
    what’s the correct code for lazyload

    in reply to: load more posts #46164
     Future Cellar
    Participant

    Can’t find loading option in this version of kleo
    please let me know if anyone has a solution to that

    in reply to: posts grid layout problem #45916
     Future Cellar
    Participant

    thank u so much
    hope 1 day i can be half as good as u guys

    in reply to: posts grid layout problem #45904
     Future Cellar
    Participant

    image attached

    Attachments:
    You must be logged in to view attached files.
    in reply to: posts grid layout problem #45903
     Future Cellar
    Participant
    This reply has been set as private.
    in reply to: posts grid layout problem #45800
     Future Cellar
    Participant
    This reply has been set as private.
    in reply to: posts grid layout problem #45694
     Future Cellar
    Participant

    thanks for the help
    unfortunately, problem still there
    I find that when visual composer’s default grid template were used, all problem solved. But i really love the kleo posts grid layout, i wonder how can i change the β€˜load all’ option to ‘lazy load’ , i suppose that worth a try
    thanks again for the effort u put in.

    in reply to: posts grid layout problem #45513
     Future Cellar
    Participant

    problem still exist in kleo 2.4 and with latest visual composer

    in reply to: posts grid layout problem #45391
     Future Cellar
    Participant
    This reply has been set as private.
    in reply to: posts grid layout problem #45385
     Future Cellar
    Participant

    I installed jetpack and All in one SEO yesterday
    but problem still there even i disabled these two plugins~

    in reply to: home page loading slow #45026
     Future Cellar
    Participant

    Wow, it worked.
    Hmm, the strange thing is in both posts and posts grid, the ‘like’ function is still on, so I have no clue what ajax”Enable post likes” does, any difference between ‘on’ and ‘off’?

    and the attached .jpg showes before i turned it off,the admin-ajax.php took a lot of time pending. So i assume admin-ajax is the one in charge of ‘like’ function

    thanks for ur time, i really appreciated it.

    Attachments:
    You must be logged in to view attached files.
    in reply to: avatar in posts grid #44913
     Future Cellar
    Participant

    thanks, that exactly what i want~

    in reply to: avatar in posts grid #44907
     Future Cellar
    Participant

    thanks for answering my question so fast πŸ™‚
    Last question, which file should i edit if i want to make the avatar size, after 2.4 release

    in reply to: avatar in posts grid #44886
     Future Cellar
    Participant

    oh, so when is 2.4 available

    in reply to: avatar in posts grid #44769
     Future Cellar
    Participant

    β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
    [ featured—–]
    [ image——–]
    [ ————-]
    ================
    [avatar][except]
    [—– ][ —–]
    β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

    in reply to: buddypress socket area #44313
     Future Cellar
    Participant
    This reply has been set as private.
    in reply to: About Social Articles "new article" button #44211
     Future Cellar
    Participant

    thanks a lot! hmm, it’s working now, but only when i use default setting for permalinks
    whenever i use other settings, it went to 404 again

    does this make any sense to u ?

    in reply to: Posts Grid doesn't work anywhere #43578
     Future Cellar
    Participant

    also I tried to setup header image, uploaded, but not showing~

Viewing 21 posts - 1 through 21 (of 21 total)

Log in with your credentials

Forgot your details?