coolgates
Member
Posted 3 years ago #
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(); ?>
</div>
<?php endwhile; else: ?>
<?php endif; ?>
Any ideas?
coolgates
Member
Posted 3 years ago #
Bump - they work on index.php and single.php, but not archive.php and any other custom category pages.
coolgates
Member
Posted 3 years ago #
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.).
1800collect
Member
Posted 2 years ago #
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.