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

    (@webtechideas)

    This plugin works with post content and the theme you are using shows post excerpts for the featured posts. That’s why it does not seem to work. Also whatever you see on featured posts like +10 is nothing but the like and unlike count. Since it’s not meant for excerpts, it just places the counts only. I will have to look into the theme code to find out the problem. Assuming you are using the 1st theme listed here https://github.com/zyml/arras-theme/downloads. Please confirm.

    Thanks

    Thread Starter Beckybob

    (@beckybob)

    Arras 1.5.1.2 !!
    I’m not sure what you mean: “Also whatever you see on featured posts like +10 is nothing but the like and unlike count.” I was thinking that was the total number of likes on that post ?? Thanks for explaining that! Is there a way to turn off the post-excerpt count?

    Also, does the count stay with the post forever? I looked at one of the posts I “liked” a couple weeks ago, and it was back to zero. ??

    Thank you so much for your help!

    Plugin Author webtechideas

    (@webtechideas)

    “+10 is nothing but the like and unlike count.” means here +1 is the like count and 0 is the unlike count. Yes, the count stays with the post forever if you do not reset that to 0 in the admin end.

    I am checking with the Arras theme. The problem you are facing with the updated like/unlike count is due to some conflict with the theme. Also for Featured Stories, it does not always show the post excerpt. If the title is longer, then excerpt does not show up. Even if I find out a solution for this to work with post excerpts, it may not completely work with your theme.

    The best way to check whether the plugin is working fine or not is by switching to default theme. If there is still some problem, then its due to the plugin.

    Thanks

    Thread Starter Beckybob

    (@beckybob)

    AH! Thanks for clarifying about the +10. I’m wondering if it would be possible to have it appear like this -> 1/0 so people could maybe tell it’s two different counts instead of thinking it means “ten” like I did. ??

    Plugin Author webtechideas

    (@webtechideas)

    It may be a good idea as per your situation but not a universal one as in other cases we will see the thumb up/down icons.

    If you want to have as you said, then open up wti_like_post.php file line no 672 and replace the following line

    $wti_like_post .= "<div id='action_unlike' >".

    with

    if (is_home()) $wti_like_post .= "/<div id='action_unlike' >".

    Thanks

    Thread Starter Beckybob

    (@beckybob)

    Excellent idea! I did as you said – thank you for the great instructions, I was afraid it might get rid of the hands in the full post – it did not! But in the excerpt, it shows now as this: /00 or /+10

    I tried moving the / around to different areas in the coding but it didn’t change to the effect I’m looking for ( 1/0 or 0/0 etc.)

    Thank you for trying!

    Plugin Author webtechideas

    (@webtechideas)

    Please try the below.

    if(is_home())
    	$wti_like_post .= "/<div class='action_unlike' >";
    else
    	$wti_like_post .= "<div class='action_unlike' >";

    Make sure you do the concatenation properly.

    Thread Starter Beckybob

    (@beckybob)

    Blast, getting the same results – I put your new coding in the same place I put the first try.

    Highlighted $wti_like_post .= “<div id=’action_unlike’ >” and pasted the new
    if(is_home())
    $wti_like_post .= “/<div class=’action_unlike’ >”;
    else
    $wti_like_post .= “<div class=’action_unlike’ >”;

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘"Like" counts off’ is closed to new replies.