Forum Replies Created
-
AuthorPosts
-
WebtechideasKeymaster
Where did you change your email? We still see the same email here. Please help us by replying back on the purchased email so that it will be easier for us to send the updated plugin.
WebtechideasKeymasterWe don’t see any order with your username as used here or your email id sat*******8@gmail.com Please reply back on the purchased email so that it will be easier for us to send the updated plugin.
WebtechideasKeymasterWe will send you an updated version with the fix.
WebtechideasKeymasterWill look into this and let you know.
WebtechideasKeymasterPlease share your php, wordpress, plugin versions and the order id.
WebtechideasKeymasterCan you please specify which screen you are referring to?
WebtechideasKeymasterThere is a shortcode available most_liked_posts which you can use to load liked posts. Please check the manual here.
WebtechideasKeymasterYes, you are right. For those posts having short content, can you please add the same short content in excerpt as well. This will fix the problem. In the mean time, we are looking for any functionality which we can include to take care of this automatically.
WebtechideasKeymasterHi,
Here are the instructions.– You need to register the option in
WtiLikePostAdminRegisterSettings
function present insidewti-like-post-pro.php
file.
– You need to add the option with default value inSetAllOptionsWtiLikePost
function present in above file.
– You need to add an entry for deleting the option inUnsetAllOptionsWtiLikePost
function in above file.– All the options load from
WtiLikePostAdminContent
function present insidewti-like-post-admin.php
file. So you will have to add the field for your option there.
– There is a javascript functionconfirmReset
which is used to reset the fields’ data. You will have to add your default value entry there.
– All the options get stored in wordpress options table.Note:
– We follow a specific naming conventionwti_like_post_
prefix for the options so that it won’t conflict with any other plugins/themes options. So please follow that.Do let us know if you need any other input.
Thanks
WebtechideasKeymasterThere is a setting called “Voting Period” which you can set to “only once” to disallow any user from revoting against the same post. There are other values like “One day” which allows user to revote the same post after 24hrs. Please check other values.
For the 2nd question, we think you are referring to any specific date and time for the voting/revoting to close. As of now, this functionality is not available.
WebtechideasKeymasterCan you please explain a bit more when you say “it is not working properly”? It’s quite difficult to understand as there is not enough information.
– Were you previously using the lite version and now have started using the pro version?
> If this is the case, then you might already have some posts in your system which do not have the meta data for the like count. So go to our plugin setting page end section where you will find the button which says “Update Like Meta”. Hit this button and it will add the necessary like data to post meta field.– Have you created the widget or that comes from the theme?
> We are not sure about the widget code. The like meta data contains numeric value. So the standard order by will not work. It has to be'orderby' => 'meta_value_num'
. The basic query for such numeric sorting looks like below.new WP_Query( array( 'post_type' => 'post', 'posts_per_page' => get_option('posts_per_page'), 'paged' => 1, 'meta_key' => '_wti_like_count', 'orderby' => 'meta_value_num', 'order' => 'DESC' ) );
Please check and let us know.
Thanks
WebtechideasKeymasterYou are creating the html content and appending content to it. But you are directly printing
GetWtiLikePost()
Try appending the function output like below$html .= GetWtiLikePost();
If the above does not work, try like this
$html .= GetWtiLikePost('put');
Do let us know if this worked or not.
WebtechideasKeymasterOkay. Will look into this and update you. May be having option to show username or avatars will be more helpful.
WebtechideasKeymasterUsername is one kind of private information which we did not want to show. If you want to have bit larger gravatars, you can look into
GetWtiUserLikes
function insidewti-like-post-pro.php
file. There you will find the codeget_avatar( $user_id, 32 )
. The 2nd param is the avatar size which you can change to a different value.WebtechideasKeymasterHi,
You need to look into the functionGetWtiUserLikes
insidewti-like-post-pro.php
file.1. There is a filter
wti_like_post_user_profile_link
available for which you need to attach a function. In that function you can link the avatar with the profile page.2. You can see the function
get_avatar
. The 2nd parameter is for the avatar size so you can put any value which is appropriate for you.3. It does not seem possible with the existing code as it may break the layout but you can still try modifying the above function.
Thanks
-
AuthorPosts