Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

[SOLVED] post - custom field


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Sep 17, 2009, 03:44 PM
isa
 
1 posts · Sep 2009
[SOLVED] post - custom field

Hi, I am kind of a novice to website programming but first of all I want to state my thanks to all those knowledged once and the developers of this gorgeous theme!!!!!
i am just trying to start off to accostomize this theme to my personal "liking" and I initially thought it would be easy but all my attempts have been unsuccessful. I tried to search google without avail so some here might be my help.

I have a custom field named postthumb with the direction of a thumbnail, which contains the following value:

postthumb - /gallery/tr_at_vienna/thumbs/thumbs_vie_001.JPG

Under
centercolumn->style and edit center column -> the loop (this is all in the admin scetion) I introduced the following section to reference the image (in bold):

************

<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>


<div class="post-magazin">
<div class="post-left">

<img src="<?php bloginfo('url'); ?>/wp-content<?php get_post_meta($post->ID, 'postthumb', true); ?> ">

</div>

<div class="post-center">

..............


unfortunately, the image never shows up and I cannot figure out why? Any Ideas? The first part, ie the Url, I can see in firebug but not the rest!

Thanks in advance to anybodys' help!!!!!!!!!!!!!!!!!!

Isa
 

Bookmarks

Tags
atahualpa, custom fields, post body

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Line breaks in post content field? sammie Atahualpa 3 Wordpress theme 4 Nov 12, 2010 05:04 PM
Styling the comments area title font, form field and label font, and form field sizes jkintzele Comments, trackbacks & pings 5 Nov 10, 2009 10:18 AM
Custom Field: Default Values gungo Atahualpa 3 Wordpress theme 13 Sep 12, 2009 09:36 AM
Custom post fields wwday3 Post-Kicker, -Byline & -Footer 8 Jul 28, 2009 12:39 PM
Creating custom post template paulae Atahualpa 3 Wordpress theme 3 Mar 18, 2009 11:36 AM


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


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