Home Forums WoodMart support forum Site speed

Site speed

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #34874

    Sinaonee
    Participant

    Hello

    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?

    #34911

    Artem Temos
    Keymaster

    Hi,

    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.

    #34914

    Sinaonee
    Participant

    My admin access

    #34925

    Artem Temos
    Keymaster

    Try 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 theme

    function 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
    }
    #34941

    Sinaonee
    Participant

    Gzip is active.
    Unfortunately, Java code is not optimal! 😢

    Attachments:
    You must be logged in to view attached files.
    #34943

    Artem Temos
    Keymaster

    If 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.

    #34946

    Sinaonee
    Participant

    Please introduce me the best WordPress Minify plugin plugin.

    #34954

    Artem Temos
    Keymaster

    We usually use this plugin for this purpose https://wordpress.org/plugins/bwp-minify/

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