Home › Forums › Calendar Products › Events Calendar PRO › display date, venue, city on events feeds
- This topic has 7 replies, 3 voices, and was last updated 9 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
May 11, 2016 at 8:42 am #1113228
Pau
ParticipantDear TECPRO,
My client wants all the feeds promoting events (in all views, widgets, etc..) AND in every single event to display under the title:
date
venue
cityall consistently through the site
what would be the best approach to achieve this?
and is there a way to display Category too?
May 11, 2016 at 4:27 pm #1113524Cliff
MemberHi Pau. Thanks for your question.
I’m not certain what you mean by “feeds”, but I’m guessing you’re referring to what we call “views” (e.g. Month View, List View, Map View, etc.)
Each view is distinctly built (coded) and therefore display the available information differently.
If you’d like, you can reference our Themer’s Guide to learn how to override (customize) each view.
Please let me know if you need anything else.
Thanks!
May 12, 2016 at 1:35 am #1113658Pau
Participantyes, views, including widgets
Ok, part one of the question is answered: I have to go one by one and edit lots of files!
Would it be possible to know which lines of code to add? Or are they all different too?
Also, final question: when I edit all these php files, should they all go together in the new “your-theme/tribe-events/” folder, or shall I recreate all subfolders? I’m a little confused about this
Thanks for your help and patience
May 12, 2016 at 5:06 am #1113694Pau
ParticipantHi again
so, let’s say in this single event
http://79.170.44.126/ref-spainculturescience.co.uk/event/the-history-of-a-staircase-by-the-spanish-theatre-company/We want to change the header as follows:
TITLE
date
venue / city
(remove price)May 12, 2016 at 9:09 am #1113801Cliff
MemberI appreciate your question and the desire to customize it for your use. However, we cannot provide such in-depth customization help, per our Scope of Support / Terms.
Regarding your file overrides, they’d go in this location to override the Photo View, for example: /wp-content/themes/YOUR_THEME_DIRECTORY/tribe-events/pro/photo/single-event.php
If there’s something else I can help you with, please update this ticket or create a new ticket if it’s a separate issue.
Thank you very much for your understanding.
May 12, 2016 at 9:54 am #1113875Pau
ParticipantOk, understood. Thanks!
Can you just let me know the following? : lots of code to edit seems to be on the single-event.php file, but depending on what you change, it needs to be saved in different locations on my theme directory?
Maybe you can tell us how to deal with editing the single-event.php file for different aspects?
For example, i already edited this file for list events view, and save it at /public_html/wp-content/themes/spainish-culture-uk-child/tribe-events/pro/widgets/modules; so how it affects if I save this file in different locations?
Does that makes sense, or am I very confused?
I appreciate your patience
🙂
May 12, 2016 at 1:19 pm #1114017Cliff
MemberWhile there are multiple single-event.php files, the fact that they’re in different directories makes them separate and unrelated, other than the fact that they are used in similar ways.
If you look at the comments in the top of each of those files, they’ll typically tell you where to locate the override. For example: https://github.com/moderntribe/the-events-calendar/blob/4.1.3/src/views/month/single-event.php#L6
May 27, 2016 at 9:35 am #1119777Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘display date, venue, city on events feeds’ is closed to new replies.
