Community

Home Forums Support How to exclude shortcode words

Viewing 1 reply thread
  • Author
    Posts
    • #4321
      California Steve
      Keymaster

      I have an interesting challenge. I have a Group named “Simplicity” when the group name appears it looks like this “SimpliNew Braunfels” the “city” in the name is making the group location from the shortcode of “city” display the group’s city, lol. Anyone have a fix?

    • #4325
      California Steve
      Keymaster

      Easy fix, It wasn’t a short code it was a str_replace in the code. Here was my fix, Jack can you add this to the next update hopefully in all the values to not get problems with meeting name and location that have the text words “city”, “zip”, “street”, ETC.

      This is bmlt_meeting_list.php line 1273

      $data = preg_replace('/\bcity\b/', $meeting_value['location_municipality'], $data);

Viewing 1 reply thread
  • The forum ‘Support’ is closed to new topics and replies.