• 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)
  • 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

    (@mootown)

    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, the code shows up after the </html> at the bottom. Would that be okay?

    Add it just before </body> then in footer.php

    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

    (@mootown)

    (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

    (@mootown)

    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;
    <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 …)

    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.