New Landing How can we help? Themeforest Theme Support Neighborhood How to remove FAQ widget

Viewing 2 posts - 1 through 2 (of 2 total)
  • #23999
    GTS75
    Member
    Post count: 240

    In the “wishlist” section, there’s an option to click on FAQ. Is there a way to delete that option from showing up on my site? I’m assuming there’s some sort of code to remove it.

    Thanks.

    #24341
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    That is inside a function called “sf_woo_help_bar” in line #320

    in wp-content\themes\neighborhood\includes\swift-framework\sf-woocommerce.php

    you can remove this

    <li><a href="#faqs" class="inline" data-toggle="modal"><?php _e("F.A.Q.'s", "swiftframework"); ?></a></li> as well as this

    		<div id="faqs" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="faqs-modal" aria-hidden="true">
    			<div class="modal-header">
    				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    				<h3 id="faqs-modal"><?php _e("F.A.Q.'s", "swiftframework"); ?></h3>
    			</div>
    			<div class="modal-body">
    				
    				<?php echo do_shortcode($options['faqs_modal']); ?>
    				
    			</div>
    		</div>

    That will remove the FAQ from checkout and all pages too. If you want to remove in the wishlist alone, you need to create a new function like sf_woo_help_bar and call those in wp-content\themes\neighborhood\woocommerce\wishlist.php in line #70.

    Thanks,
    laranz.

Viewing 2 posts - 1 through 2 (of 2 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