File Editor
Directories:
.. (Back)
components
day
event-status
latest-past
list
month
widgets
Files:
base.php
day.php
default-template.php
latest-past.php
list.php
month.php
not-found.php
Create New File
Create
Edit File: base.php
<?php use \Tribe\Events\Views\V2\Template; /** * View: Base View * * Override this template in your own theme by creating a file at: * [your-theme]/tribe/events/v2/base.php * * See more documentation about our views templating system. * * @link http://evnt.is/1aiy * * @version 6.2.0 * @since 6.2.0 Better debug output and formatting. * * * @var Template $this Template Engine instance rendering. * @var string $view_slug This View slug. * @var string $view_class The fully-qualified name of the View. * @var array $lookup_folders A list of the folders that have been searched to find the View template, including * type and priority. * @var array $_context The current context array dump. */ ?> <div class="tribe-view tribe-view--base tribe-view--<?php echo esc_attr( $view_slug ) ?>"> <dl> <dt>View:</dt> <dd><code><?php echo esc_html( $view_slug ) ?></code></dd> <dt>Hook name:</dt> <dd><code><?php echo esc_html( $this->get_template_current_hook_name() ) ?></code></dd> </dl> <p> We looked for a template file for the <code><?php echo esc_html( $view_slug ) ?></code> slug but could not find one. </p> <p>This was rendered by the <code><?php echo esc_html( $view_class ) ?></code> View.</p> <p>We've looked in the following locations:</p> <ul> <?php foreach ( $lookup_folders as $folder ) : ?> <li> <ul> <li>Id: <code><?php echo esc_html( $folder['id'] ) ?></code></li> <li>Priority: <code><?php echo esc_html( $folder['priority'] ) ?></code></li> <li>Path: <code><?php echo esc_html( $folder['path'] ) ?></code></li> </ul> </li> <?php endforeach; ?> </ul> <p>Template context:</p> <pre> <code> <?php echo esc_html( json_encode( $_context, JSON_PRETTY_PRINT ) ) ?> </code> </pre> </div>
Save Changes
Rename File
Rename