Not Playing Nicely with Thesis Theme/Flex Skin – Events Template

Home Forums Calendar Products Events Calendar PRO Not Playing Nicely with Thesis Theme/Flex Skin – Events Template

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1299121
    hydeaway
    Participant

    Events Calendar Pro – Events Template settings doesn’t see Flex templates. The only templates listed are the two defaults and what I assume is a default WordPress template called, simply, Default. There are 3 additional templates in Thesis Skin Custom Templates in the page editor. But ECP isn’t finding them.

    #1299403
    Barry
    Member

    Hi @hydeaway!

    Generally, regardless of the theme, you will always be able to pick between the Default Page Template and Default Events Template with that setting.

    Beyond that, what you can pick from really depends on how the theme is coded and structured — if it exposes more than one page template, it should be listed there but that can’t be guaranteed and it varies by theme (really, it’s not a matter of the theme’s page templates being visible to our plugin, but of them being visible to WordPress itself).

    With that said, if you are at home writing code and are feeling ambitious you could customize the list of available templates using a strategy like this one:

    function modify_template_selector_list( $templates ) {
        // Add any extra templates you want to pick from
        // here then return the modified list
        return $templates;
    }
    
    function setup_extra_event_templates( $no_modify ) {
        add_filter( 'theme_page_templates', 'modify_template_selector_list' );
        return $no_modify;
    }
    
    add_filter( 'tribe_display_settings_tab_fields', 'setup_extra_event_templates', 5 );
    

    That’s just a starting point that you can use if you wish (and if you’re comfortable), there are a number of gaps you’d need to fill in that I can’t supply as I’m unfamiliar with your theme — but I hope if nothing else this provides an explanation of why and how it works 🙂

    #1317940
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Not Playing Nicely with Thesis Theme/Flex Skin – Events Template’ is closed to new replies.