Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1282326


    I’m using a combination of enfold, woocommerce and ultimate member.

    I have 2 different categories of users, each of them can see different types of products i nthe shop. For this reason, there are products that only can be seen by user type1, others by user type2 and others by both. To do so, I use the Ultimate member capabilities to show/hide post/entries/produts… by user type.

    The problem comes when I display the products with the masonry, because it displays all the products doesn’t matter the user type is log in.

    Can someone give me any advise with this matter?

    Thank you in advance


    Hey AFDCO,

    Thank you for the inquiry.

    We are not really sure how the plugin hides the content for a specific user role, but you might be able to use the “avf_masonry_loop_prepare” to adjust the markup of the masonry items and wrap it inside the UM shortcode as shown in their documentation.


    We cannot guarantee that this will work though.

    If the plugin is altering the post or product query, we might be able to use the avia_masonry_entries_query to adjust the default query of the masonry element and only include the items that the current user should see. Unfortunately, we are not really sure how the plugin handles this, so additional assistance from the plugin developers may be needed.

    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.