Forums Forums Search & Filter Pro class-search-filter-display-shortcode.php

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #59418

    hi!
    i’ve change that file to support my foundation 6 grid structure (not using ul and li )
    How can i mainten this code after updating this plugin ?

    changes are:

    line 640
    $returnvar .= “<div class=’row small-up-1 medium-up-3 large-up-6′>”;

    line 650
    $returnvar .= “</div>”;

    line 820
    $returnvar .= “<div class=\”column $field_class\” data-sf-field-name=\”$field_name\” data-sf-field-type=\””.$field_data[‘type’].”\” data-sf-field-input-type=\””.$input_type.”\””.$addAttributes.”>”;

    line 855
    $returnvar .= “</div>”;

    Trevor
    #59441

    Editing core files is not a good idea, as any updates will overwrite the changes. Are you trying to get the results to match your theme? If so, you should try to use the Shortcode results method, where the results are presented using a template called results.php

    Read about this here:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

    The advantage of doing this is that your copy of the results.php template is not overwritten by any updates of our plugin. And it is relatively easier to modify the HTML structure, content position, content types and CSS elements.

    Anonymous
    #59484

    hi trevor, nice to see you here also (i am ultimatum theme junky).

    i dont want to change the results page, just the search form

    i wanted it to be horizontal and also responsive on a ‘starter theme’ based on foundation.
    my solution works great i just wanted it to be permanent solution.

    it will be nice in the feutre to add this ability

    Trevor
    #59490

    Ah. And HI.

    It is something that we plan to add, but I am not sure when.

    Anonymous
    #59496

    is there a way to stop this plugin from recieving updates ?

    Trevor
    #59502

    You would have to use a plugin to do that, like Easy Updates Manager

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