• Resolved stephen

    (@steedoc)


    Hello dear coder folk,

    I’m trying to get my events calendar to look like this:

    https://bathfestivals.org.uk/literature/

    This seems like the cleanest way to show a list of events and I’m kind of surprised the default setting looks so different to this.

    But more importantly, I CAN NOT believe there isn’t a simple step by step instructions which explains how to transform the default look of the list view to something like the above.

    GOING TO EXTREME LENGTHS I have gleaned that I can enter some custom CSS into my theme on wordpress which overrides the default look (I appreciate I can also put a new folder&css file in my theme too as an alternative) – but there is no list of css selectors for me to work with on your site – or any usable templates for me to copy on your site. I can just about botch a look together using my CSS override box on my theme (thanks for nothing).

    [SUPPORT QUERY]
    However, I can’t see how to style the order of the fields (venue, date, time etc). Can you direct me to the relevant functions file (or whatever) that will allow me to put fields in the order and position I require?.

    Again, I am sorry there is no simple instruction on how to do this on the forums or the knowledgebase.

    Many thanks and I look forward to your input.

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter stephen

    (@steedoc)

    I think I’ve found the file to mess around with the fields on the list view:

    plugins>the events calendar>views>list>single-event.php

    then I need to create the folder in: wp-content>themes>(your theme)>tribe-events>list

    And then stick the php file in there.

    frieauffcom

    (@frieauffcom)

    If you want to rearrange the order of the address fields (street, zip code, city etc.) you can do this by changing the address.php inside views>modules. Likewise store the modified version in the themes folder as described above.

    Brook

    (@brook-tribe)

    Howdy steedoc,

    Our plugin API definitely supports that. Checkout our themer’s guide for a guide on how to modify the proper files: Themer’s Guide

    But it’s only telling you how to modify them, not what to modify them to. That is because with WordPress in general in order to modify a theme a user must be versed in CSS and PHP. There is no step by step guide for this, unfortunately. Rather, there are college level courses, many of them lasting years. This is unfortunately necessary. There is a steep learning curve.

    If you don’t have the requisitie knowledge, you are pretty much left with only one option: hire someone who does. I wish there were simpler options, but WordPress is a bunch of PHP code written for users with a knowledge of PHP. While super simple modifications can occasionally be made by those without such knowledge, all to frequently you need to understand the WP API and thus PHP/CSS in order to make changes.

    I hope that this background info help[s you choose a directions and find a solution. Cheers!

    – Brook

    Thread Starter stephen

    (@steedoc)

    Thanks Brook – that’s very illuminating. I think I will continue to muddle through hacking away at the code without knowning wth I’m doing. Such is life! best wishes

    Barry

    (@barryhughes-1)

    Since I don’t think there’s much more we can offer here I’m going to mark this as resolved, but feel free to revert that if you disagree.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘reorder fields in list view’ is closed to new replies.