WordPress.org

Ready to get started?Download WordPress

Forums

Posts By Tag
[resolved] Unable to get thumbnail working (6 posts)

  1. Tomas
    Member
    Posted 2 years ago #

    Hi, I use the following template code but there are no thumbnails showing up:

    <?php
            posts_by_tag($tags = 'vintage', $num = '2', $thumbnail = TRUE, $excerpt = TRUE);
    ?>

    The theme has thumbnail support and I'm using it elsewhere on the site.
    What do I do wrong?

    Many thanks

    http://wordpress.org/extend/plugins/posts-by-tag/

  2. Sudar
    Member
    Plugin Author

    Posted 1 year ago #

    I have updated the Plugin after you posted this question. Can you check again and let me know if it is still not working?

  3. Tomas
    Member
    Posted 1 year ago #

    Hi,
    Sorry I cannot get the above template code to work at all?
    Do I use wrong syntax?

    Widget is working though with thumbnails.

    Thanks

  4. Sudar
    Member
    Plugin Author

    Posted 1 year ago #

    The above code is not valid PHP code. Try the following

    <?php
    posts_by_tag("vintage", array('thumbnail' => TRUE, 'excerpt' => TRUE));
    ?>
  5. Tomas
    Member
    Posted 1 year ago #

    Many thanks, working with thumbnail too now!

  6. Sudar
    Member
    Plugin Author

    Posted 1 year ago #

    Cool. Marking it as resolved now.

    Re-open if you face any issues.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic