/wp-content/plugins/like-dislike-counter-for-posts-pages-and-comments-master/ajax_counter.php 502
]]>Hi, i’ve been using this awesome plugin for a while, and now i’ve added a modal that loads the posts via an ajax request. What i’m trying to do is to get the buttons in the modal, for which i’m using the following code:
if(function_exists('like_counter_p')) { like_counter_p('Like',$postID); }
But it always returns 0 counts and the button is not clickable, while everything works fine in the post page.
Any idea how to make this work?
]]>Hello
Is there a support for this plugin working with W3 total cache ?
With this caching plugin it counts guest votes, but do not show them it. So a person click to “like”, but after refresh, he still sees 0 votes.
Thank you
]]>Hello guys! Thank you for amazing plugin, but how i can send the count in page to my JSON rest api file?
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi,
Firstly, great plugin, it’ simple to use and delivers as promised.
Now, I would like to use only “like” option, so “dislike” should be removed/hidden. I would like to write CSS but I noticed there are no separated/different classes.
Could I suggest adding 2 CSS classes:
class=”… ldc-ul_cont-like” for like button
class=”… ldc-ul_cont-dislike” for dislike button
This way developers/designers could get more control when customizing/integrating plugin.
p.s. Is there some other good way of removing “dislike” button?
All best,
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>I would like to add a form when the user clicks the Unlike. How do I do that? Would help me to provide in which I change file. Thank you
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi
I am using the following wordpress plugin and it works perfect but if I want to place the code manually in the comments.php and single.php pages, I can’t seem to place it where I would like it, I am doing it manually cause if I set it to automatic, it appears on the home page as well underneath my slideshow
If I do it manually, it places the likes/dislikes buttons above the post and under the comments and looks like it’s in a section all on it’s own and don’t look right
can anyone help me please?
Thank you in advance
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>I want to remove that img. Is it possible?
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>How to get the total likes count on of a post?
Whats the code for that
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Please can you let me know how to have multiple counters on one page using the shortcode? Am happy to modify code but not sure where to start.
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hello,
I am getting a “Restricted Access” error when submitting a like/dislike to a comment. It was working fine for the last couple of months.
Ref: https://7days.ae/letter-why-are-hospitals-allowed-to-keep-id%E2%80%88until-you-pay/75553
Please could you have a look?
Thanks in advance.
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hello.
I have buyed plugin Like Dislike Pro.
I want 2 places put code, but dont know how.
1)I am using blog posts, before post opened, under Post Title i want.
2)Users like comments, i want like dislike inside comment. (Idea show good or bad comment was.
Hardest part is with comments, Can somebody help.
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi,
I have a problem with Varnish cache.
Basically it’s counting when cliked but it’s not refreshing the counter. i starts, but then I get an empty bracket like () without the number inside.
When I refresh the whole page, the counter gets updated.
Any hints?
All the best,
Istvan
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi, Can you prove me with an email address to discuss some pre-purchase queries? Many thanks!
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Nice plugin, only one thing I want to know is how to disable like/dislike buttons on pages, I only want it on posts.
Thanks in advance.
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Can you set the cookies globally on the domain?
for example : setcookie(“ul_post_cnt[$key]”,$for_com.$value, time()+1314000, ‘/’);
Because I will need that information in other parts of the site.
Thanks
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Can you order posts by most liked this month or this week?
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>If I have an online magazine, can I insert your like/dislikes in the middle of an article? I would like the “voting” to apply to a specific question that I present as Webmaster, as opposed to the entire article or an entire post. For example, “Obama . . . Like/Dislike.”
Do you also have a pro version and for how much?
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>I’m wondering if there is an easy way to add the count to the byline of each post without allowing the user to click on it. For now, I’ve added the regular code to the byline and styled it differently (just for displaying the count). And I have the regular like/dislike buttons at the bottom of the post.
There must be a way to grab just the count for each article so that I can display it better without allowing the user to click. You help would be much appreciated. Thanks for the great plugin!
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hello
This is the great plugin. Can you please tell me how can I display the likes/Dislikes into backend with post title like it displayed on comment section on admin side. Any way to display it on posts.
Thank You
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi
first i like this plugin and it’s aws ??
i want 2 feedback after submit vote,
1 – if user before submit vote for this post alert(‘Please Return For reVote After 3 Days’);
2 – if user vote for first alert(‘thanks dude, submited your vote…’);
please answer ME.
Thanks,
https://www.DonyaeTablighat.ir
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi
I installed the plugin and it displays buttons but… clicking on them is not working totally : it writes 3 dots (…) but no numbers after.
Problem with cache or something else ?
Thanks ??
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hello !
Your plugin is so great !
But it will be better if we can set like (or dislike) as a custom filed value.
Example: A post has 5 likes, so custom field of the post (ex: like_count) also has value 5.
Can i do that with your plugin ?
Thank you very much !
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>i want to add in my comments a like dislike option. so i downliad a plugin which is called Like Dislike Lite 1.2.2. i inastalled it and in settings it has options, a code which i can put manually exactly i want. in automated is setinng butttons is posts pages andd commments, and i dont want that. i wanted to have these buttons to comments only. so for that it says:
For Comments use the code in loop:
For like(with in php tags):-
<?php
if(function_exists('like_counter_c')) { like_counter_c('text for like'); }
?>
For Dislike(with in php tags):-
<?php
if(function_exists('dislike_counter_c')) { dislike_counter_c('text for dislike'); }
?>
THE PROBLEM for me is i cant find i must put these code. inside comments.php i tried to put it somewherre, probpably wrong, and it didnt work. THE CODE OF THE FILE comments.php is:
<?php
/**
* Comments Template
*
* This template file handles the display of comments, pingbacks and trackbacks.
*
* External functions are used to display the various types of comments.
*
* @package WooFramework
* @subpackage Template
*/
// Do not delete these lines
if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) { die ( __( 'Please do not load this page directly. Thanks!', 'woothemes' ) ); }
// Password is required so don't display comments.
if ( post_password_required() ) { ?><p class="nocomments"><?php _e( 'This post is password protected. Enter the password to view comments.', 'woothemes' ); ?></p><?php return; }
/**
* Comment Output.
*
* This is where our comments display is generated.
*/
$comments_by_type = &separate_comments( $comments );
// You can start editing here -- including this comment!
if ( have_comments() ) {
echo '<div id="comments">';
if ( ! empty( $comments_by_type['comment'] ) ) { ?>
<h3 id="comments-title"><?php printf( _n( 'One Response', '%1$s Responses', get_comments_number(), 'woothemes' ), number_format_i18n( get_comments_number() )); ?></h3>
<ol class="commentlist">
<?php
/* Loop through and list the comments. Tell wp_list_comments()
* to use custom_comment() to format the comments.
* If you want to overload this in a child theme then you can
* define custom_comment() and that will be used instead.
* See custom_comment() in /includes/theme-comments.php for more.
*/
wp_list_comments( array( 'callback' => 'custom_comment', 'type' => 'comment', 'avatar_size' => 40 ) );
?>
<?php
// Comment pagination.
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) { ?>
<div class="navigation">
<div class="nav-previous fl"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'woothemes' ) ); ?></div>
<div class="nav-next fr"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'woothemes' ) ); ?></div>
<div class="fix"></div><!--/.fix-->
</div><!-- .navigation -->
<?php } // End IF Statement
} // End empty($comments_by_type['comment'] IF Statement
if ( ! empty( $comments_by_type['pings'] ) ) { ?>
<h3 id="comments-title"><?php _e( 'Trackbacks/Pingbacks', 'woothemes' ); ?></h3>
<ol class="commentlist">
<?php
/* Loop through and list the pings. Tell wp_list_comments()
* to use list_pings() to format the pings.
* If you want to overload this in a child theme then you can
* define list_pings() and that will be used instead.
* See list_pings() in /includes/theme-comments.php for more.
*/
wp_list_comments( array( 'callback' => 'list_pings', 'type' => 'pings' ) );
?>
<?php }
echo '</div>';
} else {
echo '<div id="comments">';
// If there are no comments and comments are closed, let's leave a little note, shall we?
if ( ! comments_open() && is_singular() ) { ?><h5 class="nocomments"><?php _e( 'Comments are closed.', 'woothemes' ); ?></h5><?php }
else { ?><h5 class="nocomments"><?php _e( 'No comments yet.', 'woothemes' ); ?></h5><?php }
echo '</div>';
} // End IF Statement
/**
* Respond Form.
*
* This is where the comment form is generated.
*/
comment_form();
?>
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>hello,
my website is https://gyandaata.com/. and likes , dislikes button counter not working from last two days. it is stopped automatically. please tell me how to resolve this issue. and please send me email as soon as possible.
[email moderated – this forum does not provide support via email]
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi,
I tried everything what i can, but i am unable to find out the way to put your code on this theme (as below). That’s way i put the singel.php code here. Can you help me to resolve this?
Thanks
theme code:
<?php
/**
* Displays the single section of the theme.
*
*/
?>
<?php get_header(); ?>
<?php
/**
* travelify_before_main_container hook
*/
do_action( 'travelify_before_main_container' );
?>
<div id="container">
<?php
/**
* travelify_main_container hook
*
* HOOKED_FUNCTION_NAME PRIORITY
*
* travelify_content 10
*/
do_action( 'travelify_main_container' );
?>
</div><!-- #container -->
<?php
/**
* travelify_after_main_container hook
*/
do_action( 'travelify_after_main_container' );
?>
<?php get_footer(); ?>
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Is there any way I can move the button around (top, center, left, right) on the comment page? Please let me know…Thank you in advance!!!
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>Hi
In my website like count will not working properly.
it will displaying after refesh .and it can taking multiple counts
here is my web site https://www.news124.com.
please help me.
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>By writing my own code for getting values from this plugin I found out that the database table ‘wp_like_dislike_counters’ it creates uses VARCHAR(30) for the counting values.
This is really bad, since if you count stuff you should use integer and every standard query fails sorting.
To do something like getting the top vote you would write
SELECT *
FROM wp_like_dislike_counters
WHERE ul_key = 'c_like'
ORDER BY ul_value DESC
But this doesn’t work because the ORDER BY clause fails sorting correct. You have to cast to integer using
SELECT *
FROM wp_like_dislike_counters
WHERE ul_key = 'c_like'
ORDER BY ABS( ul_value ) DESC
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>When you click on either of the vote buttons the number disappears and it doesn’t count the vote. I’ve tried re-installing and deleting my cache and nothing helps.
https://www.ads-software.com/plugins/like-dislike-counter-for-posts-pages-and-comments/
]]>