Ellen

Friday, August 24, 2012

Turning off comments for Wordpress pages



  1. If you want to have comments in your blog posts but not on pages:
    1. Open page.php
    2. Find: 
    <?php comments_template( '', true ); ?> 
    3. Comment it out:
    <?php// comments_template( '', true ); ?>
Posted by Ellen at 6:50 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2012 (15)
    • ▼  August (10)
      • Install LAMP and Wordpress on Ubuntu 12.04
      • Turning off comments for Wordpress pages
      • User Interface Design: What are the best UI elemen...
      • What to do if Virtualbox won't go full-screen
      • Useful link
      • Relocate Wordpress
      • UPDATE WORDPRESS ON LOCALHOST
      • Fixing Your iPhone After Gmail Two Step Verificati...
      • Set up Ubuntu virtualbox to edit client site locally
      • How to convert jpg/png to eps
    • ►  July (5)
Simple theme. Powered by Blogger.