Topic RSS
Hi my blog has a main section and 1 left and 1 right side bar .
I did the forum.php page and the forum displays on a whole page correctly .
However, I woul like to keep the left sidebar (which has categories,tags ,links and ads )
Ho do I keep one side bar and disable the other ?
Thanks .
that will be under the control of your wp theme. first step is see if it already provides a custom page template you can use. if not, see our wiki for help on creating a custom page template.
do you mean this wiki :
http://wiki.simple-press.com/c…..ons/skins/ ?
I am new to all this and I think I need a more step by step tutorial.
Is there a better page ?
Also I had already created a custom page forum.php from the tutorial example
<?php
/*
Template Name: Forum
*/
?>
<?php get_header(); ?>
<div id="fullwidth">
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</div>
</div>
<?php get_footer(); ?>
Could I add the sidebar details there and if so how ? ,
What are the codes to put in etc, please
Thanks .
the page I was referring to is:
http://wiki.simple-press.com/f…..-template/
but seems you found it… but you really need to start with page.php and copy it to forum.php (add the page template stuff at the top like you did)… that way your theme is consistent… the wiki is a guide and cannot be exact as every theme could be different…
as to your sidebars, how does your current theme add them? check page.php and see if it invokes get_sidebar()… do you have a sidebar.php??? again, every theme can potentially do it different, so cant be exact without knowing how your theme currently works…
I got it to work .
I included sidebar at the top ,after header ,see below .
and removed this code <div id="fullwidth">
Below is the code for anyone that may have same/similar question.
This worked for me .
Thanks for helping,
<?php
/*
Template Name: Forum
*/
?><?php get_header(); include('lsidebar.php'); ?>
<div id="right">
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</div>
</div><?php ; get_footer(); ?>
Most Users Ever Online: 444
Currently Online: SPQC, joelrob
49 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 502
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2626
Members: 7363
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10897
Posts: 79582
Newest Members: Rick Thomas, joelrob, ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala, ahcreate
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22240), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Offline
Quote




Visit

Privacy Policy



