WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar Category Colors
[resolved] Getting the legend integrated (12 posts)

  1. ihiustler
    Member
    Posted 1 year ago #

    I am using headway themes so adding the legend has been a little difficult. Can someone give me some advice on what to do correctly? I have tried the instructions that are listed within the plugin and added a copy of ecp-page-template.php to an events folder within my theme and adding the appropriate code to that file. I am using the plugin called “The Events Calendar Category Colors”.

  2. Andy Fragen
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, forget about the ecp-page-template.php for now.

    Add the code from this gist to your theme's functions.php file. When on the Events Calendar page it should display the name of the template file that you are using. Edit that file by adding the legend code where you want the legend to display.

    Also, can you give the URL of your calendar? Thanks.

  3. ihiustler
    Member
    Posted 1 year ago #

    http://chiroinc.com/seminars

    it is not lined up but it is functioning but now when you go to the categories it has the issues I ran into before with the calendar colored. try it out. I am off to bed and will address this in the morning.

  4. Andy Fragen
    Member
    Plugin Author

    Posted 1 year ago #

    You probably just have to place the code below where the title of the calendar is being generated.

    FYI, when you update to v1.5.6 you'll need to look at the FAQ here and add that code to get rid of the whole calendar coloring.

  5. ihiustler
    Member
    Posted 1 year ago #

    Andy,

    My problem is with this now after the update is the following issue I had before.

    Http://chiroinc.com/seminars
    http://chiroinc.com/seminars/category/technique

    It seems its back to my original issue I had with the front of the calendar. I added some CSS to fix that and all I think I need to do is find the right CSS code.

    I see the option in the setting disappeared for fixing some CSS issue.

    Thx

  6. Andy Fragen
    Member
    Plugin Author

    Posted 1 year ago #

    As I said, the new update will cause this problem for you. Go to the FAQ, http://wordpress.org/extend/plugins/the-events-calendar-category-colors/faq/

    Adding that code should fix it.
    https://gist.github.com/4324054

    That fix caused more problems for other users so I pulled out the code and made it available from the gist as needed.

  7. ihiustler
    Member
    Posted 1 year ago #

    yes it fixed the main calendar view but it does not fix the category calendar pages as shown here

    http://chiroinc.com/seminars/category/technique/

  8. Andy Fragen
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, I forgot the category pages had a different selector. I've updated the gist so the code should work for both pages now.

  9. Andy Fragen
    Member
    Plugin Author

    Posted 1 year ago #

    This seems to now be working.

  10. CarolinaEpicurean
    Member
    Posted 1 year ago #

    Not sure if I should post here or start a new thread?

    I'm having difficulty getting Category Colors Legend working. I've copied the ecp-page-template.php file to a new Events folder - my theme > events folder. I've added this line of code where I want the legend to appear: <?php teccc_legend_hook(); ?>

    I'm using a Headway Theme and have everything working except the Legend: http://carolinaepicurean.com/events/

    The "Legend" on the page now are a series of .jpeg's with category names on them and no links. Still want to do some styling on event category pages.

    The Legend was working fine with my previous theme: Genesis with Lifestyle Child.

    Help would be appreciated.

  11. Andy Fragen
    Member
    Plugin Author

    Posted 1 year ago #

    Moved to another thread.

  12. CarolinaEpicurean
    Member
    Posted 1 year ago #

    Thanks. Sorry for confusion.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.