WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Images II
plugin admin template could not be found (3 posts)

  1. thedayforlove
    Member
    Posted 2 years ago #

    Version 1.3.3 of category images ii was installed.
    But I have error: plugin admin template could not be found /templates-admin/options-page.php when go to setting to enable it.

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

  2. thedayforlove
    Member
    Posted 2 years ago #

    I found another version that works fine here: http://downloads.wordpress.org/plugin/category-images-ii.zip

  3. thedayforlove
    Member
    Posted 2 years ago #

    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'])

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic