Masonry is a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall.

learn more… | top users | synonyms

0
votes
0answers
29 views

recent posts grid using isotope

I'm trying to match this mockup for recent posts on a home page. I've gotten close but the grid items aren't positioning correctly and the bottom one is partially hidden: ...
0
votes
2answers
33 views

Using Masonry - How to make every Xth post thumbnail image span multiple columns?

To be specific: I'm using Masonry to show all posts within a certain category Thumbnail images for each post are shown on the category page in a 3-column format using CSS fluid width columns I need ...
0
votes
1answer
25 views

Only output function from functions.php if conditional tag is true

I am using Masonry (included in WP 3.9) in my childe theme. I followed this tutorial. In their code for functions.php they use conditional statement: if ( ! is_admin() ) : function ...
0
votes
2answers
65 views

Masonry imagesLoaded javascript error

After enqueing scripts as per WP codex and WP Beginner tutorial the site has a Javascript error: Uncaught ReferenceError: imagesLoaded is not defined Many others also have this problem. Link: ...
0
votes
0answers
75 views

Posts Overlap and Not in Column Format - How to Append Masonry + Infinite Scroll (no plugin)

Using Wordpress, I have manually installed Masonry and paulirish's Infinite Scroll code. Masonry works and Infinite Scroll works, but having issues with them together when the next posts load. I have ...
0
votes
0answers
68 views

How to add an empty entry to masonry?

I am using masonry js library for display posts in my wp installation. The problem with it is that you cannot really add anything between posts entries because absolute positioning is used. So either ...
2
votes
2answers
68 views

How to stop PHP code running when in a child theme

I understand you can add extra CSS on top of the parent theme, but how do you remove PHP code from functions.php? I want to remove the Masonry plugin in twentyfourteen theme, and have located the ...
0
votes
0answers
426 views

jQuery infinite scroll and pagination styling in wordpress

I am building a wordpress theme with Masonry (Desandro) and Infinitescroll (Paul Irish). In my index.php for masonry loop I have written:- <?php $recentPosts = new ...
0
votes
1answer
178 views

Masonry Append WordPress posts with singleMode

I'm using Masonry on a Wordpress site, to display posts from a custom post type (training_videos). As all the columns are the same width im using the singleMode = true option. The site is a ...
0
votes
0answers
124 views

Infinite Scroll Masonry triggered by pagination not working

I'm triggering more posts in my Masonry layout when a user hits the bottom of the page. The JS sends a count each time this happens and I'm using that as my 'paged' argument. However I'm getting ...
0
votes
1answer
169 views

display recent posts with thumbnail within masonary

On a page-template, I need to display recent 10 posts. So I tried to use, wp_get_recent_posts, found here in the codex, which I think is an appropriate hook for the purpose.The rest of the code is ...
0
votes
0answers
89 views

Masonry and infinite scroll child theme

I have a question about masonry and infinite scroll plugin by Jetpack. I've added in my function.php file this code: function mason_script() { wp_enqueue_script( 'jquery-masonry' );} add_action( ...
1
vote
1answer
963 views

Masonry and Jetpack Infinite Scroll - overlap issue

I am trying to implement infinite scroll with Masonry on my archive pages on my theme and I have a couple of issues: 1) The "Load more posts" button is hidden behind the initial posts when you first ...
0
votes
0answers
997 views

Load more posts with Ajax and masonry

I'm using this method to load more posts with Ajax: http://www.problogdesign.com/wordpress/load-next-wordpress-posts-with-ajax/ I'm also using masonry for the posts layout. Masonry works fine for ...
0
votes
0answers
54 views

Add permalink to dynamically added javascript content

This is not exactly a wordpress specific question, but I thought the people here would have the right experience to answer it. I'm using the masonry core script which is generating divs around my img ...
1
vote
3answers
109 views

Update: I cant enqueue any core scripts. Masonry wont load with enqueue handle, Wordpress 3.6.

I'm trying to load masonry but I'm having no luck, I've managed to load it manually but then I realised it was included in the wordpress core, so I thought oh that's handy. I have it enqueue' (I ...
-1
votes
2answers
576 views

Why isn't wp_enqueue_script('jquery-masonry') working?

I'm trying to add masonry sript to my site, but wp_enqueue_script('jquery-masonry'); is not adding the script. Instead I have to use: wp_register_script('jquery_masonry', includes_url(). ...