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.
Thread Starter
vopisk
(@vopisk)
Added this:
if (settings.imgLogo)
html += <code></code><code><img src="${settings.imgLogo}" /></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.