• How do you remove the search widget and have no side bar content? I deleted the posts widget and no widgets are currently showing in the side bar in settings but I cannot figure out how to remove the search field.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    In sidebar.php there is a function get_search_form(); can you comment it to remove search field from sidebar.To remove sidebar have to comment the get_sidebar(); function in the template file.

    Bikram Shiwakoti

    (@bikramwensolutions)

    Hi, dfwrgjeff

    Can you please post your site URL so that we can debug your issue in more more details.

    Best Regards!!!!

    Thread Starter dfwrgjeff

    (@dfwrgjeff)

    That worked thanks, but the pages still have a blank space on the right of every page. How do I remove the side bar area so that the content fills the entire page? The website is https://1sourcecareers.com/

    In template file such remove or comment the div

    <div class="col-xs-12 col-sm-12 col-md-4">

    Row finally look like this

    <div class="row">
    <div class="col-xs-12 col-sm-12 col-md-12">
    	<div id="primary" class="content-area">
    		<main id="main" class="site-main" role="main">
    		 ------- Article body --------------
    		</main><!-- #main -->
    	</div><!-- #primary -->
    </div><!-- .col-xs-12 col-sm-12 col-md-8 -->
    </div>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove search field’ is closed to new replies.