Trevor
Forum Replies Created
-
Trevor in reply to:
How to integration with theme(Private) April 5, 2016 at 11:50 am #41656This issue is caused by a horizontal rule being added between each post. If you have no way to remove it, this custom CSS will do it:
.search-filter-results hr {display: none;}
Do you also want the images in circles?
Trevor in reply to:
Turn off / Ignore Results per page setting(Private) April 5, 2016 at 9:41 am #41633This reply has been marked as private.Trevor in reply to:
Local works, remote doesn't(Private) April 5, 2016 at 9:35 am #41631Ah, OK. Sometimes this process doesn’t copy the search from correctly. Can you re-make the form in the live page, from new?
Trevor in reply to:
Local works, remote doesn't(Private) April 5, 2016 at 9:01 am #41628So you made the search form anew by hand entering the settings on local and live, you did not copy the form electronically from local to live?
Trevor in reply to:
Turn off / Ignore Results per page setting(Private) April 5, 2016 at 8:57 am #41626I have no idea if your code is roughly correct, but it is not semantically correct.
It would look like this to be correct from a PHP point of view, I think:
<?php function results_map_filter( $results_map_args, $sfid ) { if($sfid==1530) { $results_map = get_posts( $results_map_args ); if (have_posts() ) { $results_map_args = array( 'post_type' => 'posttype', 'posts_per_page' => -1, 'post_status' => 'publish', 'cache_results' => true, 'no_found_rows' => true ); } return $results_map_args; } add_filter( 'sf_edit_query_args', 'results_map_filter', 10, 2 ); ?>
You would use this in your child theme functions.php file, which should already have the opening PHP tag
<?php
, so you wouldn’t need that from the code, and it is NOT normal to close the PHP tags?>
at the end of the functions.php file as this can cause a site to crash.I could well be wrong with the code though.
Trevor in reply to:
How to integration with theme(Private) April 5, 2016 at 8:32 am #41624Chances are that all you need is a small amount of custom CSS to achieve your goal. You would need to share a live link to a populated results page for me to look at.
Trevor in reply to:
Local works, remote doesn't(Private) April 5, 2016 at 8:30 am #41623Did you clone or copy the site from local to live, and if you did, what tool/plugin/method did you use?
Trevor in reply to:
I am not able to get it work(Private) April 5, 2016 at 8:02 am #41618You can, at the bottom of the editor you can set the reply to private.
Trevor in reply to:
Ultimatum / Search Results Page / Lightbulb Moment(Private) April 5, 2016 at 8:00 am #41617That might be an idea, OK. Use a private reply.
Trevor in reply to:
Just purchased pro, can't download(Private) April 4, 2016 at 10:42 pm #41595Let me know how you get on.
-
AuthorPosts