After search keyword in the PHP code, I found the root cause @src/admin-views/tribe-options-display.php
@src/admin-views/tribe-options-display.php
if ( ! tec_is_full_site_editor() ) {
...
$styling_array['tribeEventsTemplate'] = [
'type' => 'dropdown',
'label' => __( 'Events template', 'the-events-calendar' ),
'tooltip' => __( 'Choose a page template to control the appearance of your calendar and event content.', 'the-events-calendar' ),
'validation_type' => 'options',
'size' => 'small',
'default' => 'default',
'options' => $template_options,
];
}
If tec_is_full_site_editor() return true, then it will not shows “Events template” option in setting page.
I look into the tec_is_full_site_editor(), it actually detect your theme type. Unfortunately, I am using a “block theme” — “Twenty Twenty-Two”.
The “Twenty Twenty-Two” is a block theme, but “Twenty Twenty-One” is not. After change theme to “Twenty Twenty-One”, it is shows the “Events template” option in Display setting page.
You can close the ticket, but here is my suggestion for development.
I highly recommend that you should mention the info in the settings page.
When you use Oxygen builder, oxygen will ignores the choice of theme. All oxygen users just random choose a theme, because the theme will not apply in your site. So the oxygen users will not expect any plugin should detect the theme setting.
So when this problem happened, they didn’t have any hints to lead them to fix problem by change current theme.
-
This reply was modified 2 years, 6 months ago by andrewintw.