Use for CATEGORY LIST page
-
I’m trying to put images on a category list page as shown here:
http://lifeevc.com/ministry/Unfortunately with the coding I have put together,
it does not call the image (it only calls the image holder).<?php $currentcat = get_query_var('cat'); $categories = get_categories('parent=141&hide_empty=0'); if ($categories) { foreach($categories as $term) { echo '<div id="full-page-area" class="post">'; echo '<div id="full-page-video">' . '<a href="' . get_category_link( $term->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $term->name ) . '" ' . '>'; echo '<img src="' . $image_text = z_taxonomy_image_url( $taxonomy->z_taxonomy_image_url, TRUE ); echo '" align="right" />'; echo '</a>'.'</div>'; echo '<div id="full-page-sermon-area">'; echo '<div id="full-page-post-title">'; echo '<span id="post-title">' . $title . '<a href="' . get_category_link( $term->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $term->name ) . '" ' . '>' . $term->name.'</a>'. '</span>'. '</div>'; echo '<div id="full-page-post">' . excerpt('20') . '</div>'; echo '</div>'; echo '</div>'; } } ?>Please help!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Use for CATEGORY LIST page’ is closed to new replies.