Forum Replies Created
-
AuthorPosts
-
WebtechideasKeymaster
It was found to be an issue with the migration of the site which has been resolved by the client. It has nothing to do with our plugin’s functionality.
WebtechideasKeymasterThat hook is slightly modified. You can use the following piece of code. You can see it will show different messages if it has 1 vote and more than 1 votes. In case there are no votes, it will simply show the default message.
add_filter( 'wti_like_post_load_message', 'wti_like_post_load_message', 10, 4 ); function wti_like_post_load_message( $post_id, $like_count, $unlike_count, $msg ) { if ( $like_count == 1 ) { $msg = 'What about you, do you like the image?'; } else if ( $like_count > 1 ) { $msg = 'Users already like this image.'; } return $msg; }
Thanks
WebtechideasKeymasterThere are 2 ways to reset the counts. So was this a problem with
reset all
orreset selected
functionality?August 21, 2014 at 6:47 pm in reply to: Author Liked Posts Template in Woo Commerce My Account page #215WebtechideasKeymasterI am not sure if I understood your question correctly or not but if you are trying to get the current logged in user’s id, then you can use the following code and then use that value.
$author = wp_get_current_user(); $user_id = (int)$author->ID;
If this is not what you wanted, then can you please explain this in details?
WebtechideasKeymasterYou can surely use this plugin on custom sites. What I am saying is you should not be developing custom themes or sites for customers and distributing the same copy to all of them. You can suggest them (if needed) and let them purchase to use on their sites.
WebtechideasKeymasterNot sure where you had added the code also about the way you had achieved this functionality. If you had added this inside the plugin’s css file, then that would be overwritten. You may need to clear cache and check.
WebtechideasKeymasterWe have sent you an updated package, please follow the instructions as mentioned in the email. We will check on our site. Just want to know if you have switched between the Check revoting with setting options?
WebtechideasKeymasterIt’s unclear what you mean by “another place and another way”. So please explain in details so that we can understand and suggest you accordingly. If possible share the site url and provide some screenshots which will make things easier for us. If you feel this can’t be conveyed over here, then please send to support@webtechideas.com.
August 19, 2014 at 3:49 pm in reply to: How to get rid of "You like this" text near the vote button ? #194WebtechideasKeymasterThis message comes from the “Show user likes” setting. If you have enabled that, then please disable.
Note:
– I checked by adding.wti-user-likes { display: none; }
in the css file and it hid the text. Not sure why it did not work for you. Did you try anything else?WebtechideasKeymasterSorry could not find any answer to this yet. Since this works on our demo site, there may be some conflict with the theme you are using. If you have a demo site/set up with the default theme, can you please check this there?
Still looking into this and will keep you updated.
WebtechideasKeymasterCan you please add
height: 16px
andwidth: 6px
toloading-img
class?WebtechideasKeymasterYes, I saw that showing the custom result.
WebtechideasKeymasterBut I can see the loading image working. And looking at the javascript file, it’s the PRO version you are using. Can you please clear cache and check again? Also you can check with a different browser.
- This reply was modified 10 years, 3 months ago by Webtechideas.
- This reply was modified 10 years, 3 months ago by Webtechideas. Reason: modified as per input from user
WebtechideasKeymasterPossibly it will be a css issue. Can you please share the site url so that we can have a look at the issue?
WebtechideasKeymasterI hope you will be integrating our plugin with this theme for your personal purpose only and you are not developing this theme for others.
-
AuthorPosts