I assume you mean that you are using the Shortcode Display Results method. Did you follow the Customising the Results documentation (so you have your own copy of the results.php file)?
If you did not, please do so. Edit the child theme copy of the results.php file to remove these lines (63-65):
<p><?php the_category(); ?></p>
<p><?php the_tags(); ?></p>
<p><small><?php the_date(); ?></small></p>
These 3 lines are for:
Category
Tags
Date
Ah, no. However, I think what you want is for it to look like the home page?
It will be necessary to custom code the results.php
I will pick this up tomorrow.
Great to speak with you Daniel. For now you are going to edit the results.php file to make it look like the other pages.
Hi
I looked in your child theme folder (it can be seen in Appearance -> Editor), and you need a folder in that child theme folder called:
search-filter
and not search-filter-pro
Directly inside that should be the results.php file.
AnonymousInactive
Hi,
I have installed and configured the Search&Filter Pro plugin.
I used shortcode option to show the results, but I need to make modifications in the template to adjust the results to my client’s design.
I have seen that the results are shown with the results.php file, in / wp-content / plugins / search-filter-pro / templates /.
I would need to modify the results.php file in the child theme of my page … is possible?
I tried to create the ‘search-filter-pro’ folder in my child theme, but the modifications don’t work.
Thank you very much.
I had another look at the form and your results.php file. You have changed the structure of the HTML used in that template, so I added the classes that appear to be correct in here:
Post / Result Selector: .WorkshopListing-item
Infinite Scroll Container: .WorkshopListing
It looks like your site is undergoing changes right now though, so I am unsure if it is safe to test?
I assume you mean that you are using the Shortcode Display Results method. Did you follow the Customising the Results documentation (so you have your own copy of the results.php file)?
If you did not, please do so. Edit the child theme copy of the results.php file to remove these lines (29-44):
Found <?php echo $query->found_posts; ?> Results<br />
Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
<div class="pagination">
<div class="nav-previous"><?php next_posts_link( 'Older posts', $query->max_num_pages ); ?></div>
<div class="nav-next"><?php previous_posts_link( 'Newer posts' ); ?></div>
<?php
/* example code for using the wp_pagenavi plugin */
if (function_exists('wp_pagenavi'))
{
echo "<br />";
wp_pagenavi( array( 'query' => $query ) );
}
?>
</div>
AnonymousInactive
Hi Trevor
This doesn’t work unfortunately. I know this is an external script so it’s not your job to fix it!
Just to check there’s not anything else I’m missing, where is this script supposed to go? In my scripts.js or in my custom search ‘results.php’?
AnonymousInactive
Hi Trevor,
I’m in the same position as Christie, using divi theme and looking for changes to the results.php file. Can you help me out? I’ve been trying to work out how to do this using other threads but many of the replies are private so I can’t piece it together.
See this link for my results URL showing the generic layout: http://stonecrft.wwwnlsrc2.supercp.com/fireside/
I’m looking to have a grid with three columns with each post displaying a featured image and the title below.
Any help would be appreciated.
P.S. My PHP knowledge is non-existant!
AnonymousInactive
I would like to customize my results.php to get another look. I would like it to look like the gallery page where the search form is at. I’m using the divi theme, can you help me out?