latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

WP search results and S2Member conditionals

Home Forums Community Forum WP search results and S2Member conditionals

This topic contains 1 reply, has 2 voices. Last updated by  Raam Dev 4 years, 3 months ago.

Topic Author Topic
Posted: Thursday Sep 13th, 2012 at 2:44 pm #25204
Jeff Wedren
Username: jwedren

WP search results are displaying s2m shortcode conditionals. Is there anyway to NOT display the contional tags in the results?

Here is an example screenshot?

https://dl.dropbox.com/u/220081/s2member.png

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday Sep 14th, 2012 at 12:08 am #25244
Raam Dev
Username: Raam
Staff Member

Hi Jeff,

The search results are pulling an excerpt of the post and shortcodes/conditionals do not get parsed in the excerpts.

I believe if you add your own excerpt to the Excerpt box on each post, the search results will by default show the content from the Excerpt box excerpt instead of the content from the post (if the Excerpt bos is empty, WordPress just pulls the first few lines from the post and uses that as the excerpt, which is what you’re seeing).

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.