To insert code use <code>...</code>.
Display featured image from video portfolio as 4 column gallery
  • I have a portfolio of videos which each have a featured image. If the user is logged in a role I have them display as a four column gallery which upon click opens in lightbox and plays correctly. However, if they are not logged in I want the image to display in a four column gallery like the other but when clicked it only opens the featured image so they can't see the video, but I want them to see the image of what they are missing. How do I do that?
  • 1 Comment sorted by
  • HI Brian

    I am assuming you are using a membership plugin of some sort? It should have an ability to set behaviors, what is displayed, etc. It seems to me that you most likely have to build two separate pages, one which they see if not logged in, and the other if logged in, and the membership plugin would set the state/condition depending on the login status.

    Striking does not have an if/then type of function for page visibility, and I am not aware of any wp theme that includes this native ability at this time. Traditionally it has been left to plugins such as s2membership, and so on.

    Best Regards
    Striking Team
    James