Forum Replies Created
-
AuthorPosts
-
Totalidea Software GmbHParticipant
That’s good news, Andras. 🙂 Thanks a lot.
Best wishes,
Stefan
May 30, 2017 at 1:50 am in reply to: Button with external link on event list page, on a per event basis #1290661Totalidea Software GmbHParticipantThanks a lot, Geoff. That really helped a lot! 🙂
Best wishes,
Stefan
May 27, 2017 at 1:41 am in reply to: Button with external link on event list page, on a per event basis #1289738Totalidea Software GmbHParticipantThanks for the quick reply, Geoff.
We found a way to get that working fine. As we are using a custom field for each event to store an ID which is required for the button’s link, we want to have the custom fields hidden on the event’s detail page. I found this
https://theeventscalendar.com/knowledgebase/hide-all-custom-fields/
to hide the custom fields, but: problem is that the fields are hidden because that function returns ‘nil’ for the array of custom fields. That means that the custom fields are actually ‘deleted’ in order to hide them. That is OK if you really don’t need the fields on that page, but if you do need them, then this is not a solution.
Question: isn’t there any other way to hide the custom fields from the single event page? We need the custom fields and don’t want them to be killed just to hide them… Where exactly in the single-event.php template file are the custom fields loaded? I can’t find that… Or would I have to hide them via CSS?
Thanks,
Stefan
BTW: an option for each custom field to hide/show it on the event’s details page would be something for a future version, as I believe that custom fields are pretty often used to store something internal…
- This reply was modified 6 years, 11 months ago by Totalidea Software GmbH.
-
AuthorPosts