I was lazy and I'm sorry. I found this on the wordpress site....I'll retunr with th erest of the mods to get rid of any widgets, etc on everything except the blog when i figure it out
http://codex.wordpress.org/Creating_a_Static_Front_Page
I found this cool iteration of the cutline http://kohayoga.org/
I was curious to know if one can elude to how they made the home page static and repositioned the blog to a secondary page..
If this is a question for the general wordpress forums, I apologize profusely.
Many thanks!
Aaron
[URL="http://www.internetce.com"]Insurance Continuing Education[/URL]
[URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]
I was lazy and I'm sorry. I found this on the wordpress site....I'll retunr with th erest of the mods to get rid of any widgets, etc on everything except the blog when i figure it out
http://codex.wordpress.org/Creating_a_Static_Front_Page
Aaron
[URL="http://www.internetce.com"]Insurance Continuing Education[/URL]
[URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]
Looking at the WordPress help site first is always a good idea.![]()
I'm still nervous about mucking around with the php files and don't want to completely screw up anything. Is there a simple way to move the code that allows people to subscribe to my blog out of the header area and down to the sidebar where I have links to stuff like Facebook and Twitter?
here's what I'm talking about: http://housewifehacks.com
Thanks so much!
So I figured out how to make the home page static and I have it working as I like.
Now I just need to get rid of the sidebar placeholders for the "pages". I didnt see any "get sidebar" action in the page template file and am not sure where to go next. I thought about making a new page template file but wasnt sure if that would be the best route.
Any ideas?
Aaron
[URL="http://www.internetce.com"]Insurance Continuing Education[/URL]
[URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]
What do you mean by sidebar placeholders? And did you mean you wanted to not show the sidebar column?
Here's the page.php file:
Just take out <?php get_sidebar(); ?>, save the file as a page template, edit the width of the main column, and you should be all set.PHP Code:<?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(); ?>
genius, i tell you! genius!!
thanks for your help!!
Aaron
[URL="http://www.internetce.com"]Insurance Continuing Education[/URL]
[URL="http://blog.internetce.com"]Tools For Sales Professionals Blog[/URL]
I'm not worth, or I'm missing something fundimental, which I willfully accept:
on my site: http://www.peterhollander.com
I've implimented all this:
http://codex.wordpress.org/Creating_a_Static_Front_Page
With the setting of the Static Button, etc. to Home and Blog
But I now have across the top : FRONT PAGE HOME BLOG REEL PORTFOLIO
How do I get HOME to meld into FRONT PAGE?
Also, if I preview the HOME page in the edit page function, I see the test type I inserted in there as a place holder, but it's not what shows up in the published HOME page?
Once this problem is solved, is this what I use to safely get rid of the side widgets?:
<?php
add_filter( 'sidebars_widgets', 'disable_all_widgets' );
function disable_all_widgets( $sidebars_widgets ) {
if ( is_home() )
$sidebars_widgets = array( false );
return $sidebars_widgets;
}
?>
All the best--
______________________________
peter hollander... edit | shoot | motion
917-686-3960
New York ('nü yôrk), NY
[email]phollander@mac.com[/email]
[url]http://www.peterhollander.com[/url]
(1)
You could edit the hardcoded link to the homepage in header.php by finding the line with "front page" in it and deleting it.
I think you need to check what you want to do with your HOME page and your BLOG page. If you want a static page for your homepage it should be something other than BLOG, otherwise you shouldn't need to. Anyway, the only thing Cutline has to do with this is the way the links are displayed including the hardcoded "front page" link.
(2)
What do you mean get rid of widgets? No widgets will appear on your sidebar if you remove them in the Widgets panel in your admin. You don't need to add any code to the theme but I guess that code would work anyway.
Bookmarks