Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   hardcode a graphic for main page above the loop? (http://forum.bytesforall.com/showthread.php?t=9293)

talynndar Aug 30, 2010 08:44 PM

hardcode a graphic for main page above the loop?
 
I was going to add a widget above the loop and only for the main page - but am using WPMU so cant

so am thinking to just hardcode in the code to pull a graphic.

I set it up in ATO in Style and Edit Center Column in content above the loop - but it shows on ALL pages.

where do i code it to just show on main/index page?

lmilesw Aug 30, 2010 09:45 PM

You could use this to put a single cell widget area only on the home page.
HTML Code:

<?php if( is_home() ) bfa_widget_area('name=My new widget area'); ?>

talynndar Aug 31, 2010 10:43 AM

its on a WPMU on WP3- so i thougt that adding widgets would not work yet?

lmilesw Aug 31, 2010 01:25 PM

Sorry... Didn't notice that.


All times are GMT -6. The time now is 10:57 PM.

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