• Resolved johnwai

    (@johnwai)


    Hi,

    I am trying to display different color on multi categories on each event under event listing.

    The only way to do this is to modify placeholders/category.php using
    $EM_Category->output(“#_CATEGORYCOLOR”);

    inside the loop but return weird result such as “March69057” instead of “#BBBBBB”, apart from the last category within the single event.

    If I do a var_dump on $EM_Category, I don’t understand why is [“color”]=>NULL for every category? Would be good to have this flag return the category’s color reference.

    Any pointer would be much appreciated.

    Thanks,
    John

    https://wordpress.org/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    just to confirm, does saving is working fine when you assign a category color under Events > Event Categories?

    Thread Starter johnwai

    (@johnwai)

    Thanks for reply.

    Yes the saving is working fine.

    I am on Version 5.5.5

    Cheers,
    John

    Plugin Support angelo_nwl

    (@angelo_nwl)

    do you have sample link to your site with this issue for us to see? also, are you using custom template for this?

    Thread Starter johnwai

    (@johnwai)

    Thanks for the reply Angelo,

    I am getting this result straight from the core file outside the theme folder.

    Yes I am using custom template and I will double check on this and get back to you.

    Thanks,
    John

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Category Color’ is closed to new replies.