Home › Forums › Calendar Products › Events Calendar PRO › Default style options?
- This topic has 6 replies, 2 voices, and was last updated 11 years, 3 months ago by
Geoff.
-
AuthorPosts
-
January 14, 2015 at 9:47 am #932802
Dieter
ParticipantHi guys, it’s me again… π
I saw, there should be 3 default style options. My problem is, I can’t find them under Events -> Settings -> Display. Have I done something wrong or why is this missing?
Cheers,
DieterJanuary 14, 2015 at 10:50 am #932839Geoff
MemberHey Dieter, welcome back!Β Nice to see you again and sorry you’re hitting some trouble with the styling options in the settings. Let’s see if we can sort out what’s happening. π
I notice that you’re using the Enfold theme and unfortunately, this is a known issue that is caused by the theme intentionally stripping those options out. Are you able to confirm this by switching to a default WordPress theme to see if the options return?
I’ve seen this pop up before and it was the result of the theme taking those out, so let’s start there and see what we find.
Cheers!
GeoffJanuary 14, 2015 at 11:06 am #932850Dieter
ParticipantHey Geoff, thanks for your anwser. I just tried the default theme and what should I say? It works. ;-(
Not that I’m happy that it works with this theme, no I’m unhappy that it doesn’t with Enfold. What can I do?
Cheers,
DieterJanuary 14, 2015 at 11:22 am #932858Geoff
MemberWell, I’m glad we know the answer, but I’m also bummed that’s the cause because there’s really nothing we can do on our end. My understanding is that the theme does this intentionally, which really blocks our ability to fix it.
Your best bet, unfortunately, is to contact the theme author and ask for guidance on how to remove the code that is blocking that functionality from properly working.
Sorry I don’t more to offer here, but I hope this at least sheds some light on what’s happening and provides some direction on where to go next.
Cheers!
GeoffJanuary 14, 2015 at 11:27 am #932861Geoff
MemberQuick update: one of my teammates let me know about this thread on the Enfold support forum:
The answer in there should help remove the coding that blocks the styles from appearing. Give that a shot and hopefully that does the trick. π
Geoff
January 14, 2015 at 12:28 pm #932901Dieter
ParticipantAfter a lot of reading and detective work, I found a possible solution. It sits in the file
themes/enfold/config-events-calendar/config.php:
//edit/remove some of the options from display tab if(!function_exists('avia_events_display_tab')) { add_action('tribe_display_settings_tab_fields', 'avia_events_display_tab', 10); function avia_events_display_tab($options) { $edit_elements = array('info-start', 'info-box-title', 'info-box-description', 'info-end', 'stylesheetOption', 'tribeEventsTemplate', 'tribeDisableTribeBar'); $options = avia_events_modify_options($options, $edit_elements); return $options; } }Commenting this out does the trick and the display options for the calendar are visible in admin. I’m not sure what this little guy here does:
add_action('tribe_display_settings_tab_fields', 'avia_events_display_tab', 10);or this one:
'tribeDisableTribeBar'I think you or one of your teammates knows that.
January 14, 2015 at 1:09 pm #932925Geoff
MemberYou’re the man! Thanks for sharing that–it will be super useful for others who run into the same issue. Nice job.
I’ll go ahead and close this thread, but please don’t hesitate to start a new one if anything else pops up–we’d be happy to help. π
Cheers!
Geoff -
AuthorPosts
- The topic ‘Default style options?’ is closed to new replies.
