Problem with displaying badge using shortcode in footer
-
Dear support,
at first, i appreciate your work. But everything does not work fine and i do not know how figure out what is wrong.
When i used generated shortcode ([trustindex data-widget-id=1353b1f66d8d777cee5c3ec363]) in footer of website rosesforyou.cz, inside Shortcode block, badge was not displayed. Was displayed nothing. So i added via free plugin Custom css and js to HEAD section script <script defer async src=’https://cdn.trustindex.io/loader.js’></script without specific end. But even with specific end <script defer async src=’https://cdn.trustindex.io/loader.js?1353b1f66d8d777cee5c3ec363′></script it started works. And then works plugin in Shortcode section. My question is, is neccessary to have loader.js in head section? But even with this addded JS loader in HEAD section was problem with popup. Popup was not displayed, only arrow on the bottom. On place where i added full link loader with specific number for plugin, it worked even with popup.
URL: https://www.rosesforyou.cz MySQL Version: 5.5.5 WP Table Prefix: rs_ WP Version: 5.9.3 Server Name: www.rosesforyou.cz Cookie Domain: www.rosesforyou.cz CURL Library Present: Yes CSS path: /home/u104537491/domains/rosesforyou.cz/public_html/wp-content/uploads/trustindex-google-widget.css PHP Info: Version: 7.4.26 Memory Usage: 42.02MB Memory Limit: 512M Max Upload Size: 512M Max Post Size: 512M Allow URL fopen: On Allow URL Include: Off Display Errors: Off Max Script Execution Time: 240 seconds WP_HTTP_BLOCK_EXTERNAL: not defined WP_ACCESSIBLE_HOSTS: not defined Plugin: Widgety pro recenze Google Plugin Version: 8.2.2 Options: active: 1 version: 8.2.2 page-details: Array ( [id] => ChIJ1_kx4dqNC0cR9meWN_Fgs1c [name] => ROSES FOR YOU [address] => Rezlerova 305/12, 109 00 Praha-Petrovice, Czechia [avatar_url] => https://lh5.googleusercontent.com/p/AF1QipO3mJRHnO1f6yxIG_RPTQnxAdE7QXBcVaSFAezN=w256-h256-k-no-p [rating_number] => 28 [rating_score] => 4.8 ) subscription-id: d7343542g proxy-check: style-id: 35 review-content: <div class="ti-widget" data-layout-id="35" data-set-id="" data-pid="b5167179c03e50ec942cb" > <div class="ti-widget-container"> <div class="ti-header source-%platform%" > <div class="ti-mob-row"> <span class="nowrap">P?e?těte si na?ich <strong>RATING_NUMBER hodnocení</strong></span> </div> <div class="ti-mob-row"> <span class="ti-stars"><span class="ti-star e"></span><span class="ti-star e"></span><span class="ti-star e"></span><span class="ti-star e"></span><span class="ti-star e"></span></span> PLATFORM_SMALL_LOGO </div> </div> <div id="ti-dropdown-widget" class="ti-dropdown-widget"> <div class="ti-dropdown-widget-inner"> <div class="ti-widget-container"> <p> Ka?dá recenze má sv?j osobní p?íběh. <a href="%footer_link%" target="_blank" rel="noopener"> ?íst a psát recenze </a> </p> </div> </div> </div> </div> </div> filter: scss-set: dark-contrast lang: cs no-rating-text: 0 dateformat: rate-us: verified-icon: 0 enable-animation: 1 show-arrows: 1 content-saved-to: 8.2.2 show-reviewers-photo: 1 download-timestamp: widget-setted-up: 1 disable-font: 1 show-logos: 1 show-stars: 1 load-css-inline: 0 align: amp-hidden-notification: Reviews: Array ( [0] => stdClass Object ( [id] => 1 [user] => Jakub Klou?ek [user_photo] => https://lh3.googleusercontent.com/a/AATXAJyn2aJ9xY7iEMxSpZjjrJvNiGDDnak9gOG4nrX0=s120-c-c-rp-w64-h64-mo-br100 [text] => Znovu a znovu jsem v?dy nadmíru spokojen. Vím, ?e květiny od Vás se v?dy setkají s nad?ením. V?dy ú?asny p?ístup. Jinde u? květiny nepo?izuji. [rating] => 5.0 [highlight] => [date] => 2022-04-02 ) [1] => stdClass Object ( [id] => 2 [user] => Simona Partíková [user_photo] => https://lh3.googleusercontent.com/a/AATXAJz1vg8xsPTPpr5XiLwgfcSNXo03_i1R8hlL9p9T=s120-c-c-rp-w64-h64-mo-br100 [text] => Super servis a dokonalá kytice?? 100%doporu?uji [rating] => 5.0 [highlight] => [date] => 2022-03-09 ) [2] => stdClass Object ( [id] => 3 [user] => Erik Chodor?uk [user_photo] => https://lh3.googleusercontent.com/a/AATXAJxlWnMpeLd6H2njkTWBIB1-cr_bwvVfkO2e3dESVg=s120-c-c-rp-w64-h64-mo-br100 [text] => [rating] => 5.0 [highlight] => [date] => 2022-03-08 ) [3] => stdClass Object ( [id] => 4 [user] => Натал?я Вербов?цька [user_photo] => https://lh3.googleusercontent.com/a-/AOh14Ght8tcG2d2LXdR5ic4V06LiLS0R46q0UBUf1nJI_Q=s120-c-c-rp-w64-h64-mo-br100 [text] => very good service, incredible flowers. thank you very much [rating] => 5.0 [highlight] => [date] => 2022-02-20 ) [4] => stdClass Object ( [id] => 5 [user] => Kristyna Parradová [user_photo] => https://lh3.googleusercontent.com/a/AATXAJwdePxAkgLUHLx0RrOIODe5pNaJjrXNhuKtSFR8=s120-c-c-rp-w64-h64-mo-br100 [text] => Nádherné r??e za skvělou cenu. Nechala jsem si vyrobit 65 ks kytici r??í a kytice byla skvostná. Opravdu doporu?uji!! [rating] => 5.0 [highlight] => [date] => 2022-02-12 ) [5] => stdClass Object ( [id] => 6 [user] => Martin Nedbal [user_photo] => https://lh3.googleusercontent.com/a/AATXAJyubU7SFAz7twV0yR985OLDQ7CbyVOroKbz9x4f=s120-c-c-rp-w64-h64-mo-br100 [text] => Bezkonkuren?ní r??e !!! Jestli chcete vykouzlit ?enám úsměv na tvá?i , tak Roses for you je skvělá volba !! [rating] => 5.0 [highlight] => [date] => 2021-12-01 ) [6] => stdClass Object ( [id] => 7 [user] => JP P [user_photo] => https://lh3.googleusercontent.com/a/AATXAJz0rkWi74w7Cii5veq2HAvCY7ue5sTaT7qHYSJC=s120-c-c-rp-w64-h64-mo-br100 [text] => [rating] => 5.0 [highlight] => [date] => 2021-11-25 ) [7] => stdClass Object ( [id] => 8 [user] => iren damcova [user_photo] => https://lh3.googleusercontent.com/a/AATXAJxlnXDZ2azGuNL8uME963uVwCQiMYr-J5Z3quTT=s120-c-c-rp-w64-h64-mo-br100 [text] => Skvělá firma,vyst?icnost,preciznost,citlivy pristup..V?E NA 1*.DOPORUCUJI [rating] => 5.0 [highlight] => [date] => 2021-11-25 ) [8] => stdClass Object ( [id] => 9 [user] => Nazar Borysevych [user_photo] => https://lh3.googleusercontent.com/a-/AOh14GhO64oNZ4OOzxXiRRDurhiZA3PEOqb53vuLBH_P=s120-c-c-rp-w64-h64-mo-ba4-br100 [text] => [rating] => 3.0 [highlight] => [date] => 2021-11-21 ) [9] => stdClass Object ( [id] => 10 [user] => Monika Havrankova [user_photo] => https://lh3.googleusercontent.com/a/AATXAJwNvoOxYmyKTVsAOG4sb5PxU7wzPD9YoXobd-wk=s120-c-c-rp-w64-h64-mo-br100 [text] => [rating] => 5.0 [highlight] => [date] => 2021-09-29 ) ) CSS: .ti-widget.ti-goog{width:100%;display:block;direction:ltr;overflow:visible;text-align:center;color:#000000;text-align:center}.ti-widget.ti-goog .ti-widget-container{margin:auto;display:inline-block}.ti-widget.ti-goog a{text-decoration:underline !important;transition:all 300ms ease-out;color:inherit}.ti-widget.ti-goog a.ti-header{text-decoration:none !important}.ti-widget.ti-goog a[href="#"],.ti-widget.ti-goog a:not([href]){text-decoration:none !important;pointer-events:none}.ti-widget.ti-goog:before,.ti-widget.ti-goog:after{content:none !important}.ti-widget.ti-goog strong,.ti-widget.ti-goog strong *{font-weight:700 !important;font-weight:bold !important}.ti-widget.ti-goog .ti-widget-container,.ti-widget.ti-goog .ti-widget-container *{font-family:inherit;font-size:13px;line-height:1.4em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ti-widget.ti-goog .ti-header{display:-ms-flexbox;display:flex;background-color:#ffffff;border:0 solid #ffffff;border-radius:4px;padding:15px;transition:all 0.3s ease-in-out;text-align:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#000000;-ms-flex-pack:center !important;justify-content:center !important}@media (min-width:480px){.ti-widget.ti-goog .ti-header:hover{-webkit-transform:translate(0px, -5px);-ms-transform:translate(0px, -5px);transform:translate(0px, -5px)}}.ti-widget.ti-goog .ti-header .nowrap{white-space:nowrap;display:inline-block;margin:0 3px;color:#000000}.ti-widget.ti-goog .ti-header span,.ti-widget.ti-goog .ti-header strong{font-size:13px;color:#000000 !important}.ti-widget.ti-goog .ti-header span{height:20px}.ti-widget.ti-goog .ti-header .ti-stars{margin:1px 3px 0px 3px;display:inline-block}.ti-widget.ti-goog .ti-header .ti-stars .ti-star{width:16px;height:16px;display:inline-block;margin-right:1px;background-repeat:no-repeat}.ti-widget.ti-goog .ti-mob-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;white-space:nowrap}.ti-widget.ti-goog .ti-mob-row p:empty{display:none}.ti-widget.ti-goog a.ti-header:hover{background-color:#f2f2f2;border-color:#f2f2f2}.ti-widget.ti-goog .ti-small-logo{vertical-align:middle;display:inline;line-height:1em}.ti-widget.ti-goog .ti-small-logo img{display:inline;width:auto;position:relative;margin-left:3px}.ti-widget.ti-goog .ti-separator:before{margin-left:5px;margin-right:5px;position:relative;top:-1px;display:inline-block;font-weight:normal;content:' | ';height:15px;opacity:0.6}.ti-widget .source-Google .ti-review-header:after{background-image:url("https://cdn.trustindex.io/assets/platform/Google/icon.svg");background-size:100% 100%}.ti-widget .source-Google .ti-star.f{background-image:url("https://cdn.trustindex.io/assets/platform/Google/star/f.svg")}.ti-widget .source-Google .ti-star.e{background-image:url("https://cdn.trustindex.io/assets/platform/Google/star/e.svg")}.ti-widget .source-Google .ti-star.h{background-image:url("https://cdn.trustindex.io/assets/platform/Google/star/h.svg")}.ti-widget .source-Google .ti-small-logo img{width:57px !important;height:18px !important;top:2px}.ti-widget .star-lg .ti-star{width:30px;height:30px}.ti-widget .ti-header .ti-star{width:20px;height:20px}.ti-widget.ti-goog.ti-no-logo .ti-review-header:after{background:none !important}.ti-widget.ti-goog.ti-no-stars .ti-review-item .ti-star.f{background-image:url('https://cdn.trustindex.io/assets/platform/Trustindex/star/f.svg') !important}.ti-widget.ti-goog.ti-no-stars .ti-review-item .ti-star.e{background-image:url('https://cdn.trustindex.io/assets/platform/Trustindex/star/e.svg') !important}.ti-widget.ti-goog.ti-no-stars .ti-review-item .ti-star.h{background-image:url('https://cdn.trustindex.io/assets/platform/Trustindex/star/h.svg') !important}.ti-widget.ti-goog.ti-no-stars .ti-review-item .ti-recommendation{display:none}.ti-widget.ti-goog.ti-no-stars .ti-review-item .ti-recommendation+.ti-dummy-stars{display:inline}.ti-widget.ti-goog{overflow:visible !important}.ti-widget.ti-goog .ti-review-item>.ti-inner{border-top-width:2px !important;border-bottom-width:2px !important;border-left-width:2px !important;border-right-width:2px !important;background-color:white !important;backdrop-filter:blur(0px)}.ti-widget.ti-goog>.ti-widget-container>.ti-header,.ti-widget.ti-goog>.ti-widget-container>.ti-footer{border-top-width:2px !important;border-bottom-width:2px !important;border-left-width:2px !important;border-right-width:2px !important;background-color:white !important;backdrop-filter:blur(0px)}.ti-widget.ti-goog{position:relative}.ti-widget.ti-goog:hover .ti-dropdown-widget{visibility:visible;opacity:1;transform:translate(0, 0)}.ti-widget.ti-goog .ti-header{-ms-flex-align:center !important;align-items:center !important}.ti-widget.ti-goog .ti-header:hover{-webkit-transform:unset;-ms-transform:unset;transform:unset}.ti-widget.ti-goog .ti-header .ti-stars-color{margin-left:5px}.ti-widget.ti-goog .ti-dropdown-widget{text-align:left !important;z-index:999999;position:absolute;max-width:500px;width:500px;left:50%;margin-left:-250px;transition:all 300ms ease-out;visibility:hidden;opacity:0;transform:translate(0, -10px);text-align:center}@media (max-width:479px){.ti-widget.ti-goog .ti-dropdown-widget{width:100%;left:0px}}@media (max-width:767px){.ti-widget.ti-goog .ti-dropdown-widget{max-width:100%;width:100%;left:0px;margin-left:0px}}.ti-widget.ti-goog .ti-dropdown-widget .ti-dropdown-widget-inner{background-color:#222 !important;color:#fff !important;position:relative;margin:auto;height:100%;box-shadow:0px 0px 40px 0px rgba(0, 0, 0, 0.1), 0px 0px 10px 0px rgba(0, 0, 0, 0.1);border-radius:4px;padding:20px}.ti-widget.ti-goog .ti-dropdown-widget .ti-dropdown-widget-inner:before{content:"";position:absolute;top:-8px;left:50%;width:0;height:0;border-style:solid;border-width:0 10px 10px 10px;border-color:transparent transparent #222 transparent}.ti-widget.ti-goog .ti-dropdown-widget .ti-dropdown-widget-inner p{text-align:center;margin:0px;font-size:inherit !important}.ti-widget.ti-goog .ti-dropdown-widget .ti-dropdown-widget-inner a{color:#ea7238 !important}.ti-widget.ti-goog .ti-dropdown-widget.active{opacity:1;display:block}.ti-widget.ti-goog .ti-dropdown-widget .ti-widget-container{display:block !important;color:#fff !important;margin-bottom:0px;height:100%;overflow:hidden}.ti-widget.ti-goog .ti-dropdown-widget .ti-widget-container *{color:#fff !important} Active Theme: Enfold 4.7.5 Plugins: Advanced Order Export For WooCommerce (3.2.2 - active) Asset CleanUp: Page Speed Booster (1.3.8.5 - active) Checkout Address AutoFill For WooCommerce Pro (2.1.1 - active) Different date time for different Pickup and Delivery location PRO (1.1.9.3) Flexible Checkout Fields (3.2.2 - active) Flexible Checkout Fields PRO (3.2.4 - active) Fonts Plugin | Google Fonts Typography (3.0.16 - active) Head, Footer and Post Injections (3.2.3 - active) Hummingbird (3.3.2 - active) Jetpack (10.8 - active) Loco Translate (2.6.1) Ninja Google Place Reviews Pro (2.4.2) PI WooCommerce order date time and type PRO (3.2.9.0 - active) plugin load filter (4.0.8 - active) Popup Builder (4.1.5) Product Add-Ons for WooCommerce (2.1.38 - active) Product Add-ons Plus for WooCommerce (1.4.15 - active) Product Checkout Add-Ons for WooCommerce (1.7.12 - active) Simple Custom CSS and JS (3.39 - active) Smush (3.9.5) Velvet Blues Update URLs (3.2.10 - active) Widgets for Google Reviews (8.2.2 - active) WooCommerce (6.3.1 - active) WooCommerce Google Analytics Integration (1.5.8 - active) WooCommerce GoPayRedir (1.00 - active) WooCommerce Menu Cart (2.11.0 - active) WooCommerce platiti.cz adapter (1.00 - active) Woo XML Feeds (1.1.7 - active) WP Fastest Cache (1.0.0 - active) WP Fastest Cache Premium (1.6.2 - active) WP Mail SMTP (3.3.0 - active) WS - WooCommerce Swatches Pro Plugin (1.0 - active) Yoast SEO (18.5.1 - active)
// when will be solved i will close / add comment what was wrong
Best
Lukas
The page I need help with: [log in to see the link]
- The topic ‘Problem with displaying badge using shortcode in footer’ is closed to new replies.