Need help? Check out our Support site, then


How can I add html to my site?

  1. I have the html code for a goodreads widget, much like the facebook widget, that shows my books there. I can't figure out where to put the code though! I want it on my sidebar with the rest of the widgets. How do you add a widget that isn't included with the default widgets but that you have the code for? Thanks so much for any help!

    The blog I need help with is writersparty.com.

  2. Hi. In order for us to properly answer your question, please copy and paste the entire code you tried to insert. For the purpose of these forums only, please insert the code between <code> and </code>, otherwise we won't be able to see the code.

  3. Well, I'll paste the code here, but the problem isn't that the code didn't work. I just don't know WHERE to insert the code. I haven't tried to insert it at all because I can't find where I'm supposed to insert it.

    Here is the code, in case it will still help.

    <style type="text/css" media="screen"><br /> .gr_container {<br /> font-family:arial,verdana,helvetica,sans-serif;<br /> width: 250px;<br /> }<br /> .gr_book_container {<br /> border-bottom: 1px solid #d7d7d7; padding: 5px 0px;<br /> }<br /> .gr_book_image {<br /> float: left; padding-right: 20px;<br /> }<br /> .gr_book_title {}<br /> .gr_review_stats {}<br /> </style></p> <p><a href="http://www.goodreads.com/author/show/4788373.Lisa_Taylor?utm_medium=api&utm_source=author_widget">Lisa Taylor's books on Goodreads</a><div id="gr_author_widget_1322448225"><!-- Include static html in case javascript is not supported. This will be overridden if things are working. --><div class="gr_container"></p> <p> <div class="gr_book_container"><a href="http://www.goodreads.com/book/show/12590354-the-invention?utm_medium=api&utm_source=author_widget" title="The Invention (SHANA BLACK)"><img alt="The Invention" border="0" src="http://ecx.images-amazon.com/images/I/51vvhu0jcTL._SL75_.jpg" /></a><a href="http://www.goodreads.com/book/show/12590354-the-invention?utm_medium=api&utm_source=author_widget">The Invention (SHANA BLACK)</a><br /><div class="gr_review_stats">reviews: 3<br />ratings: 5 (avg rating 5.00)</div><br style="clear: both"/></div></p> <p> <div class="gr_book_container"><a href="http://www.goodreads.com/book/show/11867903-the-hour-of-tiamat?utm_medium=api&utm_source=author_widget" title="The Hour of Tiamat"><img alt="The Hour of Tiamat" border="0" src="http://ecx.images-amazon.com/images/I/519OCTuX9iL._SL75_.jpg" /></a><a href="http://www.goodreads.com/book/show/11867903-the-hour-of-tiamat?utm_medium=api&utm_source=author_widget">The Hour of Tiamat</a><br /><div class="gr_review_stats">reviews: 4<br />ratings: 65 (avg rating 4.50)</div><br style="clear: both"/></div></p> <p> <div class="gr_book_container"><a href="http://www.goodreads.com/book/show/12874608-the-first-mission-volume-2?utm_medium=api&utm_source=author_widget" title="The First Mission Volume 2 "><img alt="The First Mission Volume 2" border="0" src="http://ecx.images-amazon.com/images/I/51N4f6fMk9L._SL75_.jpg" /></a><a href="http://www.goodreads.com/book/show/12874608-the-first-mission-volume-2?utm_medium=api&utm_source=author_widget">The First Mission Volume 2 </a><br /><div class="gr_review_stats">reviews: 1<br />ratings: 3 (avg rating 5.00)</div><br style="clear: both"/></div></p> <p> <div class="gr_book_container"><a href="http://www.goodreads.com/book/show/13052516-a-not-so-warm-welcome?utm_medium=api&utm_source=author_widget" title="A Not So Warm Welcome (SHANA BLACK)"><img alt="A Not So Warm Welcome" border="0" src="http://ecx.images-amazon.com/images/I/51RtDopnBIL._SL75_.jpg" /></a><a href="http://www.goodreads.com/book/show/13052516-a-not-so-warm-welcome?utm_medium=api&utm_source=author_widget">A Not So Warm Welcome (SHANA BLACK)</a><br /><div class="gr_review_stats">ratings: 1 (avg rating 5.00)</div><br style="clear: both"/></div></p> <p> <div class="gr_book_container"><a href="http://www.goodreads.com/book/show/10756627-book-of-dreams-and-nightmares?utm_medium=api&utm_source=author_widget" title="Book of Dreams and Nightmares"><img alt="Book of Dreams and Nightmares" border="0" src="http://ecx.images-amazon.com/images/I/41krhtwdb7L._SL75_.jpg" /></a><a href="http://www.goodreads.com/book/show/10756627-book-of-dreams-and-nightmares?utm_medium=api&utm_source=author_widget">Book of Dreams and Nightmares</a><br /><div class="gr_review_stats">ratings: 5 (avg rating 4.00)</div><br style="clear: both"/></div><br /> </div></div><br /> <script type="text/javascript" charset="utf-8" src="http://www.goodreads.com/author/author_widget/4788373.Lisa_Taylor?widget_id=1322448225"></script>

  4. To answer your question, HTML codes usually go into a text widget.
    http://en.support.wordpress.com/widgets/text-widget/

    However (and this is why I asked for the code) part of your code will NOT work here as it contains JavaScript:
    http://en.support.wordpress.com/code/

  5. Text widget...and it's right there with the other default widgets. Wow I feel dumb. And you saved me from asking another question about the code, so thanks so much for your help :)

  6. panaghiotisadam
    Member

    And the first part of the code is CSS, which won't work in a text widget either.

Topic Closed

This topic has been closed to new replies.

About this Topic