Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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,765 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 05:43 AM.


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