Title: Where to Insert Really Basic HTML Code?
Last modified: August 19, 2016

---

# Where to Insert Really Basic HTML Code?

 *  [Mootown](https://wordpress.org/support/users/mootown/)
 * (@mootown)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/)
 * Hi all, I have a decent amount of knowledge with running html sites, but none
   with WordPress or php. I’m trying to follow these incredibly simple directions(
   below), but I’m not sure where to stick the html code that it’s recommending?
 * > Get an OpenID: Here’s an easy way to get an OpenID that is the same as your
   > blog URL:
   > Step 1: Visit myOpenID and create your profile – it will be something like 
   > xxx.myopenid.com
   > Step 2: Open the HTML source code of your blog / website and add the following
   > lines of code:
   >  <link href=”http://www.myopenid.com/server” rel=”openid.server” />
   >  <link 
   > href=”http://xxx.myopenid.com” rel=”openid.delegate” />
   > Replace xxx with the user name that you created in Step 1. Save and you are
   > done. Your blog URL is now your OpenID.
 * Thanks for your help.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [WP Libra](https://wordpress.org/support/users/wpbum/)
 * (@wpbum)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576208)
 * Depends on where you want it.
 * Go to Appearance -> Editor
 * On the right side you have all your files. These vary from template to template
   so I cant tell you exactly what one.
 * But if you want it in the sidebar you might have sidebar.php
 * Select that one and insert the code. If you dont like where it shows up then 
   move it around to test it out.
 *  Thread Starter [Mootown](https://wordpress.org/support/users/mootown/)
 * (@mootown)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576210)
 * Thanks. It’s invisible info, so it just needs to be in there somewhere so that
   OpenID associates my blog url with my OpenID.
 * I just tried putting it in footer.php, but then I noticed that when I view the
   source of [my main blog](http://sciencefictionfantasybooks.net), the code shows
   up after the </html> at the bottom. Would that be okay?
 *  [WP Libra](https://wordpress.org/support/users/wpbum/)
 * (@wpbum)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576212)
 * Add it just before </body> then in footer.php
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576215)
 * > the code shows up after the `</html>` at the bottom. Would that be okay?
 * No. Put it between the head tags in your theme’s header, probably in header.php.
   Link tags belong in the head.
 *  Thread Starter [Mootown](https://wordpress.org/support/users/mootown/)
 * (@mootown)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576216)
 * (to wpbum) I don’t know how to add it before </body>. I am a total newbie to 
   customizing php/Wordpress, though I understand html somewhat well. What file 
   would I access in order to do that?
 *  Thread Starter [Mootown](https://wordpress.org/support/users/mootown/)
 * (@mootown)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576219)
 * Thanks iridiax. I just added the two lines of code in here (it’s the two lines
   that start with “link href”. Does it look okay where it is? I’m not sure if it’s
   kosher to just put in html around a lot of php stuff that I don’t understand.
 * > <head profile=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
   >  <
   > meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset
   > =<?php bloginfo(‘charset’); ?>” />
   > <title>Moses Siregar III’s Writing Blog: Daily Inspiration @ Science Fiction
   > Fantasy Books .net</title>
   >  <meta name=”blogcatalog” content=”9BC9730012″ /
   > > <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /
   > > <!– leave this for stats –>
   > <link href=”http://www.myopenid.com/server” rel=”openid.server” />
   >  <link href
   > =”http://MosesSiregarIII.myopenid.com” rel=”openid.delegate” /> <link rel=”
   > stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media
   > =”screen” /> <link rel=”alternate” type=”application/rss+xml” title=”<?php 
   > bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” /> <link
   > rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /> <?php wp_head();?
   > > <script type=”text/javascript” src=”<?php bloginfo(‘stylesheet_directory’);?
   > >/javascript/jquery.min.js”></script> <script type=”text/javascript”>//<![CDATA[
   > <!– /* (more, more, more …)
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576220)
 * It looks okay to me. Hopefully it will work for you.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Where to Insert Really Basic HTML Code?’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [iridiax](https://wordpress.org/support/users/iridiax/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/where-to-insert-really-basic-html-code/#post-1576220)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
