Forums › Forums › Search & Filter Pro › Customizing search results display not working
- This topic has 21 replies, 2 voices, and was last updated 10 years, 10 months ago by
Anonymous.
-
Ross Moderator(Private) October 19, 2014 at 3:23 pm #6150
Thanks for the info will should be able to sort tomorrow now!
Ross
Ross Moderator(Private) October 25, 2014 at 8:31 pm #6487Hey Manas apologies, I will take care of this on Monday ๐
Ross Moderator(Private) October 28, 2014 at 11:35 am #6560I had a cancelled flight back to the UK yesterday so have only just made it home now, working through support as we speak
Ross Moderator(Private) October 31, 2014 at 6:21 pm #6788Hey Manas
Just finishing an update which may help with your issues… I’ll be pushing it live tonight / over the weekend, once thats live I’ll login and see what I can do.
I know I’ve stalled you quite a bit but there have been various complications and writing a fix into an update is no quick matter.
Will keep you updated.
Thanks
Ross Moderator(Private) November 4, 2014 at 1:30 pm #6997Hey Manas
Just had a look.
The two problems you are experiencing are not to do with the plugin directly. I’ll answer below:
1. Display: the display of search results is not showing up as a grid. This is the blog page: beta.trycompass.cf/mentors, which does show up as a grid. I have added custom css to make it show as a grid, in case that matters. (I changed the theme again).
Customising your search results layout is out of scope of support for the plugin (I cannot setup everyones themes for them) however I will point you in the right direction. You must follow the instructions here:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/#docs-new-ajax
You must copy the template from Search & Filter plugin folder, to your theme, then you can modifyresults.php
to display as a grid.2. The search results show up only for admins. If you sign in with the admin credentials above, the search results show up properly (though not in a grid.) But if you sign in as an ordinary user, the front page shows up instead, which is really weird.
The plugin does not do anything to do with showing/hiding results as an admin, however this is a problem I have come across with Ajax in general and WordPress sites I have developed. Basically, the correct way to use Ajax with WP (in general) is to use this url:
www.yoursite.com/wp-admin/admin-ajax.php
– which this plugin uses – however some WP filters etc consider this an admin page.Do you have any custom scripts/plugins/filters which restrict access to the admin pages? I think they are being too greedy and “protecting” the WP Ajax url – which they should not.
Hope that helps!
Thanks
Ross -
AuthorPosts