madefortravellers
Forum Replies Created
-
Forum: Plugins
In reply to: [Lazy Load for Videos] Thumbnails not showingI installed a different plugin, that does the trick with the theme i’m using ??
Hello again!
Seems I found what’s the problem , I added to scripts in footer: <script async defer src=”//aff.bstatic.com/static/affiliate_base/js/flexiproduct.js”></script>
via the plugin ‘insert headers and footers’
And now it shows the correct widget always ??
Thanks again for your help!Grtz Leon
Hello again,
The answer to all your questions is no. Sometimes the widget shows, sometimes not.
I also got an answer from Booking.com ;
If your website is built with WordPress, our links can be used as well as our standard widgets from the Partner Center. However, the widgets will only be displayed in combination with the Product Helper, as the standard html code is not always supported by WordPress, and is thus unreliable. Sorry!
So I installed the product helper plugin from Booking.com , but that doesn’t do the trick. It still shows only the url instead of the search widget.
I even disabled Autoptimize plugin; didn’t resolve the problem. Enabled it again ; no luck.
Downgrade wordpress back to 4.9.8 (because the product helper plugin is not tested with wordpress 5.0) ; no luck.So I’m out of ideas… can you still think of something?
Yes I did. Strange thing is that it shows the search widget the first time, but when I refresh the page, it only shows the link instead of the search widget??
Hi Frank,
Thanks for you quick response. I added plugins/bookingcom-official-searchbox to both JS/ CSS exclusion lists. But it didn’t do the trick.
It’s still not showing the search box. I only can see the booking.com url.
For the homepage, I’m not using the plugin, because that only works as a widget in the sidebar. So I use a custom code from booking.com for the search widgets. This is the code is use;
<ins> <ins> <a href="//www.booking.com?aid=1720493">Booking.com</a> </ins> <script type="text/javascript"> (function(d, sc, u) { var s = d.createElement(sc), p = d.getElementsByTagName(sc)[0]; s.type = 'text/javascript'; s.async = true; s.src = u + '?v=' + (+new Date()); p.parentNode.insertBefore(s,p); })(document, 'script', '//aff.bstatic.com/static/affiliate_base/js/flexiproduct.js'); </script>
Do you have any other ideas how to fix it?
Grtz
- This reply was modified 5 years, 8 months ago by madefortravellers.
Forum: Fixing WordPress
In reply to: Search widget Booking.com not showingOk. Thanks for your help anyway! ??
Forum: Fixing WordPress
In reply to: Search widget Booking.com not showingThe widget code is from Booking.com , so I only copy/pasted it. It worked before, but since a view days it only shows the url instead of the search widget.
I think i’m better of waiting for their support then ??Forum: Fixing WordPress
In reply to: Search widget Booking.com not showingThnx! Not using the plugin , also have contact with their support forum ??
Strange thing is it worked a few days ago ??