Support » Fixing WordPress » Custom field post thumbnail broken

  • Hey there,
    I’ve made some modifications to the digital farm theme, there is a custom field (image) which displays a post thumbnail (but the URL is incorrect – therefore the image is broken).

    Here’s the URL of the page in question:

    Here’s the code (please be gentle – I’m no PHP/Wordpress coding guru or anything);

    <h1><?php the_title(); ?></h1>
                <div class="post">
                    <?php query_posts('cat=20&showposts=30'); ?><?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?><?php $wp_query->is_home = false; ?>
                    <h1><?php the_title(); ?></h1>
                    <div class="postMeta">
                        <p class="post_category"><?php _e('Posted in ', woothemes); ?> <?php the_category(', ') ?> <?php _e('on ', woothemes); ?> <?php the_time($GLOBALS['woodate']); ?> <?php edit_post_link(__('Edit'), ' · ', ''); ?></p>
                    <!-- this displays the image custom field -->
                    <?php if (get_option('woo_image_home_excerpt') == "false" && get_option('woo_the_content') != "true" ) woo_get_image('image',get_option('woo_single_width'),get_option('woo_single_height'),'thumbnail alignright'); ?>
                    <p><?php the_excerpt_rss(); ?></p>
                    <div class="entry_footer">
                        <span class="read_more"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permalink to ', woothemes); ?> <?php the_title(); ?>">→ <?php _e('Read the full story ', woothemes); ?></a> | <span class="comments"><?php comments_popup_link(__('No discussion yet', woothemes), __('1 Comment', woothemes), __('% Comments', woothemes)); ?></span></span>
                    <div class="fix"></div>
                    <p> </p><?php endwhile; endif; ?>

    Any advice GREATLY appreciated.
    Thanks in advance,

  • The topic ‘Custom field post thumbnail broken’ is closed to new replies.