Custom templates help.
-
Hey all.
I absolutely love the plugin. This is my first use of it and it’s for a charity but I may well use the pro version on future projects.
I’ve managed to get custom templates for pretty much every front end aspect, however, looking through them I wanna change things slightly for instance the venue details I’ve placed in the popup in the calender view looks like this:
<?php if ( $venue_details ) : ?> <!-- Venue Display Info --> <h2 class="pops">Where: <?php echo implode( ', ', $venue_details) ; ?></h2> <!-- .tribe-events-venue-details --> <?php endif; ?>
On the front end it displays like this:
<h2 class="pops">Where: <span class="author fn org">[location]</span></h2>
On the single events page, I’ve moved about what I want displayed and where so I’ve used the same code in my php templates however when it gets displayed on the front end it looks like this:
<h2 class="pops">Where: <dd class="author fn org">[location]</dd>
So, any way to strip the <dd> from them? I’ve tried the only way I know but doesn’t seem to work, so perhaps there is a better line of php code to display the event?
Also, one of the other things I wanna be able to do is display the map, now I know the easy way would be to include full meta details and it displays it quite well but not in the format I would like so does anyone know the code to load JUST the map?
Thanks in advance for any light anyone might be able to shed on this.
- The topic ‘Custom templates help.’ is closed to new replies.