||Thread Tools||Display Modes|
Blog posts to display as full width template
I am using Church theme 4.0 with Wordpress 2.9.2.
I want to ‘de-blog’ the presentation of the posts on the homepage in such a way that the final landing page of the posts (a) displays as full width (b) does not display right hand sidebar, date, comments, tags or any other blog like element.
I have researched this problem and see the potential solutions as being
1. Edit pageblog.php so that
<div id="contentleft"> becomes <div id="contentwide">
<div class="postarea"> becomes <div class="postareawide">
<?php get_sidebar(); ?> gets deleted
As per thread http://www.studiopress.com/support/s...highlight=blog
2. Edit the homepage.php so that it reads from a page parameter and not a post. As per thread http://www.studiopress.com/support/s...ad.php?t=24880
Solution 1 did not work for me. As far as solution 2 is concerned - I know I have to remove the code below but unsure what I have to replace it with as each summary on the homepage needs to point to a different page (the content has been duplicated as a page as well).
<?php $recent = new WP_Query("cat=".get_theme_mod('featured_bottom')." &showposts=".get_theme_mod('featured_bottom_num')) ; while($recent->have_posts()) : $recent->the_post();?>
1. Which of these two solutions is the better solution?
2. If I need to implement solution 2 - then what code do I need? Or with reference to solution 1 - what am I doing wrong?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Blog page template - Full Width Page||gemini||General Discussion||7||11-17-2009 11:39 AM|
|Display Full Posts on Blog||rduren||General Discussion||5||07-12-2009 05:13 PM|
|Cleaning up blog posts- would like full width template.||kimbokarrie||General Discussion||6||03-09-2009 08:15 PM|
|Full Width Template for Categories & Posts?||lipstickx||General Discussion||4||03-06-2009 06:08 PM|