Support » Requests and Feedback » [Theme: Twenty Twelve] twenty-twelve home url on logo

Viewing 6 replies - 1 through 6 (of 6 total)
  • so using home_url() instead of home_url(‘/’) in header.php

    Why?

    Thread Starter maxemil

    (@maxemil)

    to remove the trailing slash

    Yes but why would you want to do that?

    Thread Starter maxemil

    (@maxemil)

    Basically its esthetics.
    my url is advertised without a trailing slash – like most other sites in the world, yours too I guess.
    There is no reason to add it to the logo / site name “go to the frontpage” link.

    I dont recall seeing <?php echo get_bloginfo('wpurl').'/'; ?> explicitly adding a trailing slash before in any themes – and basically I just find it odd to add it on the logo/frontpage link…

    🙂

    There is no reason to add it to the logo / site name “go to the frontpage” link.

    Actually there is. Some sites that use mirrors or other forms of redirection rely heavily on the trailing /. If it doesn’t suit your purposes, you can create a child theme of Twenty Twelve

    Thread Starter maxemil

    (@maxemil)

    it just that its something someone actively decided to put the extra / in the theme. If it were as critical for some sites as you indicate, then it would also be added to the wp-options table for the wordpress url / site url ?

    When I link to my site I link to the site url, not the site url/

    Anyways, I dont know enough about browser behavior and need for redirects to make a sane argument – it was a reflection on how a specific site told me to cache and me wondering why there are being added a / to my site.. Have a lovely day 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: Twenty Twelve] twenty-twelve home url on logo’ is closed to new replies.