Hi, I am trying to display a custom message if there is no post in a Masonry gallery.
Any ideas?
Regards.
Jean
Hey Jean,
Like the post has been deleted? OR how is that? Could you explain a bit?
Best regards,
Victoria
Hi, I would like to display a custom text in case a Masonry gallery that displays items no longer contains it (release date ended).
It is a message of waiting, articles will be present later.
Regards.
Jean
Hi Jean,
You could make changes in the av-masonry-helper in avia_masonry class, but you need to make those changes is a child theme. This is the function where you could make your changes:
function html()
{
if(empty($this->loop)) return;
If you need further assistance please let us know.
Best regards,
Victoria
Thank you very much Victoria for your reply but I am not a PHP developer just a webdesigner, I do not know what to do in this file with this code.
Can you give me an example?
Regards.
Jean
Hi Jean,
I’m afraid this kind of customization is out of scope of our support. You could hire a freelancer to do it for you.
Or you can do it manually. Have a text block with some text, when you get posts for masonry, you add masonry.
If you need further assistance please let us know.
Best regards,
Victoria