Is there a PHP Code to generate my blog address (3 posts)

  1. lsmarketing
    Posted 10 years ago #

    I am working on template and am in desperate need for a PHP Code, Token, or whatever it is called. What I need the token to do is to pull my fully qualified blog URL. Ex: http://www.blogname.com

    I am looking for a script / token to one that has a similar format like this this:

    "><?php bloginfo('name'); ?>

    I need this type of PHP Code / Token to go out and find my fully qualified URL that the blog is on, and enter it in on places I put in the PHP code / token.

    So where I put the token (<?php blogaddress...etc) It will generate my fully blog addres (http://www.blogaddress.com) on my template.

    I hope this makes sense and that someone can help me.

  2. James Huff
    Support Representative
    Posted 10 years ago #


    <?php bloginfo('url'); ?>


  3. lsmarketing
    Posted 10 years ago #

    That did it! Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic