Home › Forums › WoodMart support forum › Site speed
Site speed
- This topic has 7 replies, 2 voices, and was last updated 7 years, 3 months ago by
Artem Temos.
-
AuthorPosts
-
January 23, 2018 at 7:42 am #34874
SinaoneeParticipantHello
Before installing your template, I rate my site with the default WordPress template on Google 90. After installing your template, this number is up to 77! Why? Is it normal?
January 23, 2018 at 8:34 am #34911
Artem TemosKeymasterHi,
Could you please provide us your admin access so we can check this information with default wordpress theme and our WoodMart?
Thank you in advance.
January 23, 2018 at 8:37 am #34914
SinaoneeParticipantMy admin access
January 23, 2018 at 8:56 am #34925
Artem TemosKeymasterTry to contact your hosting provider and ask them to enable browser cache and Gzip compression to optimize performance.
Google tools also don’t like user’s avatar image on the blog post so you can remove it adding the following code snippet to the functions.php file in the child themefunction woodmart_post_meta( $atts = array() ) { extract(shortcode_atts(array( 'author' => 1, 'author_ava' => 0, 'date' => 1, 'cats' => 0, 'tags' => 0, 'labels' => 0, 'short_labels' => false, 'edit' => 1, 'comments' => 1, 'limit_cats' => 0 ), $atts)); ?> <ul class="entry-meta-list"> <?php if( get_post_type() === 'post' ): ?> <?php // Is sticky ?> <?php if( is_sticky() ): ?> <li class="meta-featured-post"><?php esc_html_e( 'Featured', 'woodmart' ) ?></li> <?php endif; ?> <?php // Author ?> <?php if ($author == 1): ?> <li class="meta-author"> <?php if ( $labels == 1 && ! $short_labels ): ?> <?php esc_html_e('Posted by', 'woodmart'); ?> <?php elseif($labels == 1 && $short_labels): ?> <?php esc_html_e('By', 'woodmart'); ?> <?php endif; ?> <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"><?php echo get_the_author(); ?></a> </li> <?php endif ?> <?php // Date ?> <?php if( $date == 1): ?><li class="meta-date"><?php the_date(); ?></li><?php endif ?> <?php // Categories ?> <?php if(get_the_category_list( ', ' ) && $cats == 1): ?> <li class="meta-categories"><?php echo get_the_category_list( ', ' ); ?></li> <?php endif; ?> <?php // Tags ?> <?php if(get_the_tag_list( '', ', ' ) && $tags == 1): ?> <li class="meta-tags"><?php echo get_the_tag_list( '', ', ' ); ?></li> <?php endif; ?> <?php // Comments ?> <?php if( $comments && comments_open() ): ?> <li><span class="meta-reply"> <?php $comment_link_template = '<span class="comments-count">%s</span> <span class="comments-count-label">%s</span>'; ?> <?php comments_popup_link( sprintf( $comment_link_template, '0', esc_html__( 'comments', 'woodmart' ) ), sprintf( $comment_link_template, '1', esc_html__( 'comment', 'woodmart' ) ), sprintf( $comment_link_template, '%', esc_html__( 'comments', 'woodmart' ) ) ); ?> </span></li> <?php endif; ?> <?php // Edit link ?> <?php if( is_user_logged_in() && $edit == 1 ): ?> <!--li><?php edit_post_link( esc_html__( 'Edit', 'woodmart' ), '<span class="edit-link">', '</span>' ); ?></li--> <?php endif; ?> <?php endif; ?> </ul> <?php }
January 23, 2018 at 10:04 am #34941
SinaoneeParticipantGzip is active.
Unfortunately, Java code is not optimal! 😢Attachments:
You must be logged in to view attached files.January 23, 2018 at 10:06 am #34943
Artem TemosKeymasterIf you mean the JavaScript code so it is already optimized in our theme and you can turn on this option in Theme Settings -> Performance. Most likely you see this error saying about JS files from other plugins. We suggest you to use Better WordPress Minify plugin to compress all your JS and CSS files that come from WordPress and from installed plugins.
January 23, 2018 at 10:12 am #34946
SinaoneeParticipantPlease introduce me the best WordPress Minify plugin plugin.
January 23, 2018 at 10:38 am #34954
Artem TemosKeymasterWe usually use this plugin for this purpose https://wordpress.org/plugins/bwp-minify/
-
AuthorPosts
- You must be logged in to create new topics. Login / Register