Support » Themes and Templates » Removing posts and coments TWENTY ELEVEN

  • Hello 🙂

    I am trying to make my home page into a static html page not a blog.
    Can anyone please assist me with the code to delete all of the info under the menu bar? The post and comment section etc?

    Here is my site:



Viewing 4 replies - 1 through 4 (of 4 total)
  • I believe you have to create a new file and name it front-page.php or home.php whatever desired. add the page template tag at the top of the file.


    <?php /* Template name: Home */ ?>
    <?php get_header(); ?>
    <?php get_footer(); ?>

    – Create 2 new pages in your wordpress dashboard, Home and Posts.

    – On right hand side under “Page Attributes” of each new page Select the “Home” as a Page Template, do the same for “Posts” page…

    Also, when you go to Settings >> Reading Settings
    be sure that you have your new “Home” page selected as the front page.

    Edited my answer :p

    Thank you:) I really appreciate this!


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing posts and coments TWENTY ELEVEN’ is closed to new replies.