• deeve

    (@deeve)


    Is it possible to use conditional code with this plugin something similar to:

    <?php If ($the_attached_image !== '') { ?>
    <?php the_attached_image('img_size=medium&title_link=none'); ?>
    } else {
    echo '<img src="/wp-content/themes/platform/img/nopostimage.png" alt="" title="" />';
    	}
    } ?>

    Thanks.

    http://ww.wp.xz.cn/extend/plugins/the-attached-image/

The topic ‘[Plugin: The Attached Image] Is it possible to use conditional code with this plugin?’ is closed to new replies.