Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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,
    Michael

    #835785

    Hey 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,
    Ismael

    #835987

    Hi,

    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,
    Michael

    #836239

    Hi,

    Yes, please revert the changes to the code and provide the WP and FTP login credentials. We would like to check it.

    Best regards,
    Ismael

    #836265

    Hi,

    of course, thank you for your help!

    Regards,
    Michael

    #836266

    P.S. the code in enfold file
    config-templatebuilder/avia-shortcodes/av-helper-masonry.php
    is changed back to the original code!

    #836836

    Hi,

    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,
    Ismael

    #836867

    Hi 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,
    Michael

    #837700

    Hi,

    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,
    Ismael

    #838531

    Hi 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,
    Michael

    #838612

    Hi,

    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,
    Ismael

    #838948

    Hi 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,
    Michael

    #838951

    P.S. or maybe a setting in the masonry element would be great to control the behavior…

    Thank you in advance,
    Regards,
    Michael

    #839421

    Hi 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

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.