O'Reilly logo

WordPress Theme Design by Tessa Blakeley Silver

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Static Pages

Static&;&; pages are the pages you generate in WordPress using the Write (or Manage) | Pages instead of Write (or Manage) | Posts. Our index.php page now effectively handles all the secondary requests. This is great, except my static About and Contact pages don't need the comment posted or #sidebarLT information to to be displayed. This is where another one of those great WordPress template files comes in — the page.php template file.

Time For Action:

Creat&;e a page.php file and paste your index.php information into it.

The first quick and easy thing we can do is remove the class="current_page_item" from The Zine link we've added on to our page display.

  1. You can now remove the WordPress' comments_template template tag and XHTML ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required