I got another question about displaying the venue adress in event details. It is usually displayed this way:
Here comes the venue-name:
<h4><strong>Venue:</strong> <strong>
<a itemprop="url" href="Here comes the URL">
<span itemprop="name">This is the displayed name of the venue</span></a></strong></h4>
Is it possible to remove the <strong>-tag and make it a non-strong?
This is the heading: <strong><span class="dashicons dashicons-location-alt"></span>Adress:</strong>
Same question as above.
How do i remove the adressRegion and adressCountry? Where can I change the order of the itemprop? In Germany we use another way to write down adresses.
Is it possible to remove the -tag and make it a non-strong?
Yes, it is possible.
You will need to alter the template used for the Venue details and load your own custom version.
Go to /event-espresso-core-reg/public/Espresso_Arabica_2014/
Copy the file content-espresso_events-venues.php
Place that file within your themes root directory (preferably a child theme) and edit the output there.
EE will use that custom template in place of the default and the strong tags you mentioned at on line 20 and 28.
How do i remove the adressRegion and adressCountry? Where can I change the order of the itemprop? In Germany we use another way to write down adresses.
To change the order of the address details you can use a function like this:
Sets the Germany address formatting, you can change that to suit.
Viewing 1 reply thread
The support post ‘Displaying venue adress in another order’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.