changing venue page layout

Home Forums Calendar Products Events Calendar PRO changing venue page layout

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1144794
    Malcolm
    Participant

    guys!
    loving the plugin and looked around but couldnt find the answer….

    Looking for the venue page to display upcoming events at top of page rather than bottom.

    Whats the easiest way to implement this?
    Cheers
    Malc

    #1144827
    George
    Participant

    Hey Malcolm,

    Thanks for reaching out!

    Moving the events is definitely possible, but it’s unfortunately only possible with some code customization. I say “unfortunately” because:
    • code customizing takes a bit of work, and
    • we cannot help with modifying code.

    I’m still happy to try and point you in the right direction nonetheless. This is a rather simple customization to make.


    Step One: Familiarize Yourself with Our Themer’s Guide

    Before doing anything here, familiarize yourself with how The Events Calendar and Events Calendar Pro’s templating system works. You can do that by reading our Themer’s Guide here ? https://theeventscalendar.com/knowledgebase/themers-guide/


    Step Two: Use the Steps in the Themer’s Guide to Duplicate the Single Venue Template

    Use the methods in the Themer’s Guide to make a theme version of this Events Calendar Pro template file:

    /events-calendar-pro/src/views/pro/single-venue.php

    ☝️ If you’re not sure what that sentence means, consult the Themer’s Guide. 😀


    Step Three: In the Theme Version of that Template, Move the Events Above the Map

    Look for the following block of code in that duplicated single-venue.php file (click to see larger):

    Copy those 8 lines of code. This block of code is what generates the events list, so then just paste it in the top of the file above the map wherever you’d like.

    Cheers!
    George

    #1144903
    Malcolm
    Participant

    awesome cheers!!! thanks for the speedy reply

    #1145381
    George
    Participant

    Sure thing! 😀 Open a new thread any time if other issues or questions arise.

    Cheers,
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘changing venue page layout’ is closed to new replies.