Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   How to add info below header but above the post area (http://forum.bytesforall.com/showthread.php?t=4253)

Reesy Nov 6, 2009 04:55 PM

How to add info below header but above the post area
 
Hi guys,

First, I am new to Wordpress & I love Atahualpa & am very grateful to you all.

Now here's my problem. On our homepage here www.dublinbees.org, I want some text below the image but above the area of the posts.

When I stick it in the centre column 'above the loop' it appears on every page which looks daft.

Now I stick it in the kicker, and it appears (as you can see if you visit our homepage) above every post which is yucky.

I bet there's a way to put this 'header' info in the centre column above the loop to appear on the homepage only. In my naivety I think it's something plenty people would want. Maybe it's there & I am being thick?

Unfortunately although I know a bit about HTML I know nothing of php...

Any ideas? Thanks for reading!

juggledad Nov 6, 2009 07:11 PM

You could just make it a sticky post

Reesy Nov 7, 2009 02:08 AM

Thanks Juggledad - however that's not at all the look that I want.

Ah well, I guess I'll have to compromise & maybe only ever have one post on the front page, deleting as I go.

Simon

juggledad Nov 7, 2009 04:48 AM

one other thing you could do is put it in the 'above the loop' but wrap it in a php if like this
HTML Code:

<?php if (is_front_page()) { ?> <div id=beemsg><h2>what's the buzz, honey?</h2><div> <?php } ?>
this will show it on all the front pages (ie if you only display 5 posts on your blog page, and it is the front page, when you get the second and subsequent set of 5 posts, this will still show up because you are still technically on the 'front page')

If you only want to show it on the First of the home pages, you could add an 'and not paged' condition so it would be
HTML Code:

<?php if (is_front_page() AND !is_paged()) { ?> <div id=beemsg><h2>what's the buzz, honey?</h2><div> <?php } ?>
Is this what your looking for?

p.s. how was your honey harvest this year? It was a tough year in my area, my sister and another friend have bees and June was so wet, they haven't gotten much honey at all.


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

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