Portfolio lightbox not working


I understand that the images in the home page portfolio should open in a lightbox if I have installed the Jetpack plugin and activated Tiled Galleries? and/or Carousel? in Jetpack settings.

I have tried the method to fix this suggested in this thread: https://colorlibsupport.com/t/wp-tiles-and-shapely-issue/ but I just keep breaking my site and getting a syntax error. I added the full code in my child theme’s functions.php file, and I also tried it after find and replacing all shapely with shapely-child. I got a syntax error again.

I am not fluent in code.

Can you possibly help?

My site is http://www.tracyalgar.co.za

Many thanks,


Hi Tracy,

I hope you are well today and thanks for posting here.

I visited your shared site and saw that you are not using Shapely theme on your site.

Please advise.