F
fldjswm
New Member
Hey y'all, appreciate you guys taking the time to read this.
I am trying to make a "Single" + "Event" template, but the SINGLE template type is missing from my template type drop-down menu.
I've checked the "Event" option from the Elementor Setting (image #1),added the code in the theme function.php, and at the snippet (image #2).
-------------------
add_filter('elementor_pro/utils/get_public_post_types', function ($post_types) {
$post_types['event_listing'] = 'Event Listings';
return $post_types;
});
---------------------
However, the SINGLE template is still not showing up (image #3).
Any advice on how to make "Single" appear?
I am trying to make a "Single" + "Event" template, but the SINGLE template type is missing from my template type drop-down menu.
I've checked the "Event" option from the Elementor Setting (image #1),added the code in the theme function.php, and at the snippet (image #2).
-------------------
add_filter('elementor_pro/utils/get_public_post_types', function ($post_types) {
$post_types['event_listing'] = 'Event Listings';
return $post_types;
});
---------------------
However, the SINGLE template is still not showing up (image #3).
Any advice on how to make "Single" appear?