Home Forums WoodMart support forum Removal of unnecessary links in the category page / Problem for the SEO

Removal of unnecessary links in the category page / Problem for the SEO

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #418176

    Cal.97
    Participant

    Hello,

    I would like to delete the links generated unnecessarily on my category pages.

    Indeed, when I install the filters feature, many links are generated which is very bad for SEO.
    In addition, the function that displays the class .wrapp-buttons also generates unnecessary links. Knowing that I have 30 products at the moment, I end up with 30 links to the cart, 30 links to the comparison system and 30 links to the whishlist. Which again is very bad for SEO.

    Is there any way to not generate unnecessary links? Or just remove the features that are a problem? I managed to remove the filters, but not the function that makes .wrapp-buttons appear.
    Is there a PHP command to remove this feature?

    #418556

    Hello,

    Unfortunately, we cannot remove these links and all the functionality would be broken.

    If you have any questions please feel free to contact us.

    Best Regards

    #418576

    Cal.97
    Participant

    Thanks for your answer.

    Finally, by searching in the theme files, I think I found the solution.
    I simply deleted the following passage in the content-product-icons.php file :

    <?php woodmart_hover_image(); ?>
    		<div class="wrapp-buttons">
    			<div class="wd-buttons<?php echo woodmart_get_old_classes( ' woodmart-buttons' ); ?>">
    				<div class="wd-add-btn wd-action-btn wd-style-icon wd-add-cart-icon<?php echo woodmart_get_old_classes( ' wd-add-cart-btn woodmart-add-btn' ); ?>"><?php do_action( 'woodmart_add_loop_btn' ); ?></div>
    				<?php woodmart_enqueue_js_library( 'tooltips' ); ?>
    				<?php woodmart_enqueue_js_script( 'btns-tooltips' ); ?>
    				<?php woodmart_quick_view_btn( get_the_ID() ); ?>
    				<?php woodmart_add_to_compare_loop_btn(); ?>
    				<?php do_action( 'woodmart_product_action_buttons' ); ?>
    			</div> 
    		</div>

    This way, I removed the add to cart, whishlist and comparison functionality from the category page.
    All unnecessary links have also been removed.
    What do you think?
    The other features of the theme don’t seem to be affected.

    #418803

    Hello,

    We are glad you have solved the issue.

    Please note such customization may cause further incorrect working. If you face any problems in the future, please remove the customization you have made, then check the issue.

    If you have any questions please feel free to contact us.

    Best Regards

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