WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Images II
No output from ciii_category_images() (1 post)

  1. Luke Rumley
    Member
    Posted 2 years ago #

    I am struggling...I have confirmed that I am passing the correct ID to the function, and I am within the loop (though this is a category list on a standard page). No output at all. Any ideas?

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    			<div class="entry post clearfix">
    				<?php
    				$args = array('orderby' => 'name', 'order' => 'ASC', 'child_of' => 15);
    				$categories = get_categories($args);
    				foreach ($categories as $category) {
    					echo '<div class="et-box et-shadow"><div class="et-box-content"><h1><a href="' . get_category_link($category -> term_id) . '" title="' . sprintf(__("View all posts in %s"), $category -> name) . '" ' . '>' . $category -> name . '</a></h1>';
    					//if ( function_exists( 'ciii_category_images' ) ) {
    					$tmpIDs = 'category_ids=' . $category -> term_id;
    					ciii_category_images($tmpIDs);
    					//}
    					echo '<p>' . $category -> description . '</p></div></div> <!-- end et-box -->';
    				}
    			?>
    			</div><!-- end .entry -->
    			<?php endwhile; endif; ?>

    http://wordpress.org/extend/plugins/category-images-ii/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.