Forums › Forums › Search & Filter Pro › SF Pro doesn't work
- This topic has 65 replies, 3 voices, and was last updated 5 years, 2 months ago by Anonymous.
-
Anonymous(Private) August 7, 2019 at 2:16 pm #218363
ok now Child theme is activate,
An I have applicate your recommandation on line 30-31“‘search_filter_id’ => 347541”this is my line Lines 256-351 of page-tpl_search.php
<div class="filter-wrap" style="<?php echo wp_is_mobile() ? esc_attr( 'display: none;' ) : esc_attr( 'display: block' ); ?>"> <div class="white-block-content"> <h3><?php _e( 'Recherche:', 'compare' ); ?></h3> <div class="search-input">
where can i find do_shortcode function ?
Trevor(Private) August 7, 2019 at 2:24 pm #218369<div class="filter-wrap" style="<?php echo wp_is_mobile() ? esc_attr( 'display: none;' ) : esc_attr( 'display: block' ); ?>"> <?php echo do_shortcode('[searchandfilter id="347541"]');?> </div>
The clip you showed me is just the start of the block (it is nearly 100 lines long) to be removed. Make sure you download that file to your computer using ftp, edit it as told, and upload it to the child theme folder, NOT the original theme folder.
It is ALWAYS advised to make a full site (files and database) backup BEFORE making changes. There are WordPress plugins that can help you do these backups.
Anonymous(Private) August 7, 2019 at 2:28 pm #218373ok so I delete all line starting on 256-351 on my file and
and replace by this code :
& lt; div class = & quot; filter-wrap & quot; style = & quot; & php echo wp_is_mobile ()? esc_attr ('display: none;'): esc_attr ('display: block'); ? & gt; & quot; & gt; & lt;? php echo do_shortcode ('[searchandfilter id = "347541"]');? & gt; & lt; / div & gt;
and after i add my page-tpl_search.php in child theme folder ?
Is it correct ?
-
AuthorPosts