Display 4 specific events in specific order

Home Forums Calendar Products Events Calendar PRO Display 4 specific events in specific order

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1079217
    Bruce Scher
    Participant

    I was wondering how I would go about listing specific events with the book now button so that it takes them to the speicifc check out page for that date ie i need to show 4 specific events series in a specific order and their image and description how would that be possible I am a programmer so if can be pointed in right direction would be good.

    #1080075
    George
    Participant

    Hi @bruciebruce,

    Thanks for reaching out. I’m glad to hear you’re a programmer! We cannot offer any help with customizing things, so the fact that you have some knowledge here is a huge help.

    I do not quite understand what you are trying to build, which I’m sorry about, but if you need 4 specific events in a specific order that will work 100% of the time, I think your best bet might be to use the tribe_get_events() function and then use the WP_Query parameter post__in to specify which 4 events to query.

    If you’re not familiar with either thing I just mentioned, then you will have do some research and tinkering, but here are some resources to help with that:

    • Using tribe_get_events()https://theeventscalendar.com/knowledgebase/using-tribe_get_events/
    • WP_Query, where you can learn about the post__in parameter → https://codex.wordpress.org/Class_Reference/WP_Query

    We cannot help with custom coding, so while I unfortunately cannot provide more insight on this checkout-page customization, if you have any other questions here please let me know!

    — George

    #1082832
    Bruce Scher
    Participant

    Ok george I manage to get the events displaying on home page with events list short code but the feauterd image is not showing is their any way with the short code to get the featured image to work and also you mentioned the by now button is their anyway of at lest poitning me to source to make the change in the widget thanks.

    #1083027
    George
    Participant

    Hey @bruciebruce,

    I’m glad to hear there is some progress. For ensuring the display of featured images, you will have to use the tribe_event_featured_image() function in custom templates. You can read about this process here → https://theeventscalendar.com/knowledgebase/themers-guide/

    We unfortunately cannot provide code-level help 🙁 You will have to take the reins on your customizations. For example, when it comes to locating “Buy Now” buttons, these are not generated by The Events Calendar itself for example, they will be coming from your eCommerce plugin most likely.

    To find where this markup is, a great method is to do a “Find in folder” search on your site’s “wp-content/plugins” directory for the markup associated with the Buy Now button. This searching should eventually lead you to the file inside your site’s code where the markup is generated, and you can tweak and tinker from there.

    I wish you the best of luck with your customizing! I’m sorry we cannot assist with these projects. If you need further help with things on a code level, I would recommend researching online or hiring a professional developer to assist further. We have a list of great developers here → http://m.tri.be/18k1 (and have no affiliation with any of these folks–they’re simple some well-respected names in the community that we’ve compiled to share in situations like this one).

    Best of luck with your project,
    George

    #1088254
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Display 4 specific events in specific order’ is closed to new replies.