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 » Post-Kicker, -Byline & -Footer »

Help with image on divided blog homepage?


  #1  
Old Oct 25, 2009, 07:31 AM
blueprairie
 
98 posts · Feb 2009
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!
  #2  
Old Oct 25, 2009, 11:55 AM
juggledad's Avatar
juggledad
 
23,724 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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" />'; } ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blog titles are appearing after the text on homepage brokencosmos Header configuration & styling 1 Oct 3, 2009 07:52 PM
Would like image map added to header.php to only appear on the static homepage southrules Header configuration & styling 1 Aug 27, 2009 11:14 AM
[SOLVED] Last blog entry on static homepage JournalStone Atahualpa 3 Wordpress theme 8 Aug 11, 2009 05:23 PM
how to remove header image from homepage only? SoftDux Header configuration & styling 1 Mar 30, 2009 07:26 AM
Putting lastest blog entry on static homepage Pushbikerider Atahualpa 3 Wordpress theme 5 Mar 25, 2009 03:34 PM


All times are GMT -6. The time now is 06:21 PM.


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