Site logo

Archived topic

HTML not work in widgets

12 replies · Started by Christer Eklund on September 3, 2016

Viewing posts 1–13 of 13

Hello!

I put in a HTML in 2 or more widgets. From Facebook, instagram and more. When i use it on Twenty-series themes it works. But not in GP. This says it work to use HTML this type of widgets. But not in your theme. Just testing and this be blank and no text and images.

How i doing now for working?

Regards
Christer

HTML should work in gp the exact same way as it does in twenty series themes.
Can you provide the HTML you are trying to add?

A link to it not working would really help as well :)

One of this HTML code is:

if you look at my page: http://www.diggo.se right bars i will have this facebook code. Are only Facebook-codes i have problem with.

Tanks for help!

Regards
Christer

<div class="fb-like" data-href="http://www.diggo.se" data-layout="box_count" data-action="recommend" data-show-faces="true" data-share="true"></div>
<div class="fb-like" data-href="http://www.diggo.se" data-layout="button_count" data-action="recommend" data-show-faces="true" data-share="true"></div>

Now you meybe can see the code

Where'd you get that HTML from?

Facebook

Just finding the problem. the JavaScript is not running on the right theme. Just finding what i need doing for working on the new theme.

Looks like it's working now? :)

Yes '<iframe>' looks work.

Great :)

Hey there,

I have the same kind of problem. I've posted the following HTML code in one of my footer widgets. They're supposed to be social media buttons. The thing is howerver, the links seem to work, but the buttons won't appear. The files are saved on my WP server. (www.forensicare.nl)

<div>
<a href="https://twitter.com/ForensiCare_NL"><img alt width="40" height="40" /></a>
<a href="https://www.linkedin.com/company/10349942"><img alt width="40" height="40" />
</div>

Could you help me out?

Kind regards,

Joost

There's no src="" in your <img> tags.

You need to point the image to the file: <img src="FULL URL TO MY IMAGE FILE" alt="" />

This archived topic is closed to new replies.