Forums › Forums › Search & Filter Pro › Little improvements
Tagged: Improvents
- This topic has 6 replies, 2 voices, and was last updated 6 years, 2 months ago by Trevor.
-
Anonymous(Private) September 13, 2018 at 1:18 pm #188314
Dear Trevor,
I need your help again. You helped me in this topic before:
http://demo.designsandcode.com/sfpro-movie-reviews/#support.searchandfilter.comMy page should more than your example:
http://demo.designsandcode.com/sfpro-movie-reviews/#Could you tell me how can I:
– Delete the description “Page 1 of 1”. (All results should be displayed at one page, so I dont need this)
– The categories should not displayed again at the result area. How can I delete them at this area? Only name, logo and text should be displayed.
– The infinite scroll should be bigger (double size) How can I increase it?
– The description “Found 4 Results” should named “Found 4 Companies”
– The displayed results (the names of the companies) should not link to the Post-site. They should link to my individual site.Best regards and
thank you very much!
JensTrevor(Private) September 14, 2018 at 9:02 am #188385The shortcode display results method uses our exemplar template – results.php. The basic steps for customising the file are set here, but you would need to do the coding:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
In the main you would be deleting parts. Are you currently using an unmodified version of that file?
Trevor(Private) September 17, 2018 at 1:40 pm #188561You can replace the contents of the results.php with this:
<?php /** * Search & Filter Pro * * Sample Results Template * * @package Search_Filter * @author Ross Morsali * @link https://searchandfilter.com * @copyright 2018 Search & Filter * * Note: these templates are not full page templates, rather * just an encaspulation of the your results loop which should * be inserted in to other pages by using a shortcode - think * of it as a template part * * This template is an absolute base example showing you what * you can do, for more customisation see the WordPress docs * and using template tags - * * http://codex.wordpress.org/Template_Tags * */ if ( $query->have_posts() ) { ?> Found <?php echo $query->found_posts; ?> Companies<br /> <?php while ($query->have_posts()) { $query->the_post(); ?> <div> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <p><br /><?php the_excerpt(); ?></p> <?php if ( has_post_thumbnail() ) { echo '<p>'; the_post_thumbnail("small"); echo '</p>'; } ?> </div> <hr /> <?php } } else { echo "No Results Found"; } ?>
I am not sure what you mean by:
The infinite scroll should be bigger (double size) How can I increase it?
and also
The displayed results (the names of the companies) should not link to the Post-site. They should link to my individual site.
-
AuthorPosts