• BadFish

    (@badfish)


    Hello,
    I currently am using the weaver theme and have a static page for the home page of my site. I want to disable the ability for anyone to post a comment to the static page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • phe.le

    (@phele)

    You need to create a page template for the home page. Simply save the page.php and rename it to something like homepage.php. In that homepage.php, remove <?php comments_template(); ?>. Edit the homepage in WordPress dashboard and use the new page template.

    Check out: http://codex.wordpress.org/Pages#Page_Templates

    Chip Bennett

    (@chipbennett)

    Simply save the page.php and rename it to something like homepage.php. In that homepage.php, remove <?php comments_template(); ?>. Edit the homepage in WordPress dashboard and use the new page template.

    Actually, name the template file front-page.php, and WordPress will automatically apply it to the Front Page; no need to update the Page settings!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘disable comment on static page’ is closed to new replies.