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 » Other BFA WordPress Themes »

Thumbnails


  #1  
Old Apr 18, 2009, 04:13 PM
bilalasd
 
4 posts · Apr 2009
sorry I couldn't find anywhere else to put this thread. The problem is that I have this piece of code

<img src = "<?php echo get_post_meta($post->ID, "thumbnail_url", true); ?>">

It gets an image depending the post id and I want it to show on the front page of my website beside the post title. Is there anyway to do that?

I also have question that is that I want my front page to have to columns of post rather than one, If its possible please reply.

Thanx in advance.
  #2  
Old Apr 19, 2009, 08:59 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
It should be possible to put the code into the "Kicker: Homepage" section at Theme Options -> Post/Page Info Items and wrapping it into a DIV container that is floated to the left side.

The headline container below it should move up to the right side of if. Various margin/padding settings may be required to align both of them until it looks good

Post/Page Info Items -> Kicker:Homepage

PHP Code:
<div style="width: XXpx; float: left; margin-right: 20px;">
<img src="<?php echo get_post_meta($post->ID"thumbnail_url"true); ?>" />
</div>
HTML/CSS Inserts -> CSS Insert

HTML Code:
/* apply to all headline boxes on the homepage : */
body#body-frontpage div.post-headline {
width: ZZZpx; /* or, in a fluid layout, try display: inline; */
margin-top: -YYpx; /* negative top margin to move it further up if required */
...
}
  #3  
Old Mar 20, 2010, 01:24 AM
kelly7898
 
1 posts · Mar 2010
Thank you for the post.
Hi guys, Im a newbie. Nice to join this forum.

_________________
Watch The Bounty Hunter Online Free

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
thumbnails with the post bilalasd Header configuration & styling 5 Jul 31, 2009 11:54 AM
gallery (grid) of post excerpts w/ thumbnails viewdesigninc Atahualpa 3 Wordpress theme 1 Jun 4, 2009 09:08 AM
Front page thumbnails not behaving paulae Excerpts, Read more, Pagination 1 May 5, 2009 06:08 PM
[SOLVED] Show pictures as thumbnails on homepage timdevogel Excerpts, Read more, Pagination 1 May 4, 2009 03:57 AM
thumbnails for all category posts and searches veenublue Atahualpa 3 Wordpress theme 2 Apr 30, 2009 02:05 PM


All times are GMT -6. The time now is 01:11 AM.


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