Home › Forums › Calendar Products › Community Events › add severall links on featured image
- This topic has 2 replies, 2 voices, and was last updated 11 years, 3 months ago by
Brian.
-
AuthorPosts
-
November 29, 2014 at 12:16 am #901675
artencite
ParticipantHello,
I would like to add severall links on a featured image. I know how to create an image map in a post, but for a featured image it’s difficult.
To illustrate :
http://www.artencite.fr/event/10-raisons-de-sortir-au-pays-de-fontainebleau-2/
The first image is the featured image (but i don’t know how to add links)
The second image is a map image in the post. I added this code created with gimp.
<map name=”map”> <area coords=”2,2,292,244″ shape=”rect” href=”http://www.artencite.fr/event/fontainebleau-alain-sourigues/” /> <area coords=”296,0,538,246″ shape=”rect” href=”http://www.artencite.fr/event/fete-de-lanimation-a-samois-sur-seine/” /> <area coords=”541,1,994,239″ shape=”rect” href=”http://www.artencite.fr/event/montigny-sur-loing-concert-la-loingtaine-ellen-nisbeth/” /> <area coords=”3,253,264,412″ shape=”rect” href=”http://www.artencite.fr/event/theatre-de-lane-vert-je-hais-les-gosses/” /> <area coords=”0,421,265,553″ shape=”rect” href=”http://www.artencite.fr/event/aigle-noir-catherine-lecomte-exposition-de-peinture/” /> <area coords=”272,256,457,397″ shape=”rect” href=”http://www.artencite.fr/event/fontainebleau-theatre-a-nos-amours/” /> <area coords=”272,405,460,559″ shape=”rect” href=”http://www.artencite.fr/event/theatre-de-lane-vert-en-tout-bien-tout-bonheur/” /> <area coords=”461,249,768,395″ shape=”rect” href=”http://www.artencite.fr/event/photographie-exposition-hericy/” /> <area coords=”466,399,768,555″ shape=”rect” href=”http://www.artencite.fr/event/theatre-de-fontainebleau-danse-terpsichore/” /> <area coords=”774,246,999,556″ shape=”rect” href=”http://www.artencite.fr/event/salon-du-livre/” /> </map>I would like to delete the image map in post and transform my featured image as an image map. Is that possible ?
November 29, 2014 at 3:19 pm #902304Brian
MemberHi,
Thanks for using our plugins. I think this customization is possible. We are not able to help on customizations through the forum, but we can try to provide some information for you.
I would start by looking at our themer’s guide for how to move files to the theme and edit them:
https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
Then you are going to want to look to edit this file:
/the-events-calendar/views/single-event.php
And the featured image function is :
tribe_event_featured_image
Not sure how you can get the image map to show there for different events, you may have to create a custom field and put the image map in there and then show it in place of that featured image function. There is not much help we can provide on that, but that is where you would be able to place your coding.
Let me know if you have any follow up questions.
Thanks
January 9, 2015 at 8:28 am #930926Brian
MemberSince I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂
-
AuthorPosts
- The topic ‘add severall links on featured image’ is closed to new replies.
