文件操作 - event-sidebar-options.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/the-events-calendar/src/admin-views/event-sidebar-options.php
编辑文件内容
<?php /** * UI for option to hide from upcoming events list */ // Don't load directly if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } global $post; ?> <p> <label class="selectit"> <input value="yes" type="checkbox" <?php checked( tribe_get_event_meta( $post->ID, '_EventHideFromUpcoming' ) == 'yes' ) ?> name="EventHideFromUpcoming"> <?php printf( esc_html__( 'Hide From %s Listings', 'the-events-calendar' ), tribe_get_event_label_singular() ); ?> </label> </p> <p> <label class="selectit"> <input value="yes" type="checkbox" <?php checked( $post->menu_order == '-1' ) ?> name="EventShowInCalendar"> <?php esc_html_e( 'Sticky in Month View', 'the-events-calendar' ); ?> </label> <span class="dashicons dashicons-editor-help tribe-sticky-tooltip" title="<?php esc_attr_e( "When events are sticky in month view, they'll display first in the list of events shown within a given day block.", 'the-events-calendar' ); ?>"></span> </p> <p> <label class="selectit"> <input value="yes" type="checkbox" <?php checked( tribe( 'tec.featured_events' )->is_featured( $post->ID ) ); ?> name="feature_event"> <?php esc_html_e( 'Feature Event', 'the-events-calendar' ); ?> </label> <span class="dashicons dashicons-editor-help tribe-sticky-tooltip" title="<?php esc_attr_e( 'Featured events are highlighted on the front end in views, archives, and widgets.', 'the-events-calendar' ); ?>"></span> </p>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件