• Resolved thinnling1

    (@thinnling1)


    Hi. I am using Version 4.1.
    I am completely new to WordPress and I have run into an error. When I add my header and footer into my wordpress, I get these errors:

    ( ! ) Notice: Theme without header.php is deprecated since version 3.0 with no alternative available. Please include a header.php template in your theme. in C:\wamp\www\wordpress\wp-includes\functions.php on line 3437

    and:

    ( ! ) Notice: Theme without footer.php is deprecated since version 3.0 with no alternative available. Please include a footer.php template in your theme. in C:\wamp\www\wordpress\wp-includes\functions.php on line 3437

    this is the code i am using:
    `
    get_header( );

    if (have_posts()) :
    while (have_posts()) : the_post(); ?>

    <h2>“><?php the_title(); ?></h2>
    <?php the_content(); ?>

    <?php endwhile;

    else :
    echo ‘<p>No content found</p>’;

    endif;

    get_footer( );

    ?>
    Screenshot

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Notice at top and bottom of page’ is closed to new replies.