WordPress.org

Ready to get started?Download WordPress

Forums

Need Help Asap! (18 posts)

  1. dz0i13
    Member
    Posted 2 years ago #

    I'm using the boldy theme. And I need to make a single page which has no sidebar. How can I disable the sidebar of a single page?

  2. YouON
    Member
    Posted 2 years ago #

    You can create custom template for pages: http://codex.wordpress.org/Pages#Page_Templates

    Or simply you can create a custom page-pageslug.php ;)

  3. dz0i13
    Member
    Posted 2 years ago #

    how can I do that?

  4. dz0i13
    Member
    Posted 2 years ago #

    your link seems confusing.

  5. YouON
    Member
    Posted 2 years ago #

    Confusing? Try reading with calm ;)

    BTW probably in your theme you have a page.php which call the function
    <?php get_sidebar(); ?>

    If you create a php file called:
    page-slugofthepageyoudontwanthesidebar.php

    You can remove that function...

  6. dz0i13
    Member
    Posted 2 years ago #

    if I create it where would I upload it..? in the cpanel? just would like to confirm coz this would be my first time

  7. dz0i13
    Member
    Posted 2 years ago #

    And the link that you gave is designed to work on a twenty eleven theme

  8. YouON
    Member
    Posted 2 years ago #

    The link I gave you is for all kind of theme.
    When you have your .php file you have to upload it via FTP in wp-content/themes/yourtheme

  9. dz0i13
    Member
    Posted 2 years ago #

    I just did, but it doesn't seem to work

  10. dz0i13
    Member
    Posted 2 years ago #

    this doesn't seem to work can anyone help me with this?

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

    did you make a page template?

    what is the code of it?
    (please paste the code into a http://pastebin.com/ and post the link to it here)

    what is the result?
    to illustrate what you have so far, please post a link to your site, to the page without sidebar.

    if you are new to WordPress, start be reading:
    http://codex.wordpress.org/Theme_Development

  12. dz0i13
    Member
    Posted 2 years ago #

    here's the link

    this would be the website. But I cant seem to remove the divider line in the sidebar. I only used its usual page template and removed the get_sidebar code

  13. dz0i13
    Member
    Posted 2 years ago #

    <?php get_header(); ?>

    <!-- begin colFull -->
    <div id="colFull">
    <h1><?php the_title(); ?></h1>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <?php the_content(); ?>

    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    </div>
    <!-- end colFull -->

    <?php get_footer(); ?>

  14. YouON
    Member
    Posted 2 years ago #

    That image is a background of your div#content

  15. dz0i13
    Member
    Posted 2 years ago #

    nope it's not. My content is just the big box with the notification words inside.

  16. dz0i13
    Member
    Posted 2 years ago #

    Oh, what do you mean about div#content

  17. dz0i13
    Member
    Posted 2 years ago #

    <iframe src="http://pastebin.com/embed_iframe.php?i=Cdwb1a6q" style="border:none;width:100%"></iframe>

  18. dz0i13
    Member
    Posted 2 years ago #

    can anyone help me please?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags