• Hi there,

    I’m (desperatly) looking for a search/results display solution that would match these criteria:
    – easy way to include soundcloud / vimeo shortcode in my posts/custom post type
    – easiness of search amongst shortcode content & easiness of displaying results by extracting specific part of the shortcode (to rebuild code required to display soundcloud & vimeo players)

    https://wordpress.org/plugins/relevanssi/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Relevanssi doesn’t really have an opinion on how the results are displayed, so with Relevanssi, you have to do that yourself anyway. Relevanssi can search shortcode content.

    Thread Starter julienbayle

    (@julienbayle)

    opinion?

    Plugin Author Mikko Saari

    (@msaari)

    Relevanssi only returns results, and doesn’t care about how they are displayed – that is all up to your theme.

    Thread Starter julienbayle

    (@julienbayle)

    of course.
    So you mean I could search for “all posts containing a shortcode with vimeo character string inside” ? That would be enough for me.

    Plugin Author Mikko Saari

    (@msaari)

    Relevanssi is a full-text search, so it’s best used for searching for posts that contain particular text. It requires a search term, so Relevanssi does not work well for cases where you want to select a certain subset of posts, without having a search term.

    It’s fairly easy to make Relevanssi find all posts that include a Vimeo shortcode when you search for “vimeo” or something like that, but just selecting Vimeo posts without a search term involved gets too complicated, something else is a better tool for that.

    Thread Starter julienbayle

    (@julienbayle)

    thanks for your answer.
    but “searching for vimeo” can be included under a button. I didn’t mean that there wouldn’t be a “real” search.

    I’ll try to dig it.
    Maybe https://searchwp.com fits better my need. I’m not sure, btw.

    Plugin Author Mikko Saari

    (@msaari)

    Well, it’s probably something that can be done with Relevanssi, but will require some custom hacking, it’s definitely not an out-of-the-box solution.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘searching shortcode and custom display results ?’ is closed to new replies.