Template Page with only widget
Hi, I am very impressed with this theme. I created a template paged but I want to remove the header, content, and right column. I would like to only show the left column with the widget contents. I haven't been able to get the code right since this theme is alittle tricker when you are trying to edit the code in the .php files. Any suggestions?
Thanks alot. -Jeff |
Create a page template such as
<?php /* Template Name: Only left sidebar */ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> ...copy whatever other parts from header.php you may need, i.e. references to stylesheet and JS ... </head> <body> ...your HTML... <?php dynamic_sidebar('Left Sidebar'); ?> ...your HTML... </body> </html> |
Hey Flynn,
Thanks for the code, but it doesn't seem to work. I don't know why I didnt think of this earlier but I just pulled all the code from the header.php except for the parts where it called title, image, etc.. and it was able to keep the formatting :) Thanks for the help -Jeff |
All times are GMT -6. The time now is 07:20 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.