Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #446282

    Hi

    I would like to add some S2member conditional code to the masonry elements for products so the price is only shown to people who are logged into the site.

    Please could you let me know where I can find the code for the masonry elements.

    Thanks

    Clyde

    #446529

    Hi Clyde!

    You can use WordPress is_user_logged_in condition – https://codex.wordpress.org/Function_Reference/is_user_logged_in

    Best regards,
    Yigit

    #446549

    Hi Thanks

    I know what code to use, I just need to know where the code for the Masonry product display is please.

    Regards

    Clyde Thomas

    #447770

    Hey!

    Please go to Enfold/config-templatebuilder/avia-shortcodes folder and edit masonry_entries.php file

    Cheers!
    Yigit

    #447773

    Hi!

    Thank you for coming back.

    I’m not sure, what element you are using but the code for the elements you find in:

    themes\enfold\config-templatebuilder\avia-shortcodes\

    Look into the files like:

    masonry_entries.php
    product_grid.php
    productslider.php

    If you do not find, what you are looking for, can you give us a link to this page please? Then we can check and give you the correct file.

    Cheers!
    Günter

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