[Resolved] HTML not work in widgets

Home Forums Support [Resolved] HTML not work in widgets

Home Forums Support HTML not work in widgets

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #223570
    Christer Eklund

    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

    #223581
    Leo
    Staff
    Customer Support

    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?

    #223634
    Tom
    Lead Developer
    Lead Developer

    A link to it not working would really help as well πŸ™‚

    #223756
    Christer Eklund

    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

    #223765
    Christer Eklund
    <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

    #223773
    Tom
    Lead Developer
    Lead Developer

    Where’d you get that HTML from?

    #223780
    Christer Eklund

    Facebook

    #223782
    Christer Eklund

    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.

    #223805
    Tom
    Lead Developer
    Lead Developer

    Looks like it’s working now? πŸ™‚

    #223811
    Christer Eklund

    Yes ‘<iframe>’ looks work.

    #223812
    Tom
    Lead Developer
    Lead Developer

    Great πŸ™‚

    #255601
    Joost

    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

    #255709
    Tom
    Lead Developer
    Lead Developer

    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="" />

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.