WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Better Search] Stop displaying shortcodes

[Resolved] [Plugin: Better Search] Stop displaying shortcodes

Viewing 4 replies - 1 through 4 (of 4 total)
  • better-search.php >> line 399

    function get_bsearch_excerpt($content){
    $output = strip_tags($content);
    /* adding this to replace shortcodes */
    $output = preg_replace(‘/\[.*\]/’, ”, $output);

    Plugin Author Ajay

    @ajay

    Thank you. I’ll add this into the next version.

    hello
    i would like to bring my search results as a heading with an underline and only 2 lines of content(how can i limit the contents listed after the heading) also i would like to remove the short code from the desciptive content
    please provide me with a solution

    Some thing like this
    Hai i am heelo

    hai i am heelo from india ,Lorem Ipsum dolor sit amet,Lorem Ipsum dolor sit amet,Lorem Ipsum dolor sit amet,Lorem Ipsum dolor sit amet,Lorem Ipsum….

    Thank you

    hello
    i would like ask for one more help,how to leave some space in between the search results
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Better Search] Stop displaying shortcodes’ is closed to new replies.