Forum Replies Created

Viewing 15 posts - 136 through 150 (of 164 total)
  • Author
    Posts
  • in reply to: Exclude Custom Post Types #118
    Webtechideas
    Keymaster

    As a quick fix, you can possibly add a line of code which will prevent the like/unlike buttons being rendered. Let’s say you want to exclude type1 post type.

    – Open the file wti_like_post_site.php in a text editor.
    – Search for the function GetWtiLikePost.
    – Just before this line $ip = WtiGetRealIpAddress();, add the following code

    // Exclude depending on post type
    $post_type = get_post_type( $post_id );
    $excluded_types = array('type1');
    
    if ( in_array( $post_type, $excluded_types ) ) {
    	return;
    }

    Note:
    – If you want to exclude more than 1 post type such as type1 and type2, you need to use $excluded_types = array('type1', 'type2'); in the above code.

    Do let us know if this worked or not.

    Thanks

    in reply to: Plugin breaks my Template #116
    Webtechideas
    Keymaster

    So it works with your template on local but not on live. Are you sure all the theme files are updated/moved to the live server?

    in reply to: Plugin breaks my Template #113
    Webtechideas
    Keymaster

    Not sure what you mean by “wordpress test environment”. Are you referring to wordpress default theme or on a different set up with exactly the same plugins and theme as on your live site. Since this works on our demo site http://demowp.webtechideas.com/, we are unsure what’s wrong at your end.

    We need to have a look at a live site to know the issue and suggest you with ant fix. Can you please set up a demo site with exactly the same set up? Also please provide admin access of the demo site so that we can investigate the issue.

    Thanks

    in reply to: Plugin breaks my Template #111
    Webtechideas
    Keymaster

    Please activate the plugin so that we can check why it’s breaking your site. Before that can you activate this on default wordpress template and see whether you still have the problem or not.

    in reply to: Not working in Ajax loaded items #109
    Webtechideas
    Keymaster

    Can you please share the site url for us to check? You can also check by modifying the following line in wti_like_post.js file

    jQuery(".jlk").on("click", function(e){

    to

    jQuery(document).on("click", ".jlk", function(e){

    Thanks

    in reply to: Text next to image if has votes #108
    Webtechideas
    Keymaster

    You can achieve this by using the filter hook wti_like_post_load_message available for this message. You can check if the current message is not the default or thank you message, then you can show your message. Please refer to the manual for implementation.

    in reply to: Plugin wont install #103
    Webtechideas
    Keymaster

    Were you able to download the plugin properly? Do you already have another instance (lite version) of the plugin installed on your system?

    in reply to: BP Activity Feed Integrated Version #101
    Webtechideas
    Keymaster

    Yes, its included.

    in reply to: shortcode not working #96
    Webtechideas
    Keymaster

    I can see this link showing “Love it/Hate it” and the voting process works. So not sure why you have mentioned this to be not working.

    in reply to: white space in front of status text #94
    Webtechideas
    Keymaster

    Sure, we will remove this in the next version release.

    in reply to: "category" paramter in shortcode #91
    Webtechideas
    Keymaster

    The issue was with not passing the parameter for no. of posts while getting the posts for a category. We have added the fix and it will be available in the next release. However for a quick solution for you, we have sent an updated file. Please have a back up of existing plugin folder and then check by replacing the attached file on your server.

    Do let us know if you have any other queries.

    Thanks

    in reply to: Hook not working #88
    Webtechideas
    Keymaster

    This hook is associated with the ajax call that is used for processing the voting. So how you are testing the above code to work?

    You can check by sending a simple email in the above hook. Please refer to the manual for better instructions.

    in reply to: Warning: call_user_func_array() #86
    Webtechideas
    Keymaster

    Please drop an email with access details as that will give a better picture of the situation

    in reply to: Most Liked/Unliked widget not updating #84
    Webtechideas
    Keymaster

    We will look into this again.

    Webtechideas
    Keymaster

    There is a conflict with “Exclude selected categories” functionality. So we will need to find a work around for this.

Viewing 15 posts - 136 through 150 (of 164 total)