Trevor

Forum Replies Created

Viewing 10 posts - 31,771 through 31,780 (of 32,056 total)
  • Trevor in reply to:
    How to integration with theme
    #41656

    This 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
    #41633
    This reply has been marked as private.
    Trevor in reply to:
    Local works, remote doesn't
    #41631

    Ah, 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
    #41628

    So 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
    #41626

    I 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
    #41624

    Chances 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
    #41623

    Did 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
    #41618

    You can, at the bottom of the editor you can set the reply to private.

    Trevor in reply to:
    Ultimatum / Search Results Page / Lightbulb Moment
    #41617

    That might be an idea, OK. Use a private reply.

    Trevor in reply to:
    Just purchased pro, can't download
    #41595

    Let me know how you get on.

Viewing 10 posts - 31,771 through 31,780 (of 32,056 total)