Before you ask please READ THIS

No Spacing Between Name and URL In Blog Bio Area

edited August 2014 in Superior Posts: 66
I have my bio set up which appears at the bottom of every blog post (ex. http://www.alexnavas.com/know-your-why/) which I love. However, there is no spacing between my name and the URL to my site so it reads: Alex Navas(http://www.AlexNavas.com)

Notice the lack of spacing between the last letter of my name "s" and "(" that is in front of the URL. Where can I add the proper spacing?

Also, is there a way to set the bio URL to open in a new window? I have another site with my bio but when people click, they leave that site and come over the my bio url.

Thanks for your great support.
Screen Shot 2014-08-21 at 9.54.58 PM.png
841 x 130 - 29K

Comments

  • AirAir
    Posts: 10,970
    Hello :-)

    To add space and open in new window go to single.php line ~54 and change
    echo '<a href="' . esc_url($u_url) . '" class="url">(' . $u_url . ')</a>';
    to
    echo ' <a href="' . esc_url($u_url) . '" class="url" target="_blank">(' . $u_url . ')</a>';
    Hope that helps:-)

    With regards.
  • Worked perfectly. Can you include this in the next update? Don't want this to be overwritten when I update
  • AirAir
    Posts: 10,970
    I can add space, but not opening in new window. Just copy whole single.php to child theme, and if you are using child theme it will use this modified file instead of original.

    With regards.
  • Ok, perfect. Thank you for your help.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!