Link to event by clicking on ticket price?

Home Forums Ticket Products Event Tickets Plus Link to event by clicking on ticket price?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1134991
    Kieran McMutrie
    Participant

    Hi,

    Is it possible to click through to a single event by clikcing on the price from the event in main event page? I use the list view. It’s just the same page as the “Find Out More” link but make sense you could click through from the ticket price part of the information

    Maybe this is more of a feature request then bug I’m not certain.

    Kind Regards
    Kieran

    #1135261
    Andras
    Keymaster

    Hi Kieran,

    Yes, that’s more like a feature request. 🙂 Customization like this can be easily done with the help of our themer’s guide:
    https://theeventscalendar.com/knowledgebase/themers-guide/

    For this specific one, this is what you need to do:
    1. Copy the file wp-content\plugins\the-events-calendar\src\views\list\single-event.php to this folder:
    wp-content\themes\{your-theme-name}\tribe-events\list\single-event.php

    2. Open the new file for editing and change line 29
    <span><?php echo tribe_get_cost( null, true ); ?></span>

    to this:

    " title="" rel="bookmark">

    3. Save and you are done.

    Let me know if this does the trick.

    Cheers,
    Andras

    #1137954
    Kieran McMutrie
    Participant

    Hi Andras

    Thanks for the help. Unfortunately upon carrying out the above the layout of my event page changed rather strangly. The event images suddenly became very large. One of the events was clickable via the price part but the rest didn’t work and the layout changed. I think mainly because the event image was so large

    Plus upon hover over the ticket price on the event it worked with the colour changed to the same colour as the box so you couldn’t see the price anymore! But it did link to the event. But only on one event and I have 4 listed?

    Any ideas what is going on here?

    Kind Regards
    Kieran

    #1140596
    Geoff
    Member

    Hey Kieran! Andras is out on a much-deserved vacation, so I wanted to follow-up on this with you.

    I think Andras’ solution is a good one — in fact, I tried it out myself and it appears to do the trick.

    What likely happening is that there are custom styles in the Avada theme that need to be touched up a bit to ensure proper styling. For example, the color of the price on hover is controlled specifically through the CSS. Also, I know that Avada has custom templates for the calendar, so the markup Andras provided may conflict with those customizations.

    Would you be willing to reach out to the Theme Fusion team (the awesome folks who make Avada) to see if they can offer some assistance here? I hate the idea of bouncing you to another support forum, but I really do think they will have the best idea of how to proceed since they are much more familiar with the code customizations.

    Here is their support forum for reference:
    https://theme-fusion.com/support/

    And, of course, we will keep this thread open in the meantime, in case any questions come up from that exchange that we can help answer. 🙂

    Thanks so much!
    Geoff

    #1142683
    Kieran McMutrie
    Participant

    Hi Geoff

    Thanks for the pointer. I did indeed raise it with Avada who told me that it was outside of their support. Which is a bit disappointing but guess I can’t implement this code at the minute. Darn it. Maybe it works for others though

    Kind Regards
    Kieran

    #1144304
    Brook
    Participant

    Howdy Kieran,

    I am sorry to hear that, but I totally understand it. We are in the same boat where writing custom stylesheets for sites is outside our scope of support. The reason being is that can involve so much time that it turns a viable business into an unprofitable one, even a bankrupt one. 🙁

    If you need some in-depth help with CSS or bigger customizations, you might want to get a developer you can rely on for such things. If you don’t already have one you might find this list helpful: Find a customizer

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1152647
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Link to event by clicking on ticket price?’ is closed to new replies.