• Hi there,
    I would like to remove (sidebar and comment) from a page that i write . How should i do that ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Create a ‘page.php’ which you have modified.
    https://codex.www.ads-software.com/pages

    That should help..

    From Pages or any web page (called “posts”) generated with WordPress?

    To remove the comments from a single post, in the Write Post panel of the Administration Panels, uncheck the box that says “Comments” near the title.

    To remove comments and sidebar from your entire site, well, that’s much more complicated. If you remove the instructions in the core template files (index.php, single.php, page.php, etc.), you will have an empty space in your Theme‘s design. That requires familiarity with CSS to redesign the theme. You can also look for a Theme that has no sidebar and just go that way.

    If you want the sidebar removed from just one particular post, well, that requires a query with Conditional Tags that basically says “If post number 17, don’t show the sidebar” and every post on your site will pass through that query.

    So a little more information would help.

    Thread Starter creobic

    (@creobic)

    I actually want to remove sidebar from a page which i already created. I am kind of newbie to understand those compliacated explanations.
    For example, that guy does what i want.
    https://ryanduff.net/about/ : About
    https://ryanduff.net/contact/ : contact

    On these pages there are no sidebar and comments

    Thread Starter creobic

    (@creobic)

    I guess i have to create a new page template which should be page.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Sidebar and comments from Pages’ is closed to new replies.