Forums

Display Category Icon, But Link to Different Category? (1 post)

  1. kamoh
    Member
    Posted 1 year ago #

    I'm trying to display a series of category icons that are stored in an array, but have the actual links go to separate category pages.

    First off, is this even possible?

    Second, the code being used to call the category icon is below. If there's a way to manually specify which category ID is actually used in the link per each of the entries in the array (there are 4 in the array, and one in a separate instance of the code to close the css columns) that would work:

    <?php if (function_exists('get_cat_icon')) get_cat_icon("small=true&cat=".get_cat_ID( single_cat_title("", false) )); ?>

    Thanks,
    Ben

Topic Closed

This topic has been closed to new replies.

About this Topic