Removing title and customising photo views

Home Forums Calendar Products Events Calendar PRO Removing title and customising photo views

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1131528
    Graham
    Participant

    Hi

    I am wanting to use the Events listing page generated by Events Calendar PRO as my home / landing page. Use it in Photo or List View.
    1. How can i removed the page title “Upcoming Events” so that no title shows?
    2. I want to customise the photo views so that minimal info appears in the event/photo view.
    3. I want to also limit the size and have three photo view columns appearing across the content section of the page.

    Im not at all profecient in working with CSS etc.

    Regards

    #1131715
    Geoff
    Member

    Hey Graham, welcome to the forums!

    That sounds totally doable. While we are a bit limited in how much we can support custom development questions like this, I’d be happy to point you in the right direction if I can. 🙂

    First off, this snippet can be placed in your child theme’s functions.php file to remove the “Upcoming Events” title specifically in Photo View:

    https://gist.github.com/geoffgraham/5f29b3bf0e7706cf93628dc000261782

    To only show the minimal info for an event, you can make customize the template for the Photo View. There’s more on this in our Themer’s Guide, but it basically boils down to this:

    • Make a copy of the template. It’s located at /wp-content/plugins/events-calendar-pro/src/views/pro/photo/single-event.php
    • Make a new folder in your theme directory called tribe-events
    • Make a new folder in that one called pro
    • Make a new folder in that one called photo
    • Drop the copied single-event.php file in that last folder

    Now that the template is in your theme you can modify it to suit your needs. In this case, you can remove any of the details you would like from the template to show only what you need. For example, remove the following line to get rid of the content excerpt:

    <?php echo tribe_events_get_the_excerpt() ?>

    I’m afraid the only thing I’m unable to help with is changing the column widths for Photo View. Those are created dynamically with Javascript and would take a fair amount of custom development.

    Will this help you get started? Please let me know. 🙂

    Cheers,
    Geoff

    #1132055
    Graham
    Participant

    Thank you Geoff.

    I did as you said for removing the title in he photo view. This has done if for the “calendar” page on my site, but the title still shows on the homepage, which i have also set as the Calendar view.

    Regards

    #1132316
    Geoff
    Member

    Hi Graham,

    Oh sorry — the instructions I gave for removing the title will only have an effect on Photo View.

    You can follow the same set of instructions for List View, only replacing the photo-specific actions with list instead.

    Cheers,
    Geoff

    #1132337
    Graham
    Participant

    thank you. also how to remove it on the homepage? if you look at the site, it still shows the title even after putting that code you gave in. I have made the event calendar pro photo and list view as the landing page / home page for the site.

    #1132405
    Geoff
    Member

    Hi Graham,

    Will you please send me a link to the homepage? I haven’t seen a URL in this thread so far, but could just be missing it.

    Thanks!
    Geoff

    #1138692
    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 ‘Removing title and customising photo views’ is closed to new replies.