• Resolved clancel

    (@clancel)


    Hi. I wish to change the default Event Banner in the event that there is no event banner uploaded. Is there a way to upload your own event banner?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @clancel

    You can change the default image by providing a custom image path in the default image filter. Please update your image path in the below code

    function example_callback( $default_img_path ) {
        // Maybe modify $default_img_path  in some way.
        return 'PUT YOUR CUSTOM IMAGE  PATH HERE';
    }
    add_filter( 'event_manager_default_organizer_logo', 'example_callback' );

    Regards,
    Priya

    Thread Starter clancel

    (@clancel)

    Thank you for your reply. What is a custom image path? How do you get the code for the custom image path? I tried the slug from the Media but it’s not working. Can you advise? Thank you.

    Hi @clancel

    Customer image path you is path of your image which you would like to replace with our placeholder image.

    Thank you

    Thread Starter clancel

    (@clancel)

    I understand but how do I get the code for it?

    Hi @clancel

    You will get the path from your Directory.

    Regards,
    Priya

    • This reply was modified 4 years, 6 months ago by Priya Goenka.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Default WP Event Banner’ is closed to new replies.