WordPress.org

Support

Support » Themes and Templates » Is there a PHP Code to generate my blog address

Is there a PHP Code to generate my blog address

  • lsmarketing

    @lsmarketing

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a PHP Code to generate my blog address’ is closed to new replies.
Skip to toolbar