Support » Plugin: WTI Like Post » Remove option to like from Events (events calendar)

  • Hello there guys,

    Is there a way to remove the option to like from all events of events calendar?

    There is no option to do so, even manually, as there is in normal Posts.

    Also, the events categories are not included in the exclusion options in settings.

    Thank you in advance for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webtechideas


    We will check this and get back to you.

    Thread Starter plokamias


    Hey there,

    Thank you so much! I will be waiting for your findings and assistance!

    Best regards!

    Plugin Author webtechideas


    You need to put the following code at the beginning of PutWtiLikePost function of wti_like_post_site.php file

    $this_post = get_post(get_the_ID());
    if ($this_post->post_type == 'tribe_events') {
         return $content;

    Do let us know if this worked for you or not.


    Thread Starter plokamias


    Thank you so much! That worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove option to like from Events (events calendar)’ is closed to new replies.