Support » Plugin: WTI Like Post » How to add text before voting buttons

  • Love your Like Post plugin – certainly merits a 5 star rating. However, I would like to make a small and hopefully simple modification to the plugin code.

    Specifically, I would like to print some text, for example, “Please give us feedback on this post: ” before the voting buttons.

    Would appreciate it if you could tell me what code I need to add, what php file to modify, and where to add it — to accomplish this small modification.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webtechideas

    (@webtechideas)

    We will get back to you with details as there will be need for some css adjustments as well.

    Thanks

    Plugin Author webtechideas

    (@webtechideas)

    You need to search for the term watch-position in wti_like_post_site.php file and put the following code after that line.

    $wti_like_post .= "<span class='wti-prefix-text' style='float: left; line-height: 18px; margin-right: 10px; font-size: 16px;'>Prefix text</span>";

    You can copy above css code to your theme’s css file for the class wti-prefix-text. You can remove or modify the font-size depending upon the css used in your theme.

    Please do let us know if this worked for you or not.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add text before voting buttons’ is closed to new replies.