Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #212113

    Any clue how to resolve these Google Webmaster Tools errors?

    http://cl.ly/image/2H1I0V2e2P1p

    #212175

    Hi Imburr!

    We’ll take care of them with the next theme update. For a quick fix open up /wp-content/themes/enfold/config-woocommerce/config.php and replace

    
    		//generate markup
    		$output  = "";
    		$output .= "<div class='product-sorting'>";
    		$output .= "    <ul class='sort-param sort-param-order'>";
    		$output .= "    	<li><span class='currently-selected'>".__("Sort by",'avia_framework')." <strong>".$product_order[$po_key]."</strong></span>";
    		$output .= "    	<ul>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'default')."><a href='".avia_woo_build_query_string($params, 'product_order', 'default')."'>	<span class='avia-bullet'></span>".$product_order['default']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'title')."><a href='".avia_woo_build_query_string($params, 'product_order', 'title')."'>	<span class='avia-bullet'></span>".$product_order['title']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'price')."><a href='".avia_woo_build_query_string($params, 'product_order', 'price')."'>	<span class='avia-bullet'></span>".$product_order['price']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'date')."><a href='".avia_woo_build_query_string($params, 'product_order', 'date')."'>	<span class='avia-bullet'></span>".$product_order['date']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'popularity')."><a href='".avia_woo_build_query_string($params, 'product_order', 'popularity')."'>	<span class='avia-bullet'></span>".$product_order['popularity']."</a></li>";
    		$output .= "    	</ul>";
    		$output .= "    	</li>";
    		$output .= "    </ul>";
    
    		$output .= "    <ul class='sort-param sort-param-sort'>";
    		$output .= "    	<li>";
    		if($ps_key == 'desc') 	$output .= "    		<a title='".$product_sort['asc']."' class='sort-param-asc'  href='".avia_woo_build_query_string($params, 'product_sort', 'asc')."'>".$product_sort['desc']."</a>";
    		if($ps_key == 'asc') 	$output .= "    		<a title='".$product_sort['desc']."' class='sort-param-desc' href='".avia_woo_build_query_string($params, 'product_sort', 'desc')."'>".$product_sort['asc']."</a>";
    		$output .= "    	</li>";
    		$output .= "    </ul>";
    
    		$output .= "    <ul class='sort-param sort-param-count'>";
    		$output .= "    	<li><span class='currently-selected'>".__("Display",'avia_framework')." <strong>".$pc_key." ".$per_page_string."</strong></span>";
    		$output .= "    	<ul>";
    		$output .= "    	<li".avia_woo_active_class($pc_key, $per_page).">  <a href='".avia_woo_build_query_string($params, 'product_count', $per_page)."'>		<span class='avia-bullet'></span>".$per_page." ".$per_page_string."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($pc_key, $per_page*2)."><a href='".avia_woo_build_query_string($params, 'product_count', $per_page * 2)."'>	<span class='avia-bullet'></span>".($per_page * 2)." ".$per_page_string."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($pc_key, $per_page*3)."><a href='".avia_woo_build_query_string($params, 'product_count', $per_page * 3)."'>	<span class='avia-bullet'></span>".($per_page * 3)." ".$per_page_string."</a></li>";
    		$output .= "    	</ul>";
    		$output .= "    	</li>";
    		$output .= "	</ul>";
    
    

    with

    
    		//generate markup
    		$output  = "";
    		$output .= "<div class='product-sorting'>";
    		$output .= "    <ul class='sort-param sort-param-order'>";
    		$output .= "    	<li><span class='currently-selected'>".__("Sort by",'avia_framework')." <strong>".$product_order[$po_key]."</strong></span>";
    		$output .= "    	<ul>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'default')."><a href='".avia_woo_build_query_string($params, 'product_order', 'default')."' rel='nofollow'>	<span class='avia-bullet'></span>".$product_order['default']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'title')."><a href='".avia_woo_build_query_string($params, 'product_order', 'title')."' rel='nofollow'>	<span class='avia-bullet'></span>".$product_order['title']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'price')."><a href='".avia_woo_build_query_string($params, 'product_order', 'price')."' rel='nofollow'>	<span class='avia-bullet'></span>".$product_order['price']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'date')."><a href='".avia_woo_build_query_string($params, 'product_order', 'date')."'>	<span class='avia-bullet'></span>".$product_order['date']."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($po_key, 'popularity')."><a href='".avia_woo_build_query_string($params, 'product_order', 'popularity')."' rel='nofollow'>	<span class='avia-bullet'></span>".$product_order['popularity']."</a></li>";
    		$output .= "    	</ul>";
    		$output .= "    	</li>";
    		$output .= "    </ul>";
    
    		$output .= "    <ul class='sort-param sort-param-sort'>";
    		$output .= "    	<li>";
    		if($ps_key == 'desc') 	$output .= "    		<a title='".$product_sort['asc']."' class='sort-param-asc'  href='".avia_woo_build_query_string($params, 'product_sort', 'asc')."' rel='nofollow'>".$product_sort['desc']."</a>";
    		if($ps_key == 'asc') 	$output .= "    		<a title='".$product_sort['desc']."' class='sort-param-desc' href='".avia_woo_build_query_string($params, 'product_sort', 'desc')."' rel='nofollow'>".$product_sort['asc']."</a>";
    		$output .= "    	</li>";
    		$output .= "    </ul>";
    
    		$output .= "    <ul class='sort-param sort-param-count'>";
    		$output .= "    	<li><span class='currently-selected'>".__("Display",'avia_framework')." <strong>".$pc_key." ".$per_page_string."</strong></span>";
    		$output .= "    	<ul>";
    		$output .= "    	<li".avia_woo_active_class($pc_key, $per_page).">  <a href='".avia_woo_build_query_string($params, 'product_count', $per_page)."' rel='nofollow'>		<span class='avia-bullet'></span>".$per_page." ".$per_page_string."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($pc_key, $per_page*2)."><a href='".avia_woo_build_query_string($params, 'product_count', $per_page * 2)."' rel='nofollow'>	<span class='avia-bullet'></span>".($per_page * 2)." ".$per_page_string."</a></li>";
    		$output .= "    	<li".avia_woo_active_class($pc_key, $per_page*3)."><a href='".avia_woo_build_query_string($params, 'product_count', $per_page * 3)."' rel='nofollow'>	<span class='avia-bullet'></span>".($per_page * 3)." ".$per_page_string."</a></li>";
    		$output .= "    	</ul>";
    		$output .= "    	</li>";
    		$output .= "	</ul>";
    
    

    Regards,
    Peter

    #212320

    Thanks! you guys are amazing, really great support here. I am glad I went with you guys as a theme provider, the support on some of the other main providers is not nearly as comprehensive a here.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘GWT 404 errors’ is closed to new replies.