How Can We Help?
Some features seem to have stopped working in the author grid. The grid uses the masonry and images loaded plugins that are installed with WordPress.
There are two ways to deal with this. (Please note that if you have more than one author grid with different settings, you will need some more advanced solutions)
The gutter option may not be working.
If you only have one author grid, or if all of your author grids will have the same settings, it’s very simple to add some margins to your grid items using css.
.guest-author-grid .itemSelector {
margin-left: 25px;
margin-right: 25px;
}
This plugin generates javascript at runtime. In some cases, javascript can not be generated. This may be the case for twenty twenty + themes.
You can add your own javascript using a plugin or a custom theme.
Click here to see the available optons
Please note that there is no guarantee that this will work with your theme.
jQuery(document).ready(function($) {
$(‘.guest-author-grid’).masonry({
// options
itemSelector: ‘.itemSelector’,
columnWidth: 1,
gutter: 15,
transitionDuration: 0,
});
$(‘.guest-author-grid’).imagesLoaded(function() {
$(‘.guest-author-grid’).masonry(‘layout’);
});
});