Single event view – details – Website url isn’t a hyperlink

Home Forums Calendar Products Events Calendar PRO Single event view – details – Website url isn’t a hyperlink

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1345795
    Peter
    Participant

    Hi 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.

    #1346610
    Courtney
    Member

    Hi 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 ๐Ÿ™‚

    #1346860
    Peter
    Participant

    Hi Courtney,
    Now that the demo page is working today, I see that “website” should provide a link. I will investigate, thank you.

    #1347468
    Courtney
    Member

    Sure thing Peter. Do keep me posted if you find a conflict or need further help.

    Thanks
    Courtney ๐Ÿ™‚

    #1353628
    Peter
    Participant

    Hi 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.php

    Originally, 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
    #1354236
    Courtney
    Member

    That’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 ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Single event view – details – Website url isn’t a hyperlink’ is closed to new replies.