WordPress.org

Forums

The Events Calendar Category Colors
[resolved] v1.5.4 broke the fix added in 1.5.2 (8 posts)

  1. Steve West
    Member
    Posted 2 years ago #

    Upon updating from v1.5.2 to 1.5.4, the problem noticed forst in v1.5.1 re-appeared. Problem: The first event in a sequence of events that all share the same category is not picking up the category coloring when using the Calender view.

    http://wordpress.org/extend/plugins/the-events-calendar-category-colors/

  2. Andy Fragen
    Member
    Plugin Author

    Posted 2 years ago #

    Can you do me a favor? Put the following code in your theme's functions.php file and let me know what is shows at the top of the calendar page. In my Default Events Template the result is string(0) ""

    add_action( 'wp_head', 'template_name' );
    function template_name() {
    	if ( class_exists( 'TribeEvents' ) ) {
    		$template = TribeEvents::getOption('tribeEventsTemplate');
    		var_dump( $template );
    	}
    }
  3. Andy Fragen
    Member
    Plugin Author

    Posted 2 years ago #

    Hold off on that for a second

  4. Andy Fragen
    Member
    Plugin Author

    Posted 2 years ago #

    It's OK to add that code to functions.php. Please let me know both the results as well as what you have selected for the Template on your calendar view. Thanks

  5. Steve West
    Member
    Posted 2 years ago #

    After adding the snippet to functions.php I get the following at the top of the page when viewing the calendar:

    string(22) "template-fullwidth.php"

    My template is set to "Full Width", which is a template found in the parent theme (Woothemes Listings).

    the content of template-fullwidth.php can be found at:
    https://gist.github.com/4299248

  6. Andy Fragen
    Member
    Plugin Author

    Posted 2 years ago #

    @espedub, thanks for bearing with me. I think v1.5.5 will now fix this issue. I added a pref to check if the calendar takes on the styling of the first event category of the month.

    Let me know how this works for you.

  7. Steve West
    Member
    Posted 2 years ago #

    1.5.5 fixed the problem I was seeing where the first event in a sequence of events that all share the same category was not picking up the category coloring when using the Calender view.

    Thanks

  8. Andy Fragen
    Member
    Plugin Author

    Posted 2 years ago #

    I'm glad this fix worked for you. Thanks for helping me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar Category Colors
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic