Need Help Asap!
-
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?
-
You can create custom template for pages: http://codex.ww.wp.xz.cn/Pages#Page_Templates
Or simply you can create a custom page-pageslug.php 😉
how can I do that?
your link seems confusing.
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.phpYou can remove that function…
if I create it where would I upload it..? in the cpanel? just would like to confirm coz this would be my first time
And the link that you gave is designed to work on a twenty eleven theme
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/yourthemeI just did, but it doesn’t seem to work
this doesn’t seem to work can anyone help me with this?
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.ww.wp.xz.cn/Theme_Developmentthis 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
<?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(); ?>
That image is a background of your div#content
nope it’s not. My content is just the big box with the notification words inside.
Oh, what do you mean about div#content
The topic ‘Need Help Asap!’ is closed to new replies.