Forums Forums Search & Filter Pro Shortcodes in results

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #132328

    Hello,

    I’m using a shortcode to display the search and filter results.

    However, the output which is shown in the results also has shortcodes in. Is there a setting, or a bit of additional code to allow for processing of shortcodes within results?

    The example is that the results shown include some [audio][/audio] shortcodes, but they’re just being outputted rather than being processed.

    Thank you!
    Steph

    Trevor
    #132329

    You would probably have to enclose the php that outputs the content inside a do_shortcode function.

    Anonymous
    #132331

    Hello,

    As I’m using a shortcode to output the results, I already have that, but it doesn’t seem to work for the results generated.

    I have:

    echo do_shortcode(‘[searchandfilter id=”851″ show=”results”]’);

    Trevor
    #132366

    How about running the do_shortcode within the results.php file is what I meant?

    Anonymous
    #132529

    ???? Forgot about that!

    Thank you, all sorted.

Viewing 5 posts - 1 through 5 (of 5 total)