Hey guys,
So I am working on the my new website locally, and I have added the pages I wanted to show up in my menu so that they appear in the following order -->
News/find us/ prices/ media/ etc etc.....
Where I am totally happy about keeping the news pages under the form of a blog role with a two column template, I would like the find us and prices pages to be static and hopefully just one column , but I dont really know how to do this ? I understand this is probably a really basic question, but I am a real newbie with wp and web design, so the learning curves is rather steep right now
thank you so much for your help![]()
Thanks for the rapid answer !
I went to have a look and tried what the forum recommended following the threads you gave me, but I think I am in the same situation as this guy:
and I myself cannot work my way round the Page.php file ?Which version of Cutline are you using? It's probably not 3-column. It should still work when you use <?php get_sidebar(); ?> inside of the IF statement.
Quote:
Originally Posted by Hatchew
I was so excited to see these instructions laid out so clearly.
Apparently not clear enough for me, though.
Where do I find:
<?php include (TEMPLATEPATH . '/sidebar.php'); ?>
<?php include (TEMPLATEPATH . '/r_sidebar.php'); ?>
I was looking at page.php but the only reference I see to sidebar is:
<?php get_sidebar(); ?>
where should the call be ? should the <?php get_sidebar(); ?> stay ?
At the minute this is my Page.php code, the name of the page am trying to modify is called Shop.
Thank a lot !<?php get_header(); ?>
<div id="content_box">
<div id="content" class="pages">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2><?php the_title(); ?></h2>
<div class="entry">
<?php the_content('<p>Read the rest of this page →</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
</div>
<?php if ('open' == $post-> comment_status) { ?>
<p class="tagged"><a href="<?php the_permalink() ?>#comments"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a></p>
<div class="clear"></div>
<?php } else { ?>
<div class="clear rule"></div>
<?php } ?>
</div>
<?php endwhile; endif; ?>
<?php if ('open' == $post-> comment_status) { comments_template(); } ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
ok so I decided to make a new page template , which I called Shop.php, I used the code of the page.php and through trial and error, this is what I have managed to do, which is nearly perfect for me , the sidebar is off and the comments as well, the only problem I can't make that page to fit the entire part of the screen including the previous space taken by the sidebar:
here is the code :
I have tried to change the class=pages to class=widecolumn but that didn't work, any idea ?<?php get_header(); ?>
<div id="content_box">
<div id="content" class="pages">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2><?php the_title(); ?></h2>
<div class="entry">
<?php the_content('<p>Read the rest of this page →</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
</div>
<?php endwhile; endif; ?>
</div>
</div>
<?php get_footer(); ?>
Open style.css and find the declarations where it's giving #content_box and #content widths. Check the other divs too. Change the width values to the full width of the layout.
I recommend installing Firebug on Firefox for finding those CSS selectors easier.
Bookmarks