SIngle event page issue

Home Forums Calendar Products Events Calendar PRO SIngle event page issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #62931
    Karen brown
    Participant

    Hi,

    Can you please have a look at the single event page, Facebook comment and Share options showing between the Event Content and Event Details. Please help me to fix this.

    Website url: http://rwo.bidserver.com.au/event/pakn-save-marlborough-marathon/

    Thanks

    #62978
    Barry
    Member

    Hi John,

    I’m not familiar with the plugin you are using to generate those social media goodies, but perhaps you could reach out to the plugin author(s) and ask if they can provide some code to conditionally disable those items?

    On our end, you should be able to use something like this to detect if a single event is being processed:

    if (tribe_is_event_query() && is_singular()) {
    /* ... code to remove social media items ... */
    }

    If the team behind the other plugin can provide the rest of the puzzle you should be able to put a solution together 🙂

    #62985
    Karen brown
    Participant

    Hi Barry,
    As you can see I am using two different plugins for Share and Comment, and both they are working good with all other pages. 🙁

    Thanks

    #63010
    Barry
    Member

    Right – but if I’m understanding you correctly what we want to do here is stop them from impacting in this way on event pages.

    It’s quite likely they are adding those elements by using a hook and so we need to unhook their code only when a certain condition is met – such as the current request being for a single event – and possibly rehook it so it runs later on instead.

    If you could touch base with the plugin authors and see if you can get some code to unhook their stuff then we can potentially combine that with the code I posted above and work toward a solution here 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘SIngle event page issue’ is closed to new replies.