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)
-   -   Help with image on divided blog homepage? (http://forum.bytesforall.com/showthread.php?t=4055)

blueprairie Oct 25, 2009 07:31 AM

Help with image on divided blog homepage?
 
I'm hoping something is possible...

On the homepage of this site
dev: http://www.polkcityumc.org/wp/ shortly to go live at, http://www.polkcityumc.org/

I am using a sticky post for the Welcome message.

I'd like to add an image, if possible, or at least some text below the sticky welcome post and before the remaining blog posts. Basically, a header for the Blog.

As it is possible there could be sticky blog posts other than the welcome, is it possible to give a name/id to the "Welcome" sticky post and then to have it end with some line of code which would insert the blog title graphic.

I'm open to any suggestions...perhaps using a sticky post isn't the best way to display the variable welcome message?

Thank you for your thoughts and assistance!

juggledad Oct 25, 2009 11:55 AM

add this to the top of 'The LOOP' it will only show the image between the first and second post
HTML Code:

<?php if ( $bfa_ata['postcount'] == 2 ) { echo '<img class="size-small wp-image-33" title="Why cant I grow this?" src="http://mydomain.com/wordpress/wp-content/uploads/2009/09/myimage.jpg" alt=mama" width="400" height="200" />'; } ?>


All times are GMT -6. The time now is 01:16 PM.

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