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 » Forum Usage » Forum How-To »

[SOLVED] post - custom field

Old Sep 17, 2009, 03:44 PM
1 posts · Sep 2009
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

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 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!!!!!!!!!!!!!!!!!!



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 08:10 AM.

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