Organiser Website Address Wordwrap

Home Forums Ticket Products Event Tickets Plus Organiser Website Address Wordwrap

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1222347
    Russell
    Participant

    Hi

    The organiser website address is word-wrapping on to two lines but just 1 character (!) It looks awful – is there a way to stop this from happening or better still, to add some code to the functions.php file so that it just becomes a link to Visit Website.

    Many thanks.

    #1222360
    Geoff
    Member

    Hey Russell,

    Great question! We actually have a free extensions that will help you do exactly that:

    Use a Custom Label for the Event Website URL Field

    You can use that to change the website URL into a label.

    Does this help answer your question? Please let me know. šŸ™‚

    Cheers!
    Geoff

    #1222367
    Russell
    Participant

    Thanks – but this doesnā€™t deal with the ā€˜organiserā€™ web address – only the event one.

    Kind Regards,

    Russell Scott

    [https://www.dropbox.com/s/m70ldzz5saoi1df/twitter.png?raw=1] [https://www.dropbox.com/s/y4fjimqyzf44nwh/facebook.png?raw=1] [https://www.dropbox.com/s/aggwdz7lr2ika5a/youtube.png?raw=1] [https://www.dropbox.com/s/80jhz1k45mwrv44/linkedin.png?raw=1]

    Please note: I aim to respond to emails within 24hrs. For URGENT issues, please contact me by telephone.

    [https://www.dropbox.com/s/wv4rhmp1ludl02e/Russel%20Scott%202.png?raw=1]

    m. 07590 454606

    t. 08445 67 68 96

    e. [email protected]

    w. http://www.russellscottentertainment.com

    This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mis-transmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Russell Scott Entertainment Limited reserve the right to monitor all e-mail communications through its networks.

    [https://www.dropbox.com/s/881mnhd289z1zw0/leaf.png?raw=1] Think before you print.

    Russell Scott Entertainment Limited is a company registered in England & Wales. Registered number: 07081589. Registered office: 5 Elstree Gate, Elstree Way, Borehamwood, Herts. WD6 1JD (THIS IS NOT OUR MAILING ADDRESS).

    #1222644
    Geoff
    Member

    Hey Russell,

    Oh yes, sorry about that!

    We’ll have to override the template instead in order to make this work. Here’s how you can do that:

    • Make a copy of theĀ organizer.php template. It is located in wp-content/plugins/the-events-calendar/src/views/modules/meta/organizer.php
    • Create a new folder in your theme calledĀ tribe-events
    • Make a new folder in that folder calledĀ modules
    • Make a new folder in that one calledĀ meta
    • Move the copiedĀ organizer.php file to the last folder

    Now that the template is in your theme, it can be modified to suit your needs. In this case, delete everything in there and replace it with the code I wrote for you here.

    This should replace the full URL of the organizer with a label that says “View Website” and targets the URL.

    Cheers!
    Geoff

    #1224221
    Russell
    Participant

    Amazing – thank you – it works!

    On the event website it has a double arrow after the word website – can I have this also on the organiser one ? How do I add this so that they are the same aesthetically ?

    #1224226
    Russell
    Participant

    Ignore – that I found how – Thanks again!

    #1224342
    Geoff
    Member

    My pleasure, happy to be of service!Ā I’ll go ahead and close this thread but let us know if any other questions come up and we’d be happy to help. šŸ™‚

    Cheers!
    Geoff

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Organiser Website Address Wordwrap’ is closed to new replies.