WordPress.org

Ready to get started?Download WordPress

Forums

How to remove sidebar from Arclite theme (5 posts)

  1. techyguy717
    Member
    Posted 2 years ago #

    I see there is an option to do this in editor. But I don't know what to do.

    "Arclite: Page without sidebar Page Template (page-nosidebar.php)"

    <?php /* Arclite/digitalnature

    Template Name: Page without sidebar
    */
    get_header();

    include(TEMPLATEPATH . '/page.php');
    // exactly the same as page.php
    ?>

  2. Caroline Moore
    Member
    Posted 2 years ago #

    When you create a Page, you can choose from a list of possible Templates. That particular template will remove the sidebar on a per-page basis.

    Removing the sidebar from all pages/posts by default would be a more involved process unless there's a theme option for it.

  3. techyguy717
    Member
    Posted 2 years ago #

    Thank You, I see that the option is available on the pages, but not the front page, which is the post page. How would I remove the sidebar from all pages. Would it be a matter of inserting the "no sidebar code" in the editor somewhere?

  4. Hazlo
    Member
    Posted 2 years ago #

    In the Page Template maybe you'll find a line looking like :
    <?php get_sidebar(); ?>
    If you remove it there will be no sidebar anymore in the author pages.
    But do a BACKUP, before any removing in your code!!!
    I'm not a specialist but maybe it can help.
    Regards

  5. techyguy717
    Member
    Posted 2 years ago #

    Thank You, that half works as I hoped it would.
    It was the Main Index Template, not Page Template.

    Yes, it does remove the side bar, but comments posted still hit an invisible wall and continue on the next line.

    Is there any way to get posts to run all the way across the page as if the invisible sidebar were no longer there?

Topic Closed

This topic has been closed to new replies.

About this Topic