• Thank you for the clean shortcode!

    I added a line of code so that it will check if there are less posts than the set limit, as it was showing “read more”… for any amount over the post count.

    //Check if count is less than limit.
    if ( $limit > $tumblrFeedGrab['response']['total_posts'] )
                    $limit = $tumblrFeedGrab['response']['total_posts'];

    Also maybe consider an option to show the blog description?

    -Geet

    https://wordpress.org/plugins/tumblr-blog-display/

  • The topic ‘Check if limit is greater than post count.’ is closed to new replies.