List Custom field (php)?

Home Forums Calendar Products Events Calendar PRO List Custom field (php)?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #30617
    Dusan
    Participant

    is there a list of Custom field?
    venue,date,start,end,organizator.. etc?

    #30624
    Barry
    Member

    Hi Dusan, you mean the meta fields used by The Events Calendar? I don’t think we have a consolidated list, but it’s fairly easy to pin down if you take a look inside the database or at the source code.

    What are you trying to do?

    #30634
    Dusan
    Participant

    Yes, I meant on the list, I’m interested specifically How to fix the start time?
    example:
    Date: 21.Januar.2013 (remove time) only date?

    Thanks

    #30636
    Barry
    Member

    OK – well the best way to modify something like the date/time format is at template level, rather than altering the custom field data directly.

    First thing to do is read up on theming and template overrides in particular, so that any changes you make are done safely and in an update-resistant manner.

    What you are probably going to want here is to edit your custom list.php and find this line of code:

    echo tribe_get_start_date();

    And try changing it to:

    echo tribe_get_start_date(null, false);

    And that should stop the time from also being displayed.

    #30666
    Dusan
    Participant

    Barry, thanks, it worked 😀

    #30724
    Barry
    Member

    Great!

    #978423
    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 ‘List Custom field (php)?’ is closed to new replies.