Forum Replies Created
-
Author
-
seyopaParticipant
Hi Radu,
Thanks for the prompt response. There are a TON of these images and it would be impractical to re-upload them all.
However, I did try a ‘replace image’ for the first image on the page and it had no effect. Is there any way I could override part of the template?
Thanks.
seyopaParticipantHi Radu,
Thank you so much for your reply. I deactivated all of our plugins and indeed, the site was much faster. So I activated the plugins one-by-one and was able to keep most of the speed savings. I’m not sure what it was, but it’s working great now.
I would still like to serve up the post thumbnails via CDN. They are still being served from our server. They’re in the post masonry grid. The classes are “vc_gitem-zone vc_gitem-zone-a vc_gitem-is-link” if this is a clue.
Thanks again.
seyopaParticipantAlso, I have identified that the masonry grid is really the culprit in slowing down the site. It’s causing a 15 second wait for admin-ajax.php. Please see attached screen shot.
Thank you.
Attachments:
You must be logged in to view attached files.seyopaParticipantI can attest to this on our site. The Masonry grid takes a really long time to load. Is there anything we can do to speed it up? We love the functionality of the filter, but the load time is really bad.
Thank you.
seyopaParticipantAwesome. Thank you so much! You guys are great.
seyopaParticipantHi Sharmstr,
Thanks for the reply. Sorry – I was tired and had just copied the comment stuff from your post meta code. When I looked at it again today, I realized that I was just appending a post meta array and not doing anything with it. I got it working:
COPY CODE<a href="<?php get_permalink()?>#comments">, <i class="icon-comment-empty" data-original-title="<?php echo 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> <?php echo get_comments_number(); echo sprintf( _n( ' comment', ' comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ); ?> </a>
seyopaParticipantPerfect. Thank you. I turned off the categories and comments in the post meta. The page I’m working on is actually a blog listing. I figured out that it was post-content-masonry.php I needed to override. I was able to change ‘Read more’ to ‘Show more’ but I still can’t get the comments to show up in the footer. Here’s what I added to the post footer after do_action(‘kleo_post_footer’);:
//comments
$meta_list = array();
$author_links = ”;
$meta_elements = sq_option( ‘blog_meta_elements’, $kleo_config[‘blog_meta_defaults’] );
$meta_list[] = ‘<small class=”meta-comment-count”><a href=”‘.
get_permalink().’#comments”>’.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>’ .
‘</small>’;Is there maybe a filter, like after_kleo_post_footer?
Thanks!
seyopaParticipantThank you so much. Duh. I guess I should have known from the way it was written that it was variable and could be changed in options.
December 7, 2015 at 19:30 in reply to: Messages menu bar not showing on mobile responsive layout #91721seyopaParticipantThis reply has been set as private.December 7, 2015 at 18:17 in reply to: Messages menu bar not showing on mobile responsive layout #91698seyopaParticipantThis reply has been set as private.December 2, 2015 at 23:20 in reply to: Messages menu bar not showing on mobile responsive layout #90782seyopaParticipantYes Buddypress. It is not showing up at all. It disappears when the browser gets narrow or responsive.
Dan
-
AuthorPosts