WordPress.org

Ready to get started?Download WordPress

Forums

Get Post Image
It adds a numeral 1 (1 post)

  1. jimmerd
    Member
    Posted 1 year ago #

    For some reason, this is adding a number 1 after the image and before the /a.

    php:
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php echo get_post_image('w=80&h=65'); ?></a>

    gives me:

    <a title="Lee Corkett Test" rel="bookmark" href="http://juliadean.com/lee-corkett-test-2/">
    <img class="gpi-img gpi-img-13571" alt="Lee Corkett Test" src="http://juliadean.com/blog/wp-content/uploads/2013/01/test.1890-gpi-w80h65.jpg">
    1
    </a>

    Any idea where that number is coming from and how to get rid of it?

    Can be seen at: http://juliadean.com/workshop-instructor/lee-corkett/

    http://wordpress.org/extend/plugins/get-post-image/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.