Creating a Page template: Why does the search form get added automatically? (2 posts)

  1. bmondala
    Posted 8 years ago #

    Hello WP-community!

    I'm trying to create a template without a search form and without the link that says "Edit this Entry". So, i created a very simple page template such as the following...

    Template Name: portfolio

    <?php get_header(); ?>
    <div id="content">
    <?php get_footer(); ?>

    ...and I selected it as a template from the Admin. But when I bring it up on the browser such as http://www.some-web-page.com/portfolio, the new page includes a Search form and the link "Edit this entry"! How was this included?!

    The answer must be very simple. Thank You!


  2. Jeremy Clark
    Posted 8 years ago #

    It must be included in the header file. Look in your header.php file for a reference to anything with search.

Topic Closed

This topic has been closed to new replies.

About this Topic