Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 07: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, 04: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 10:54 PM
[SOLVED] Home page versus Front page ldsmedia Atahualpa 3 Wordpress theme 7 May 29, 2009 03:30 PM
[SOLVED] Magazine style table on front page shakespearesedge Atahualpa 3 Wordpress theme 6 May 2, 2009 07:33 AM
Static Front Page, blog another page? sherimcgregor Atahualpa 3 Wordpress theme 2 Mar 22, 2009 01:16 PM
How to disable sidebar(s) for specific page/page? gesman Sidebars & Widgets 3 Feb 8, 2009 09:05 PM


All times are GMT -6. The time now is 09:27 PM.


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