Support » Plugin: WP Store Locator » Enable Single View Store Locator

  • I want to know how i can enable the single view for wpsl_stores custom post type?. Currently it is not visible.

    My Scenario

    Actually i don’t want to create a page for linking detail information about the schools, i am using store locator for searching schools. There is a custom field URL i will be generating the permalink based on the post id and i will place it in the URL custom field through add_post_meta. The reason for doing that is my data will be coming from a web service.

    Any help in this regard is highly appreciated. Looking forward to your response.

    Best Regards,

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit


    If you want to grab the permalink, then you do need to enable the option on the settings page first.

    If you don’t want the permalink wrapped around the title, then you have to overwrite this with the wpsl_listing_template filter. Line 10 in the usage section of calls the wpsl_store_header_template function, which checks how to structure the title.

    Adding custom data to a location before it’s returned to the front-end is done with this filter.

Viewing 1 replies (of 1 total)
  • The topic ‘Enable Single View Store Locator’ is closed to new replies.