Home › Forums › Calendar Products › Events Calendar PRO › Event Organizer Website URL to directly link from "dt" list output
- This topic has 6 replies, 2 voices, and was last updated 8 years, 9 months ago by
Palmtree.
-
AuthorPosts
-
July 3, 2017 at 10:21 pm #1315727
Palmtree
ParticipantI would like Event Organizer’s website URL (that I can enter in each event organizer’s information editing page) to directly link from dd class=”tribe-organizer” dt list output which appears at the end of each event (single detail page).
To explain better… I am not intending to use event organizer’s pages which are output by your plugin. Each event organizers have their own websites and I would like to link to those website from dt list output inside event meta information box.
It would be great if you could tell me which template file I should be looking at.
Thank you!
July 4, 2017 at 5:29 pm #1316063Palmtree
ParticipantI have found that the “organizer.php” (located in the-events-calendar > src > views > modules > meta) plays the role for the meta information output where I want to modify..
On the line 35
It says<?php echo tribe_get_organizer_link( $organizer ) ?>.
I have changed to<?php echo tribe_get_organizer_website_link( $organizer ) ?>
The website URL links are now changed to the way I want to but I want the output text<a href="urllink">OUTPUT TEXT</a>to be not the URL address but actual organizer’s name.Also I’ve noticed when organizer is just one, the plugin output meta information little bit differently which email, phone and weblinks are all out before going into the organizer’s page. I want this single organizer’s output to be the same as multiple organizer’s output as well. I have commented out from line 39 to 72 where it says not multiple to do this. It works..
It would be really appreciated if you could help a bit further.
Thank you.July 4, 2017 at 6:20 pm #1316076Palmtree
ParticipantI have found that the
<?php echo tribe_get_organizer( $organizer ) ?>can output organizer’s name only.Now what I need is the way to print “URL”.
<?php echo tribe_get_organizer_website_link( $organizer ) ?>this piece of code output both “a href link and url text”. I just want code to print URL text only.Please help…
-
This reply was modified 8 years, 9 months ago by
Palmtree.
July 4, 2017 at 8:21 pm #1316114Geoff B.
MemberGood evening Toshihiro and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.Just to set expectations, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues.
We unfortunately do not provide complete support for customization.
With that in mind, it sounds like what you are trying to do is already done by the following extension: https://theeventscalendar.com/extensions/make-organizer-names-link-to-organizer-website-urls/
Let me know if that helps.
Have a great day!
Geoff B.
July 5, 2017 at 3:24 am #1316207Palmtree
ParticipantYes, it solves the issue!!
Thank you so much:)
July 5, 2017 at 9:12 am #1316300Geoff B.
MemberGood afternoon Toshihiro,
I am super stoked to hear that!
You are welcome back in our support forums any time 🙂
For now, I am going to close this thread.
Have a great week!
Geoff B.
-
This reply was modified 8 years, 9 months ago by
-
AuthorPosts
- The topic ‘Event Organizer Website URL to directly link from "dt" list output’ is closed to new replies.
