4 Responses

  1. guyom
    guyom June 15, 2015 at 23:04 | | Reply

    Hi Juana!
    Thank you for this post, but I didn’t manage to set up masonry correctly. Isn’t there a mistake on the name of your script in first step?

    On the first step, you wrote this:
    wp_enqueue_script(‘scripts’, get_template_directory_uri().’/js/scripts.js’, array(), ‘1.0.0’);

    And according to the second step, the js file should be named “script.js” (singular).

    Nevertheless, no post are displayed on my front page.

  2. Vikas
    Vikas June 18, 2015 at 12:35 | | Reply

    I prefer using isotope to masonry. The only benefit of using masonry is in it’s licensing. Masonry is under the MIT license, but Isotope is only free for personal use.

  3. Gail K.
    Gail K. May 2, 2016 at 13:16 | | Reply

    Juana, I am attempting to add your code according to your instructions, but where does the code in Step 3 go? I want the posts on pages based on my index.html template to use the grid format.

  4. Neil
    Neil October 16, 2018 at 11:54 | | Reply

Leave a Reply