jonahcoyote (@jonahcoyote)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • In reply to: bbPress + Elementor



    Hi all,

    I think I have a better solution. Add the following to your themes functions.php:

    function make_post_type_public() {
        global $wp_post_types;
        $wp_post_types['topic']->public = true;
        $wp_post_types['topic']->show_in_nav_menus = true;
    add_action('init', 'make_post_type_public');

    Then “Topics” will show up in your Elementor template conditions and you don’t need to mess with the other solutions which seem a little clunky. Works well for me and hope it works for others!

Viewing 1 replies (of 1 total)