Forums › Forums › Search & Filter Pro › class-search-filter-display-shortcode.php
- This topic has 5 replies, 2 voices, and was last updated 8 years, 1 month ago by Trevor.
-
Anonymous(Private) September 22, 2016 at 7:25 am #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(Private) September 22, 2016 at 9:33 am #59441Editing 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:
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(Private) September 22, 2016 at 10:57 am #59484hi 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
-
AuthorPosts