Iframe banner in Wordpress

rninja

Matched Betting Ninja
Joined
Apr 20, 2017
Messages
382
Reaction score
152
Points
83
Website
matchedbettingzest.com
A question for the tech-savvy amongst you...

I have some affiliate banners that are iframe.

How do I get these to correctly display in my WordPress site?

I think WordPress is not allowing the code because of something to do with security of iframe links.
 

Jon

Administrator
Staff member
Joined
Oct 17, 2013
Messages
24,564
Reaction score
2,341
Points
283
Age
37
Location
Leeds
A question for the tech-savvy amongst you...

I have some affiliate banners that are iframe.

How do I get these to correctly display in my WordPress site?

I think WordPress is not allowing the code because of something to do with security of iframe links.
Can you not put them in with <script> </script> around the code?
 

rninja

Matched Betting Ninja
Joined
Apr 20, 2017
Messages
382
Reaction score
152
Points
83
Website
matchedbettingzest.com
I'll give it a look, but wouldn't have a clue how it works to be honest. I'll check the WordPress code editor part.
 

Jon

Administrator
Staff member
Joined
Oct 17, 2013
Messages
24,564
Reaction score
2,341
Points
283
Age
37
Location
Leeds
I'll give it a look, but wouldn't have a clue how it works to be honest. I'll check the WordPress code editor part.
Which banner is it you are trying to put into your site?

I'm sure I just tend to click on the Wordpress I just click on 'Text' rather than 'Visual' in the editor and then just copy the code in ;)
 

rninja

Matched Betting Ninja
Joined
Apr 20, 2017
Messages
382
Reaction score
152
Points
83
Website
matchedbettingzest.com
A banner starting with the html wording iframe.

It just comes up as a blank space when you copy and paste the iframe code in to text editor.
 

Jon

Administrator
Staff member
Joined
Oct 17, 2013
Messages
24,564
Reaction score
2,341
Points
283
Age
37
Location
Leeds
A banner starting with the html wording iframe.

It just comes up as a blank space when you copy and paste the iframe code in to text editor.
It will do when you are in preview mode. have you actually published the page?
 

Jon

Administrator
Staff member
Joined
Oct 17, 2013
Messages
24,564
Reaction score
2,341
Points
283
Age
37
Location
Leeds
I tried it on an already published page and there was still a blank space.
Link me up to which page it is with the code already on there
 

rninja

Matched Betting Ninja
Joined
Apr 20, 2017
Messages
382
Reaction score
152
Points
83
Website
matchedbettingzest.com
OK you've got the code around that all looking fine

Can you make any other WH banners appear?

If not it may be worth dropping your account manager an email over at Gambling Affiliation
Cannot get any other iframe banners to appear at all anywhere on site
 

JesseEverAfter

SuperStar Helper!
Joined
Feb 18, 2017
Messages
166
Reaction score
51
Points
88
Location
Bristol
I've just had a look - in this case it's because the William Hill banner (and a couple of the others by the looks of it) are being loaded over the unsecure http protocol rather than the secure https protocol.

As the browser is loading your website as secure it won't load anything which is not being served over https (if you look at the source the banner is pointing to you'll see it's missing the s after http

To confirm it load this webpage without the s after http (I won't post a link as I wouldn't want Google to see a non https version) and all the banners should load (at least they are on my computer). I could be barking up the wrong tree but this was the only error the Chrome developer console was flaggng up.

I'd ask your affiliate manager if they have the banners available on a secure URL.
 
Reactions: rninja

Jon

Administrator
Staff member
Joined
Oct 17, 2013
Messages
24,564
Reaction score
2,341
Points
283
Age
37
Location
Leeds
ah yeah try changing the iframe links from http to https
 

TMSPRESTO

TotallyBlogging

Members online

Forum statistics

Threads
5,141
Messages
143,962
Members
7,587
Latest member
AirdropsEveryday

Latest profile posts

Happy Monday! So proud to see everyone smashing the moneymaking on the monthly challenge!
MAX POWER wrote on jkg-jkg's profile.
Hiya..was reading a few posts today, your post on Swansea and Huddersfield ..Could I ask this 2 up bet, is this with Bet365 and does your team have to score the first 2 goals then go on to lose...Never got on to these yet nut looks like I should reading your post on ya winnings..Many thanks in advance for your help...Pete
William Hill giving out prizes so just managed a £20 cash out on a £2 spin :)
I had forgotten how long it takes to list things on eBay..
Just won £15 from a 10p spin!