Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: get base URL?

    Follow-Up:
    The WordPress function reference doesn’t list get_settings() (perhaps deprecated), but does have an alternate and more aptly named get_blog_info(). The call with argument is
    get_bloginfo('url')
    Both work, but wouldn’t trust the get_settings() for future versions.

    References:
    Function Reference
    Function Reference – get_bloginfo

    Forum: Plugins
    In reply to: get base URL?

    I also had this problem and tried the above code, but it gave me the server filesystem’s path. So, I poked around a bit in the header.php of my template (Fusion) and found where they write the url for Home. It was in a HREF with inline php, but the basic call was
    get_settings('home')
    Placing this in my customizations gave the correct behaviour. Particularly, I was interested in taking out the link to the authors page for sanitizing purposes.

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