WordPress.org

Support

Support » Plugins and Hacks » Taxonomy Images II » [Plugin: Taxonomy Images II] plugin admin template could not be found

[Plugin: Taxonomy Images II] plugin admin template could not be found

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found another version that works fine here: http://downloads.wordpress.org/plugin/category-images-ii.zip

    After viewing the code, I have changed something as follow
    On template-tags.php, line 62
    From
    $term_ids = explode( ',', $r['term_ids'] );

    To
    $term_ids = explode( ',', $r['category_ids'] );

    Line 72
    From
    if ( ! $r[ 'echo' ] )
    To
    if ($r[ 'echo' ] == 'false' )

    On class-Category-Images-II.php, line 220, add this code:

    if($args['echo']=='false'){
    return $terms;
    }

    You can use function like this

    $img = ciii_category_images('category_ids=11&term_ids=true&echo=false&size=original');
    var_dump($img[0]['image'])
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Taxonomy Images II] plugin admin template could not be found’ is closed to new replies.
Skip to toolbar