Avada Forums Community Forum Search function on 404 page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • philldromgool
    Participant
    Post count: 2

    How do I remove the search box on the 404 page? I don’t want a search function on my website.

    pigsandbees
    Participant
    Post count: 29

    Remove the code below from the file 404.php

    			<div class="fusion-column col-lg-4 col-md-4 col-sm-4">
    						<h3><?php esc_html_e( 'Search Our Website', 'Avada' ); ?></h3>
    						<p><?php esc_html_e( 'Can\'t find what you need? Take a moment and do a search below:', 'Avada' ); ?></p>
    						<div class="search-page-search-form">
    							<?php echo get_search_form( false ); ?>
    						</div>
    					</div>

    You’ll find that file in wp-content > Themes > Avada or in the Avada-Child-Theme folder if you’re using the child theme.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.