Related posts not showing

Home Forums Calendar Products Events Calendar PRO Related posts not showing

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #321206
    alexwg85
    Participant

    Hello, I have tried many different combinations to have the related events appear on my single event page but have had no luck. Currently I have got ‘ tribe_get_related_posts(); ‘ implemented on this page: http://www.quayarts.org.gridhosted.co.uk/where/event/stuart-mccallum-trio/2014-06-07/

    I have tried it with different variables and variations with no luck. Any help would be appreciated.

    #323460
    Casey
    Participant

    alexwg85,
    Thanks for getting in touch! Can you verify that you don’t have the ‘Hide Related Events’ option checked in your settings (screenshot)? Just let me know, and I can troubleshoot further if needed.

    Thanks! 🙂

    -Casey-

    #331362
    alexwg85
    Participant

    No I don’t have that checked.

    #334870
    Casey
    Participant

    alexwg85,
    If you look at ‘plugins/events-calendar-pro/views/pro/related-events.php,’ you’ll see the code that controls the display of related events. You should be able to perform a template override of that file if you wish to customize things further.

    You’re probably not seeing any related events displaying, because there were none found. Our plugin only displays related events if there are any found, so sometimes this area will be empty. This thread should help to clarify what determines related events.

    Hopefully that points you in the right direction, but let me know if you have further questions here. Thanks! 🙂

    -Casey-

    #334902
    alexwg85
    Participant

    There should be related events. I have recurring events and events in the same category. I have looked at that code and there is nothing there I need to change yet – I just want the events to show.

    Is there something wrong with the way I have coded it in at all?

    #334958
    Casey
    Participant

    alexwg85,
    As we can’t provide support for customizations, I couldn’t speak to exactly what you’ve changed. However, in order to determine if the issue lies with your code or if no related events are found, you might try switching over to the default 2013 theme to see if related events display after that. If related events display after switching themes, then you can confirm that one of the customizations you made is causing a conflict. If no related events display, then you can confirm that no related events were found.

    That should at least help you investigate the issue further and find the culprit. Thanks! 🙂

    -Casey-

    #344948
    alexwg85
    Participant

    This reply is private.

    #348418
    Casey
    Participant

    alexwg85,
    I’m going to go ahead and show your private reply here for transparency and context for other users that might come along after you. We typically only use private replies for sensitive information like user credentials, etc.

    I have set this to a private reply so nobody else need see it, but your support here has not been great. You have just given me stock responses which I have already checked and double checked myself. I am pretty sure you have not taken a single peek at my code to find the problem. Part of paying for pro is so that you also get support, but the answers you have given me are no better than the ones I found looking through your documentation and what other people have said in the forums.

    I’m definitely sorry that our support isn’t living up to your expectations, but I’m trying to determine the root cause of the issue here. Testing things with the default theme gives us a baseline for support (read more about this here), and help us to determine whether or not a particular issue has been introduced due to a user’s custom code, or if there’s another issue at play.

    With that being said, were you able to see if the issue persists using the default 2013 theme?

    #375873
    alexwg85
    Participant

    For anybody else encountering a similar problem. I needed to wrap tribe_get_related_posts(); in do_action( ‘tribe_events_single_event_before_the_meta’ ) and do_action( ‘tribe_events_single_event_after_the_meta’ )

    The related events are now showing.

    #379907
    Casey
    Participant

    alexwg85,
    Excellent! So glad that you were able to resolve the issue here. 😀 Since it looks like you’re all set here, I’ll go ahead and mark this thread as answered and close it out, but always feel free to start a new thread if you have further questions.

    Thanks again!

    Cheers,
    Casey

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Related posts not showing’ is closed to new replies.