-
AuthorPosts
-
March 21, 2022 at 3:35 pm #1345362
Hello,
How can I make category page in my site to look like masonry grid?
I’ve already found a number of threads talking about whether or not this is possible, but I didn’t get to any good results.
I have put in my child theme this file:
archive.phpThen, I changed this part:
$blog = new avia_post_slider($atts);
$blog->query_entries();
$output .= $blog->html();
To:
$blog = new avia_masonry($atts);
$blog->extract_terms();
$blog->query_entries();
$output .= $blog->html();But after all that, the category page has broke down.
Please note that I set blog grid layout in the theme options.
I will provide you a site link, and credentials to you can login in private content.Best regards,
March 22, 2022 at 4:29 am #1345433Hey Ahmad,
Thank you for the inquiry.
Try to use the following code in place of the previous one.
$masonry = new avia_masonry( $atts ); $masonry->extract_terms(); $masonry->query_entries(); $masonry->get_element_styles(); $output .= $masonry->html();
We just added this line to apply the proper styling for the element.
$masonry->get_element_styles();
Best regards,
IsmaelMarch 22, 2022 at 10:17 pm #1345591Hello,
Thank you for your response,
but it is not working, as you can see:
Any idea?
Regards,
- This reply was modified 2 years, 9 months ago by Tello.
March 23, 2022 at 7:09 am #1345611Hi Tello,
We have updated your site.
Please review your site/category pages.Best regards,
NikkoMarch 23, 2022 at 3:05 pm #1345689Yes, it is works.
Thank you very much.BUT
Try to use any filter, they didn’t work.
March 27, 2022 at 1:08 pm #1346197Any solution for this problem ?
March 28, 2022 at 4:54 am #1346256Hi Tello,
I apologize for the delayed response.
I have checked on it however those filters are from a third-party plugin, you will most likely need to hire some developer in order to write codes to connect those filters with the Enfold’s masonry which unfortunately, is outside the scope of our support.Best regards,
NikkoApril 11, 2022 at 12:41 am #1347878Hello,
I really appreciate your help.
But I did not benefit because the filters no longer work and this is beyond the scope of your support as you told meSo, I have put everything back as it was, but when I use one of the filters
The footer disappears and the results appear repeatedly, as you can see:
You can try it by yourself.Do you have an idea why this thing is happening?
Thank you
Regards,April 13, 2022 at 1:54 pm #1348248Any response?
April 14, 2022 at 6:10 pm #1348440Hi Tello,
I apologize for the delayed response, I have checked your site again and it seems to be an issue with Filter Everything PRO plugin.
I’m not really familiar with the plugin but it does not seem to reset the query after it queries which causes issue with Enfold’s footer page.Best regards,
NikkoApril 16, 2022 at 12:42 am #1348526So, what should I do?
April 16, 2022 at 4:34 pm #1348564Hi Tello,
Can you try to setup a staging site? and provide us with both admin and FTP access for the staging site.
It’s beyond the scope of our support but we’ll try to check further if we can provide some help.Best regards,
NikkoApril 16, 2022 at 10:40 pm #1348585Thank you very much for your help.
It is already a staging site.
You can do whatever you want in it.I will provide you with both admin and FTP access in private content.
Thank you.
April 20, 2022 at 2:17 pm #1348936Any new response?
April 23, 2022 at 3:54 pm #1349225I have solved the problem.
I have changed the footer to a widgets columns instead of page.
Thank you.April 25, 2022 at 5:43 pm #1349433 -
AuthorPosts
- The topic ‘How to change category page to look like masonry grid?’ is closed to new replies.