Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2563791
Option none picture
Closed

Comments

  • Zydrunas started the conversation

    We would like to set up Option None to have a custom picture instead of a space filler picture.

  •  767
    Janilyn replied

    Hi Zydrunas,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Zydrunas,

    Please add below function to current-theme (or child-theme) / functions.php

    add_filter( 'wooco_option_none_img_src', 'wooco_change_option_none_img', 99 );
    add_filter( 'wooco_option_none_img_full', 'wooco_change_option_none_img', 99 );
    function wooco_change_option_none_img( $img ) {
        return 'new-image-link.jpg';
    }

    Best regards,
    Dustin