WordPress.org

Forums

Interactive chart in WordPress using HTML code created from another website (6 posts)

  1. jasonguy
    Member
    Posted 2 years ago #

    What I want on my website is an interactive line graph and an interactive US map so that when you hover your cursor over the map, data from the state appears. These are easy enough to create as there are multiple sources online to create it. But I keep getting conflicting information about whether I can insert this code into my WordPress site. I am told there is a difference with CSS and HTML, and that WordPress uses CSS but blocks some code from HTML. Any suggestions on how I handle this? The graph and the map will each be on its own page.

  2. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Who's telling you this?

  3. jasonguy
    Member
    Posted 2 years ago #

    This WordPress support page for one http://en.support.wordpress.com/code/ says that some HTML code is stripped out for security purposes.

  4. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Are you working on WordPress.com?

  5. jasonguy
    Member
    Posted 2 years ago #

    It's hosted at godaddy.com.

  6. fonglh
    Member
    Posted 2 years ago #

    The WordPress.COM support page is irrelevant for your self hosted site.

    Why don't you try it and see what happens? There's no way to give you a definite answer as your theme or plugins might interfere.

Topic Closed

This topic has been closed to new replies.

About this Topic