• Resolved davidslee101

    (@davidslee101)


    I love this plugin. I have my calendar set up so that you can search by tags. I tag each event with the state that the event is held at.

    I would like to change the text “All event tags” to “Search by state”

    Can you tell me how to do this?

    I thought it would be easy to find the php code where “All event tags” was written, then I’d just overwrite it. But I can’t find the line or file where that code is written.

    http://www.iscafit.studiolee.xyz

    David Lee

    https://wordpress.org/plugins/wp-fullcalendar/

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

    (@angelo_nwl)

    hi,

    here’s another thread which may help you with this – https://wordpress.org/support/topic/change-dropdown-all-text?replies=4

    Thread Starter davidslee101

    (@davidslee101)

    Thanks! This is definitely along the lines of what I’m looking for.

    I’ve broke my site a few times trying to modify

    function em_wpfullcalendar_category_label($taxonomy_args,$taxonomy){
     if ( $taxonomy->name == 'event-categories'){
      $taxonomy_args['show_option_all'] = 'All Cats';
     }
     return $taxonomy_args;
    }
    add_filter('wpmfc_calendar_taxonomy_args','em_wpfullcalendar_category_label',1,2);

    so that it applies to the Tags section and not the Categories section.

    I’m hoping that I can figure it out.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you need to use event-categories instead of event-tags or you already tried this ?

    Thread Starter davidslee101

    (@davidslee101)

    I don’t want to use event-categories because I’m using event-categories for something else. So even-tags would be my next ideal solution.

    Still trying to figure this out, but I’ll post if I find a solution.

    Hi fixed this by changing this line:
    if ( $taxonomy->name == ‘event-categories’){ …
    to this:
    if ( $taxonomy->name == ‘event-tags’){ …

    Hope this helps.

    In witch file is function em_wpfullcalendar_category_label?

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

The topic ‘Change text "All event tags"’ is closed to new replies.