This topic has 12 replies, 2 voices, and was last updated 9 years by Future Cellar.
-
Author
Tagged: avatar in posts grid
-
February 5, 2015 at 07:26 #44768Future CellarParticipant
Hi there
I’m currently using home-pinterest as my homepage
I wonder is there anyway to have author’s avatars shown under featured image, so each single post block layout will be look like something below
—————-
[ featured ]
[ image ]
[ ]
================
[avatar][except]
[ ][ ]
—————-February 5, 2015 at 07:29 #44769Future CellarParticipant———————————————
[ featured—–]
[ image——–]
[ ————-]
================
[avatar][except]
[—– ][ —–]
———————————————February 5, 2015 at 13:23 #44784sharmstrModeratorIf you mean having the author avatar in the author meta, I’ve added that to 2.4.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis 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.February 6, 2015 at 01:38 #44892sharmstrModeratorSoon. It was due to already be released, but Visual Composer had a major update and Buddypress released 2.2 today. Kleo had to be modified to support both of those updates.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 6, 2015 at 04:42 #44907Future CellarParticipantthanks for answering my question so fast 🙂
Last question, which file should i edit if i want to make the avatar size, after 2.4 releaseFebruary 6, 2015 at 04:56 #44908sharmstrModeratorI dont understand your question. Are you asking how to adjust the size? If so, you can do that with css
COPY CODEarticle .post-header .post-meta .meta-author img { height: 25px; width: 25px; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 23, 2015 at 23:22 #47332Future CellarParticipantHi, its me again
the avatar just doest show up in the posts grid
I already enabled the meta avatar in the theme optionFebruary 24, 2015 at 00:47 #47351sharmstrModeratorRespond privately with a link and credentials.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 24, 2015 at 01:36 #47359sharmstrModeratorIts ignoring any options set in the meta. I think its a plugin conflict. You can see the menu that the account avatar isnt working. That’s because there is a conflict with that avatar plugin that you are using. Try disabling all non-Kleo plugins, delete your cache and see if it work.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 24, 2015 at 02:31 #47362Future CellarParticipantthanks, 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 itCOPY CODEfunction 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); } }
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.