Home › Forums › Calendar Products › Events Calendar PRO › Single event view – details – Website url isn’t a hyperlink
- This topic has 6 replies, 2 voices, and was last updated 8 years, 7 months ago by
Peter.
-
AuthorPosts
-
September 6, 2017 at 9:40 pm #1345795
Peter
ParticipantHi There,
This may be an odd issue with my site, but check out the “Website” under “Details”:
https://somaticexperiencing.com/event/therapeutic-presence-therapeutic-rhythms-an-se-principles-workshop-in-chester-ct/The URL isn’t being made into a link. Which is what I would want so that people can go to the page to register.
September 8, 2017 at 8:11 am #1346610Courtney
MemberHi Peter
Can you start by going through our Testing for Conflicts Guide https://theeventscalendar.com/knowledgebase/testing-for-conflicts/?ย I am wondering if you might have a plugin or theme conflict.ย Begin by deactivating all other plugins, using a theme such as Twenty Seventeen https://wordpress.org/themes/twentyseventeen/, and see if the issue still persists.
Also, double check for any other updates available (Dashboard ยป Updates).ย
Please let me know if the issue still persists after these tests.
Thanks
Courtney ๐September 8, 2017 at 2:09 pm #1346860Peter
ParticipantHi Courtney,
Now that the demo page is working today, I see that “website” should provide a link. I will investigate, thank you.September 11, 2017 at 6:33 am #1347468Courtney
MemberSure thing Peter. Do keep me posted if you find a conflict or need further help.
Thanks
Courtney ๐September 22, 2017 at 12:13 pm #1353628Peter
ParticipantHi Courtney,
I found the problem – No anchor tag around the relevant $website variable in details.php in my custom theme folder.
I had asked my developer a while back to move the event details and registration to underneath the featured image of any event post. He had created copies of the relevant tribe files in my theme folder. I troubleshot whether it was these custom files by renaming the custom tribe-event folder and refreshing the page. I found out that the website links now worked. I renamed the folder back, and I searched this [custom-theme-name]/tribe-event folder for
<dd class="tribe-events-url"
And I found it inside of tribe-event/modules/meta/details.phpOriginally, it was written as
<dd class="tribe-events-event-url"><?php echo $website; ?></dd>so it echoed the website variable, but didn’t wrap it in a tag.So, I added an anchor tag (and set the href argument to echo the $website variable again) around the
<?php echo $website; ?>so it looks like this.
<dd class="tribe-events-event-url"><a href="<?php echo $website?>">><?php echo $website?></a></dd>;Added this info in case any other beginners have a similar problem.
-
This reply was modified 8 years, 7 months ago by
Peter. Reason: Formatting was off
September 25, 2017 at 6:46 am #1354236Courtney
MemberThat’s great to hear Peter. I’m glad you found the help you needed with your theme as well.
Come back again if there is anything else we can help you with.
Thanks
Courtney ๐ -
This reply was modified 8 years, 7 months ago by
-
AuthorPosts
- The topic ‘Single event view – details – Website url isn’t a hyperlink’ is closed to new replies.
