Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vopisk

    (@vopisk)

    Added this:

    if (settings.imgLogo)
            html += <code></code><code><img src=&quot;${settings.imgLogo}&quot; /></code><code></code>;

    At line 74 of /dispensary-age-verification/public/js/dispensary-age-verification-public.js

    Fixed the problem and placed the logo at the top of the age verification box.

    • This reply was modified 8 years, 9 months ago by vopisk.
    • This reply was modified 8 years, 9 months ago by vopisk.
    • This reply was modified 8 years, 9 months ago by vopisk.
    • This reply was modified 8 years, 9 months ago by vopisk.
    Thread Starter vopisk

    (@vopisk)

    Adding this

    if (settings.imgLogo)
            html += '<img src="${settings.imgLogo}" />';

    at line 74 in file /wp-content/plugins/dispensary-age-verification/public/js/dispensary-age-verification-public.js

    added the logo nice and neat.

    Note: single-quotes above are actually backtick characters in the code.

    • This reply was modified 8 years, 9 months ago by vopisk.
    • This reply was modified 8 years, 9 months ago by vopisk.
    Plugin Author Robert DeVore

    (@deviodigital)

    Thanks for letting me know about this. The code was added in a previous version and then somehow got removed in one of the subsequent updates.

    It’s been updated and is in the process of being prepped for release, so I’m going to mark this thread as resolved.

    Thanks for using my plugin(s), I appreciate it!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘No Logo?’ is closed to new replies.