New Landing How can we help? Themeforest Theme Support Neighborhood Remove previous/next product

Viewing 4 posts - 1 through 4 (of 4 total)
  • #230366
    MarcusRG
    Member
    Post count: 69

    Hi

    How do I remove this function by erasing PHP? I don’t want to use display:none

    Attachments:
    You must be logged in to view attached files.
    #230489
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit content-single-product.php file at /neighborhood/woocommerce/. And remove given below of code.

    <?php if ($has_cat != 0) { ?>
    				<div class="product-navigation">
    					<div class="nav-previous"><?php previous_post_link( '%link', '<i class="fa-angle-right"></i>', true, '', 'product_cat' ); ?></div>
    					<div class="nav-next"><?php next_post_link( '%link', '<i class="fa-angle-left"></i>', true, '', 'product_cat' ); ?></div>
    				</div>
    <?php } ?>
    

    Thanks
    Mohammad

    #231094
    MarcusRG
    Member
    Post count: 69

    Thanks!

    #231130
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome and glad to help you.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register