tikendramaitry
Forum Replies Created
-
Forum: Plugins
In reply to: [Like Dislike Counter] Limit Like/Dislike Action to Logged in Users?Hi,
Yes it is possible but this functionality is available with Like Dislike Pro Version.
Best,
TikendraForum: Plugins
In reply to: [Like Dislike Counter] PositioningHi,
We have updated the plugin and now you don’t have to write even a single line of code to show like dislike button on posts and comments.
Please upgrade it quickly.Best,
TikendraForum: Reviews
In reply to: [Like Dislike Counter] Free vs Pro version of Like-Dislike CounterHey,
Thanks Ingel for giving like dislike counter a good review.
And sorry for the inconvenience you had in past. I didn’t got the notification of both of your post. Got your review and issue now.I have fixed the issue of you have mentioned in your review.
The free version has a bug: Fast clicking will increment the counter up to 6x or so.
Please try and check the updated version of Like Dislike Counter Lite. And let me know if you still see any issue.
Also I have gone through your website and it seems working fine in chrome at my end, so please let me know if you are still facing any issue with with.
Best,
TikendraForum: Plugins
In reply to: [Like Dislike Counter] Pro version stopped workingSorry for replying late. Actually I didn’t got the notification of the threads you had posted. And due to that this happened, didn’t you raised a ticket or tried live chat option to get in touch with support.
Please let me know if you are still having issues with it. I’ll assist
you in fixing this.Best,
TikendraForum: Themes and Templates
In reply to: [Biznez Lite] Removing the BizNez scroll barHi,
Thanks for using BizNez Theme for your site.
Do you want it to look like this Screenshot
Please let me know so that I can assist you.Best,
Tikendra
SketchThemesForum: Themes and Templates
In reply to: [Biznez Lite] want to change header menu styleHi,
Can you please explain it a bit more, so that I can understand what exactly you need.
Thanks!Forum: Plugins
In reply to: [Like Dislike Counter] [Plugin: Like Dislike Counter] What do you mean?Hi All,
If you want to use the like dislike counter button with your comment section you have to use wp_list_comments like this instead simple wp_list_comments:
<?php wp_list_comments('type=comment&callback=my_custom_comments'); ?>
In this we are using callback to show comment list. In particular we are using my_custom_comments as my callback function. And in this callback function we can use like dislike button code. Here I have used the template code for like dislike buttons below
<?php comment_text() ?>
In functions.php use below function:
function my_custom_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); if ( 'div' == $args['style'] ) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?> <<?php echo $tag ?> <?php comment_class(empty( $args['has_children'] ) ? '' : 'parent') ?> id="comment-<?php comment_ID() ?>"> <?php if ( 'div' != $args['style'] ) : ?> <div id="comment-body-top"></div> <div id="div-comment-<?php comment_ID() ?>" class="comment-body"> <?php endif; ?> <div class="comment-author vcard"> <?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, 50 ); ?> <?php printf(__('<cite class="fn">%s</cite>'), get_comment_author_link()) ?> </div> <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"> <?php /* translators: 1: date, 2: time */ printf( __('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),' ','' ); ?> </div> <div class="comment_txt"> <?php comment_text() ?> </div> <!-- here to copy and paste like dislike button functions --> <?php if(function_exists('like_counter_c')) { like_counter_c("text for like"); } if(function_exists('dislike_counter_c')) { dislike_counter_c("text for dislike"); } ?> <!-- here to copy and paste like dislike button functions --> <?php if ($comment->comment_approved == '0') : ?> <em class="comment-awaiting-moderation"><?php _e('Your comment is awaiting moderation.') ?></em> <?php endif; ?> <div class="reply"> <?php comment_reply_link(array_merge( $args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?> </div> <?php if ( 'div' != $args['style'] ) : ?> </div> <div id="comment-body-bottom"></div> <?php endif; ?> <?php } ?>
You can refer Function Reference/wp list comments
cheers ??
Forum: Plugins
In reply to: [Like Dislike Counter] can you explain please what this code do?Hi Cikatomo,
if (!$changedDir)$changedDir = preg_replace('|wp-content.*$|','',__FILE__);
This code loads WordPress Farmework into ajax_counter.php file for using WordPress Functions outside the function file or theme files.
And ajax_counter.php file is for submitting users vote using ajax.
Regards,
Tiks