Forum Replies Created
-
AuthorPosts
-
June 25, 2018 at 4:41 pm in reply to: Enable Custom Field in Single Venue to open a Modal Window #1561197homeb1950aol.comParticipant
Thanks, Ed, but I am afraid I don’t understand your answer. I need to change the behavior in single-venue.php. I copied the file into my child theme and opened it in a text editor. Line 101 displays the featured image and line 106 displays Upcoming Events. There is no code between that displays custom fields.
Perhaps I should clarify my need. For the venue named “St. Clair Lanes”, I create a custom field named “Hotels Nearby”. I need the value of this custom field to display as a hyperlink when a visitor displays this single venue. The target of the hyperlink is “#”. The class of the hyperlink is “popmake-567”, which is a shortcode used by Popup Maker to open a modal window with an ID of 567.
Here is an example of the hyperlink:
Hotels near St. Clair Lanes.pdfCan this be done? thank you.
-
AuthorPosts