• Resolved thinkkonzept

    (@thinkkonzept)


    Hi
    In my invoices my company logo doesnt show.
    I have already read through a couple answers here but nothing helped.
    I have the latest version of your free option.
    My picture is .png, RGB colors and a size of 300×43 px
    and i just added the following code to my functions.php:
    if ( ! function_exists(‘yith_ywpi_company_image_path_call_back’ ) ) {

    function yith_ywpi_company_image_path_call_back($company_logo_path)
    {

    $uploads = wp_upload_dir();

    $array_company_logo_path = explode(“uploads”, $company_logo_path);

    return $uploads[‘basedir’] . $array_company_logo_path[1];

    }

    add_filter(‘yith_ywpi_company_image_path’, ‘yith_ywpi_company_image_path_call_back’, 10, 1);
    }

    Do you knwo what else may cause the problem?

    best regards
    Stuart

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter thinkkonzept

    (@thinkkonzept)

    never mind. I just fixed it. Thanks anyways

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    hope you are doing well! ??

    We are glad you solved the problem! We are going to solve this topic.

    If you have any doubt, let us know please, we will be happy to help you.

    Have a nice day!

    • This reply was modified 5 years, 5 months ago by YITHEMES.

    Company logo is not showing. I have also added the above code to my functions.php problem still there.

    please help me to out of this.

    (@thinkkonzept Please how did you solve it? Kindly post here to help other. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No Show of Company Logo’ is closed to new replies.