WordPress.org

Support

Support » Plugins and Hacks » Meta Widget Customizer » [Resolved] User Profile Link

[Resolved] User Profile Link

  • There is a problem with the link to the user profile for websites that are not hosted on the root directory.

    To solve it you should replace the line where says:

    ?><li><a href="/wp-admin/profile.php"><?php echo "$current_user->display_name"; ?></a></li><?php

    With the following:

    ?><li><a href="<?php echo site_url("/wp-admin/profile.php"); ?>"><?php echo "$current_user->display_name"; ?></a></li><?php

    http://wordpress.org/plugins/meta-widget-customizer/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] User Profile Link’ is closed to new replies.
Skip to toolbar