WordPress.org

Ready to get started?Download WordPress

Forums

Full width post? (4 posts)

  1. panmoria
    Member
    Posted 2 years ago #

    Is there a way/plugin to make a post full width? Eliminating the sidebar(s), so that a post has the same full width layout as a page?

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    make a post full width

    all single posts, or just one single post?

    possibly, in single.php remove the call of the sidebar(s); ususally <?php get_sidebar(); ?>
    then adapt the css to stretch the content over the full width.

    there is no general solution - these will be theme specific.

  3. panmoria
    Member
    Posted 2 years ago #

    Just for single posts. About every 10th post should be full width.

    The majority of posts shall retain sidebar(s).

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    About every 10th post should be full width.

    how do you want to define this?
    randomly?
    per custom field?

    the pinciple remains the same, only that you might need to wrap the sidebar call into a conditional statement to make the change randomly or checking the custom field content.

Topic Closed

This topic has been closed to new replies.

About this Topic