Support » Plugin: The Events Calendar » how to remove state abbreviation in location

  • Resolved granatdesign


    Is there any way to show the full name of the state instead of showing abbreviation?

    What I’m really trying to do is remove the dotted outline that is showing up underneath state abbreviation.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ed


    Hey there @granatdesign!

    Thanks for reaching out.

    Unfortunately The Events Calendar doesn’t have a setting for this nor do we have a snippet available.

    I’ve added an example function below which could be a good starting point for you, note our Functions list as well.

    function country_code_convertor_func( ){
        extract( shortcode_atts( array(
                  'state' => ''
               ), $atts ) );
        $stateList = array(
            "AL" => "Alabama",
            "AK" => "Alaska",
            "AZ" => "Arizona"
        if ( !empty($state) ){
            if ( isset($stateList[$state]) ){
                // return $stateList[$state].', '.$state;
                return $stateList[$state];

    Take care,
    Ed ✌️



    thank you for your reply, Ed

    After much research, I finally was able to remove that annoying outline wit the following css:

    abbr[title] {
        border-bottom: none !important;
        cursor: inherit !important;
        text-decoration: none !important;

    Had no idea that that 3rd line (text-decoration: none !important;) was needed LOL, but found solution on Stack Exchange.

    thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to remove state abbreviation in location’ is closed to new replies.