• Resolved YesThatAllen

    (@ahancock)


    Currently, the search results show a preview of the full description, and the location’s page shows the full body. This is ok, but I would love for better.

    We’d rather put a short version of the location in the wordpress Excerpt field, and have it used on the search results page?

    How can this be done?

    Thank you!

    https://wordpress.org/plugins/wp-store-locator/

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

    (@tijmensmit)

    Add this code to the functions.php, and then use the wpsl_listing_template filter to overwrite the existing listing template.

    You can use the code example on the wpsl_listing_template page, and replace the ‘my_textinput’ with ‘excerpt’ to show the content of the excerpt, also remove the p tags.

    Thread Starter YesThatAllen

    (@ahancock)

    Amazing Tijmen.. simply amazing.

    Can’t wait to buy a Pro licence to thank you for all your hard work on this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use Excerpts in the search results?’ is closed to new replies.