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 » Center area post/pages »

Adding Static Content "Above the Loop" on home page


  #1  
Old Sep 29, 2010, 11:59 AM
dchrist21
 
2 posts · Sep 2010
I would like to add a small amount of static content above the post loop of my home page. I have already created a "page" but do not know what code to insert in the "Above the Loop" area in order to make this page appear. I'm guessing its simple, but I'm not a code guy.

-Thanks

www.intechen.com
  #2  
Old Sep 29, 2010, 05:23 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
The easiest way is to just put the content directly in the Content Above the Loop box with a conditional such as below. You could also just set an id for the div and style it in ATO>Add HTML/CSS Inserts>CSS Inserts
HTML Code:
<?php if( is_home() ) { ?> 
<div style="font-weight:bold;font-size:32px;text-align:center">Centered Text above the loop</div>
<?php } ?>
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Sep 30, 2010, 03:31 PM
dchrist21
 
2 posts · Sep 2010
I hadn't though of it quite that way before...let me mess with it over the next few days and I'll let you know how it works out for me.

Thanks for the help.

Bookmarks

Tags
above the loop, static post on home page

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to rename "Home" title in the home page instead setting NOT to display "home"? akg Center area post/pages 6 Sep 30, 2010 08:33 PM
Can you Hide "Content Below the Loop" on Pages? NoisyDvL5 Center area post/pages 3 Aug 19, 2010 07:51 PM
Separate "home" page and "blog" page jasonnorco Page & Category Menu Bars 4 Jul 18, 2010 02:53 PM
Sidebars only on static "Home" page -- possible? Misa Sidebars & Widgets 6 Feb 19, 2010 03:57 PM
Problem implementing "How to show single post special category on static home page??" mkny13 Post-Kicker, -Byline & -Footer 6 May 5, 2009 06:21 AM


All times are GMT -6. The time now is 12:53 AM.


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