Forums Forums Search & Filter Pro i want to get the current sfid

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #213336

    i want to get the current sfid

    Trevor
    #213337

    You need to be able to detect it? I am not sure what you are asking.

    Anonymous
    #213402

    i use the shortcode to display my result, and in the shortcode I use the next code

    $sf_current_query = $searchandfilter->get( 1391 )->current_query();
    the get( 1391 ) is fixed ID….

    i need something like
    $sf_current_query = $searchandfilter->get( $sfid )->current_query();

    Trevor
    #213411

    You need to use the same code on different pages with many different forms in just one PHP template? How many different forms are you using?

    are you using more than one form on a single page?

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