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

[SOLVED] post - custom field


  #1  
Old Sep 17, 2009, 02:44 PM
isa
 
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

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



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 04: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 09:18 AM
Custom Field: Default Values gungo Atahualpa 3 Wordpress theme 13 Sep 12, 2009 08:36 AM
Custom post fields wwday3 Post-Kicker, -Byline & -Footer 8 Jul 28, 2009 11:39 AM
Creating custom post template paulae Atahualpa 3 Wordpress theme 3 Mar 18, 2009 10:36 AM


All times are GMT -6. The time now is 02:40 PM.


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