Forum Replies Created
-
AuthorPosts
-
Perth Jazz
ParticipantHi Brian
I don’t think I have this file but please let me know if I’m looking in the wrong place. From the WordPress dashboard I navigated to Appearance -> Editor (Edit Themes) to get to the template stylesheet. This is the only place I can find php files to edit.
Do I need to create this file?
What I can see in this location that looks similar to your description is:
list.php
(tribe-events/list.php)single-event.php
(tribe-events/single-event.php)widgets.php
(inc/widgets.php)Thanks for your help.
Perth Jazz
ParticipantHi Brian
I tried that and it didn’t work. Just to confirm, I copied it into: Monk Null Template: widgets.php (inc/widgets.php). I also tried copying it into: Monk Null Template: list.php (tribe-events/list.php) and that didn’t work either.
Any other suggestions?
Thanks for your help.
Perth Jazz
ParticipantThanks for the reply. The theme the website uses is called Monk Null Template (theme provided by the web developer). I found the ‘Monk Null Template: list.php (tribe-events/list.php)’ – is this the right place to insert the text that you gave me?
In the window I have this:
<?php
/**
* List View Template
* The wrapper template for a list of events. This includes the Past Events and Upcoming Events views
* as well as those same views filtered to a specific category.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/list.php
*
* @package TribeEventsCalendar
* @since 2.1
* @author Modern Tribe Inc.
*
*/if ( ! defined( ‘ABSPATH’ ) ) {
die( ‘-1’ );
} ?><?php do_action( ‘tribe_events_before_template’ ); ?>
<!– Tribe Bar –>
<?php tribe_get_template_part( ‘modules/bar’ ); ?><!– Main Events Content –>
<?php tribe_get_template_part( ‘list/content’ ); ?><div class=”tribe-clear”></div>
<?php do_action( ‘tribe_events_after_template’ ) ?>
-
AuthorPosts
