Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Disable Page on front page


  #1  
Old Mar 26, 2009, 08:17 AM
conon
 
21 posts · Mar 2009
I have added a third sidebar using these guidelines , and I am using top and bottom images to my posts using this guide.

I don't want to have any posts or static page on my front page, only widgets with my three bars. Using an empty static page does'nt work since I'm using top and bottom image for posts.

Where can I disable it? Is this the best solution for having only widgets on the front page?

My page

Thanks in advance,
Sebastian
  #2  
Old Mar 26, 2009, 05:16 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
In index.php

PHP Code:
replace
<?php get_header(); ?>
with

PHP Code:
<?php get_header(); ?>
<?php 
if ( !is_home() ) { ?>
and replace
PHP Code:
YOUR EXTRA WIDGET AREA CODE
<?php get_footer(); ?>
with
PHP Code:
<?php ?>
YOUR EXTRA WIDGET AREA CODE
<?php get_footer(); ?>
In the code above I am assuming that you've put a third widget area ("YOUR EXTRA WIDGET AREA") at the bottom of the middle column, probably right before <?php get_footer(); ?>

Bookmarks

Tags
disable, image, page, widget

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing page title from static front page in 3.41 or 3.42? whomadewho New Versions, & Updating 2 Jul 13, 2009 11:54 PM
[SOLVED] Home page versus Front page ldsmedia Atahualpa 3 Wordpress theme 7 May 29, 2009 04:30 PM
[SOLVED] Magazine style table on front page shakespearesedge Atahualpa 3 Wordpress theme 6 May 2, 2009 08:33 AM
Static Front Page, blog another page? sherimcgregor Atahualpa 3 Wordpress theme 2 Mar 22, 2009 02:16 PM
How to disable sidebar(s) for specific page/page? gesman Sidebars & Widgets 3 Feb 8, 2009 10:05 PM


All times are GMT -6. The time now is 05:03 PM.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.