Title: Custom Short Code Breaks Location
Last modified: February 8, 2021

---

# Custom Short Code Breaks Location

 *  [stringbenderb5](https://wordpress.org/support/users/stringbenderb5/)
 * (@stringbenderb5)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/custom-short-code-breaks-location/)
 * I need to use the plugin with “Two Separate Location Functions” that are totally
   independent from each other. How can I fix the below issue?
 * FIRST FUNCTION – REHAB SERVICES
 * I used the short code [wpsl category=”rehab-services”]
    However, it is broken
   on the frontend.
 * Please see screenshot and url.
 * Url: [https://boneandjointtn.org/test-2/](https://boneandjointtn.org/test-2/)
 * Screenshot: [https://boneandjointtn.org/wp-content/uploads/2021/02/Screen-Shot-2021-02-08-at-1.12.19-PM.png](https://boneandjointtn.org/wp-content/uploads/2021/02/Screen-Shot-2021-02-08-at-1.12.19-PM.png)
 * SECOND FUNCTION – URGENT CARE
 * Currently, the Short Code [wpsl] but I want to change it to [wpsl category=”urgent-
   care”]. When I did this one also broke.
 * The short code [wpsl] was used for the screenshot and url below and this is how
   it needs to look when using [wpsl category=”urgent-care”]
 * SCREENSHOT: [https://boneandjointtn.org/wp-content/uploads/2021/02/Screen-Shot-2021-02-08-at-12.55.01-PM.png](https://boneandjointtn.org/wp-content/uploads/2021/02/Screen-Shot-2021-02-08-at-12.55.01-PM.png)
 * URL: [https://boneandjointtn.org/orthopaedic-urgent-care/](https://boneandjointtn.org/orthopaedic-urgent-care/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-short-code-breaks-location%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Custom Short Code Breaks Location’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

 * [short codes](https://wordpress.org/support/topic-tag/short-codes/)

 * 0 replies
 * 1 participant
 * Last reply from: [stringbenderb5](https://wordpress.org/support/users/stringbenderb5/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/custom-short-code-breaks-location/)
 * Status: not resolved