The Grid Classic Element (3.1 Beta 3)

Haven’t used The Grid (plugin) for a while but am using one on an upcoming project.

The issue seems to arise if you only have one grid set up.

If I paste the short code into a raw or text element the grid works fine.

If there is only one grid and I use the classic grid element the grid does not work. On the frontend I get the message “No Grid was found for: grid name”.

Hi @urchindesign,

Thanks for letting us know about this. I’ve tested it with the latest version of The Grid and I’m still seeing it work correctly on the front end even with a single grid. In the preview it doesn’t work, but that is intentional - we disabled it because there were numerous issues allowing The Grid to display properly in the live preview area.

Perhaps you want to look at the site?

I’m going to try and de-activate all the plugins and see if there is a conflict. It only happens if there is one grid and it is like that on the front-end. I understand that the preview does not show.

https://rrdtattoo.test-website.co.za/tattoo-artists/steve-buyskes/

So just to confirm I have deactivated everything except Pro and The Grid.

On the page the wording: “No grid was found for: Steve’s Gallery.” is from using the grid element.

The actual grid beneath that is using the shortcode in a raw code element.

It also works 100% fine if there are two grids created in the grid so that I can choose one of them from the select box.

I think I have found the issue… The Grid doesn’t seem to like the apostrophe in the name.

Anyway I haven’t delved into the code but the short code reference on the Grid General Options page is cut off after the apostrophe so perhaps something going on there or could just be a coincidence. Possibly not escaped properly or something.

Hi there,

I have verified this. I’m sorry for missing your previous message. It’s converting the apostrophe to an HTML entity when the page saves. This prevents The Grid from finding the correct item since it’s searching with a different title. Regretfully, I don’t have a way to fix this on our end since the Cornerstone element is bundled in The Grid plugin itself. We’ll see if there’s something we can do in partnering with their development team to fix it. For now, using a name without an apostrophe would be best. Unfortunately you will need to resave any pages where the element is present after doing that.

Thanks for getting back to me. Glad we have at least figured it out. For now I am not using the apostrophe in the name.

Ok, sounds good!