Support » Fixing WordPress » Custom fields won’t display

  • Custom fields calling a thumbnail image are not showing up on a custom category page.

    <?php query_posts('cat=695,-840&showposts=14'); ?>
      <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
          <div class="frost" id="post-<?php the_ID(); ?>">
    <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
    <img src="<?php echo get_post_meta( $post->ID,"alt_thumb", $single=true ) ; ?>">
    <?php the_excerpt(); ?>
        <?php endwhile; else: ?>
    <?php endif; ?>

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Bump – they work on index.php and single.php, but not archive.php and any other custom category pages.

    Sorry – to clarify: index.php, single.php AND archive.php all work. The custom categories are not showing the custom fields (e.g. category-12.php). The custom category pages DO show the rest of the post, however (title, content, timestamp, etc.).

    Coolgates you’re not alone. I seem to have the exact same problem as seen here. No one seems to be addressing our problems. All I can assume is it is some kind of bug.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom fields won’t display’ is closed to new replies.