WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Static Pages using Twenty Eleven Theme (12 posts)

  1. asinclai
    Member
    Posted 1 year ago #

    Hello,

    I am trying to create a website which is less blog like, so using WordPress as more of a CMS.

    I have looked through the relevant wiki pages and set my Home page to be static. The trouble is I cannot seem to remove the "Leave a Reply" functionality so every static page has a "Leave a Reply" section at the bottom.

    I intend to have a "News" page where this functionality would be useful but not in the static pages.

    http://www.asatek.co.uk

    Any help on creating static pages without "Leave a Reply" functionality is warmly welcomed.

    Andrew

  2. Tammie
    Member
    Posted 1 year ago #

    You say 'every static page'? Setting your home page to a static page just sets that to a certain page template. It doesn't do anything more.

    If you want to have a new template you need to create a template:

    http://codex.wordpress.org/Stepping_Into_Templates

    Then you can assign that to the page or use as a static home page.

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you can try to dis-allow comments the usual way from within
    dashboard - pages - all pages - click quickedit below the page nam in the list - un-tick 'allow comments'

    alternatively, you can create a child theme http://codex.wordpress.org/Child_Themes of Twenty Eleven, and edit page.php in the child theme, and permanently remove:

    <?php comments_template( '', true ); ?>
  4. Tammie
    Member
    Posted 1 year ago #

    @alchymyth: I think @asincial is trying to create page templates though not just remove comments for pages.

    If you can confirm this though @asincial it will help us direct our responses.

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @karmatosed

    to me, this question is pretty clear:

    Any help on creating static pages without "Leave a Reply" functionality is warmly welcomed.

    however, I don't object if you would like to include the introduction to page templates ...

  6. asinclai
    Member
    Posted 1 year ago #

    Hello,

    Yes basically I am trying to create a new page without the "Leave a Reply" part at the bottom. So yes, create a template that I can use or modify and existing template.

    I am a bit of a newby so on a steep learning curve.

    Andrew

  7. Tammie
    Member
    Posted 1 year ago #

    @asincial : Cool and no worries at all we all start out as new to WordPress. You'd need if you want to modify it then to create a template (in a child theme would be recommended).

    Probably the best starting point would be to use the page.php format unless you want a radically different one from the standard one. Then from there you can edit the file as you want layout wise safely.

    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates is a great resource for that.

  8. asinclai
    Member
    Posted 1 year ago #

    Hello karmatosed and alchymyth,

    Thank you both for your advice, I am going to try this today.

    Regards

    Andrew

  9. asinclai
    Member
    Posted 1 year ago #

    Hello Gentlemen,

    Initially I tried dashboard - pages - all pages - click quickedit below the page nam in the list - un-tick 'allow comments' and this worked.

    However dipping into page templates has opened a whole new world of flexibility so very grateful to both for you advice.

    Regards

    Andrew

  10. positiveproductivity
    Member
    Posted 1 year ago #

    Thanks so much for this discussion. Been spending hours trying to remove the comment portion and going over the forums, but the one that alchymyth gave is the real winner!

  11. Jade WoW
    Member
    Posted 1 year ago #

    Asinclai,

    You're MAGNICIFENT.
    Took me two weeks for finding this excellent and amazing simple solution.

    THANKS

  12. TKPrinPrin
    Member
    Posted 11 months ago #

    @alchymyth
    The Sweeper & Moderator

    I spent half an hour to remove "Leave a Reply" in a page but can not do it and found your advice work well. Thank you so much :)

Topic Closed

This topic has been closed to new replies.

About this Topic