WordPress.org

Ready to get started?Download WordPress

Forums

WTI Like Post
[resolved] Inserting text right after numbers of votes (1 post)

  1. Caroline
    Member
    Posted 2 years ago #

    After I've voted it only shows "1 0 Thanks for voting!" but I would like to add some text after the numbers like this:
    "1 person likes, 0 person unlikes Thanks for voting!".

    I made it work if you haven't vote already or if you refresh the website — but the text doesn't show up right after voting.

    Therefore I guess must insert the text after a "$like_count" somewhere in the code. But I just can't figure out where and how to do it in the code below (for example).
    echo '<td>'.$like_count.'</td>';

    http://wordpress.org/extend/plugins/wti-like-post/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic