Support » Plugin: WPCustom Category Image » Params example

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author E.

    (@pyro3x)

    Hey DaveRev,

    Try this:

    $image_src = category_image_src( array('size'=>array(300,200) ) , false );

    or

    $image = category_image( array('size'=>array(300,200) ) , false );

    Thread Starter DaveRev

    (@daverev)

    Thanks, I’ll try soon!

    Hi Eduardo,
    I installed your plugin on a wp version 3.7.1.
    and added the line <?php category_image(); ?>
    in my template but nothing happens…

    Example, how can I show all the categories of my blog?

    Plugin Author E.

    (@pyro3x)

    @igdev

    Try this:

    <?php
    // if you want to 'echo', use category_image(array(),true);
    // or...
    $image  = category_image();
    echo $image;
    ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Params example’ is closed to new replies.