Forums Forums Search & Filter Pro Trying to edit results.php to show results in grid

Tagged: ,

Viewing 10 posts - 11 through 20 (of 29 total)
  • Anonymous
    #48768

    Thank you very much!! It was GREAT speaking with you!! You have been a tremendous help!

    I checked out the link, and I would put that code in a JS file, or should I put that in the functions.php?

    That is where I can getting hung up on, now.

    (I know I can’t just copy/paste is that expect it to work, but once I get it working, I will post it here, for others to use 🙂

    Thank you again!

    Trevor
    #48769

    It needs to be loaded as custom js into your page header. Some themes have a setting where you can do this (inside script tags), or you can put the needed js inside a file and enqueue it from the theme functions.php. Let us say that you put it in a file called my_sandf_reloader.js and that file was also in the same folder as the theme functions.php file, the enqueue code to put in that functions.php file would be like this:

    add_action('wp_enqueue_scripts','my_sandf_reloader',100);
    function my_sandf_reloader(){
      wp_register_script( 'my_sandf_reloader_js', get_stylesheet_directory_uri().'/my_sandf_reloader.js', array('jquery'), '1.0.0', true );
      wp_enqueue_script( 'my_sandf_reloader_js' );
    }
    
    Anonymous
    #48770

    ok, totally lost.. Not sure how to reload the js script

    Anonymous
    #48774

    Just saw you response..
    Will implement, and comeback with results

    THANK YOU!

    Anonymous
    #48780
    This reply has been marked as private.
    Trevor
    #48784

    How did you call the masonry file into the page before?

    What I meant was to put the code that you need from the FAQ page of ours into a file called ….

    And the call that from the functions file to load it to the page.

    Call me on Skype (make it quick as I have to go out).

    Anonymous
    #48798

    OK, I have tried this, and it isn’t working…
    I created a js file, saved it in the same directory, and added that code into the functions.php, and it isn’t working 🙁

    Anonymous
    #49044
    This reply has been marked as private.
    Trevor
    #49046

    I am waiting for our ‘meeting’ to happen so we can trawl through your issue. We spoke briefly this morning, but I do not have a meeting time yet.

    Anonymous
    #49090
    This reply has been marked as private.
Viewing 10 posts - 11 through 20 (of 29 total)