Tagged: enfold masonry
-
AuthorPosts
-
August 2, 2017 at 6:05 pm #833579
Hi,
the Enfold Masonry Element does not care about the selected Category filter.
All found entries are displayed, instead of only the Elements of the Group “Category” and the selected category entry.Regards,
MichaelAugust 8, 2017 at 11:17 am #835785Hey zwachm,
Thank you for using Enfold.
Please provide a link to the site so that we can inspect it. And make sure that site is running on the latest version of the theme, 4.1.2.
Best regards,
IsmaelAugust 8, 2017 at 6:34 pm #835987Hi,
at the moment it cannot be seen on my test site, since I have changed the Code to make it work.
My changes are within the file
/theme/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php
and disabled the following part:public function query_entries($params = array(), $ajax = false) /* if(!empty($valid_terms)) { $terms = $valid_terms; $this->atts['categories'] = implode(",", $terms); } else { $terms = $avialable_terms; $this->atts['categories'] = implode(",", $terms); } */
I am running enfold 4.1.2.
Do you want me to disable this code change and give you a Login?
Regards,
MichaelAugust 9, 2017 at 9:14 am #836239Hi,
Yes, please revert the changes to the code and provide the WP and FTP login credentials. We would like to check it.
Best regards,
IsmaelAugust 9, 2017 at 10:39 am #836265Hi,
of course, thank you for your help!
Regards,
MichaelAugust 9, 2017 at 10:44 am #836266P.S. the code in enfold file
config-templatebuilder/avia-shortcodes/av-helper-masonry.php
is changed back to the original code!August 10, 2017 at 9:24 am #836836Hi,
Thank you for the info. I created a test page with the masonry element and selected “Archiv” which contains 12 posts. It is working properly.
Best regards,
IsmaelAugust 10, 2017 at 9:59 am #836867Hi Ismael,
thank you for working on my mansonry problem.
Archiv is the only Category, I do not really use.
So my experience (the issue) is caused, if I select an hierarchical “sub”-category,
like “LFV Kärnten” or “LFV Niederösterreich”, which is located below the cateogry “Landesverbände”.So I did change your page a little bit, to get one mansonry with “LFV Kärnten”, which sould
not display a post (because no posts in that cat) – and does display all.
And a second mansonry for category “LFV Niederösterreich”, which also displays all posts.I also changed the Sorting to “no, do not display sort options”.
Please would you be so kind and take a look again?
http://obfv.log2track.com/test-2/Thank you,
Regards,
MichaelAugust 12, 2017 at 3:54 am #837700Hi,
Thank you for the update.
I can’t reproduce the issue on my local installation so it’s probably related to a plugin or a specific settings in your server. Please post the FTP details here so that we can inspect it thoroughly. If possible, please ask your hosting provider for the latest error logs.
Best regards,
IsmaelAugust 14, 2017 at 10:40 am #838531Hi Simael,
thank you for your answer. Strange. I am not Aware of any hook, influencing this…
It would be great if you could take a look …Best regards,
MichaelAugust 14, 2017 at 12:42 pm #838612Hi,
Thank you for the update.
We modified line 630:
$allTax = get_terms( $params['taxonomy'], 'hide_empty=0');
By default, the theme displays posts from every category term if the selected category term is empty.
Best regards,
IsmaelAugust 14, 2017 at 9:02 pm #838948Hi Ismael,
thank you for your analysis ant this solution!
So, was there a general problem in the code? If yes, will this solution be part of the next theme upadate?Regards,
MichaelAugust 14, 2017 at 9:05 pm #838951P.S. or maybe a setting in the masonry element would be great to control the behavior…
Thank you in advance,
Regards,
MichaelAugust 15, 2017 at 5:13 pm #839421Hi Michael,
If this was not done in a child theme, the changes may be lost. So mark them and copy them somewhere.
Please feel free to request – or vote if already requested – such feature on Enfold feature request form.
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.