• Hello,

    My customer has a Sex Shop website.
    He is selling adult toys and he don’t want someone who enters site see this picture.

    Is there a way or a pluging can do this,
    Replace all picture with a one picture for example +18warning.jpg
    And if customer logins the website, then customer can see all picture without censor.

    • This topic was modified 9 years, 2 months ago by chantage.
Viewing 1 replies (of 1 total)
  • Review this code as a starting point:
    http://pastebin.com/TZaUnJBh

    The intention was to use the company logo for any products which didn’t have an image set. You would need to refactor it a bit and use a
    if ( !is_user_logged_in() ) {
    (in place of the has_post_thumbnail test) to check whether the current user was logged in.

Viewing 1 replies (of 1 total)

The topic ‘Replace Product Pic Until Login’ is closed to new replies.