Support » Fixing WordPress » redirect author link on comments reply

  • When you’re logged in and go to leave a comment it says ‘Logged in as ‘user’. Log Out?’ I would like the word ‘user’ to link to the users bbpress profile thats set up instead of the wordpress profile in the backend.

    site: http://retreadwerks.com/wordpressNew/

    I know very little about php and how to make it work but I’m good with html and css.

Viewing 3 replies - 1 through 3 (of 3 total)
  • cdukes

    (@walkinonwat3r)

    You’ll have to change the url in the widget code (or copy the code into a new widget).

    Alternatively, you could use some jQuery to rewrite the URL when the page loads. It’s an easier solution, though not as elegant.

    Thread Starter bjstone906

    (@bjstone906)

    Thanks Cooper, I’ve gone through the code a bit and nothing looks like a url link. They all seem to be pulling some function or another. Any suggestions on what else to look for and/or in what file?

    Thread Starter bjstone906

    (@bjstone906)

    I’ve found where the code lives! Now I don’t know how to change it to point to the bbpress profile. I’ve tried changing the href to href=”http://retreadwerks.com/forums/users/%1$s” but thats not working either. I dont know what bbpress users for its profile url but I’ll keep looking.

    In the meantime does anyone have any suggestions?

    <?php printf(__('Logged in as <a href="%1$s">%2$s</a>.'), get_option('siteurl') . '/forums/users/', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php esc_attr_e('Log out of this account'); ?>"><?php _e('Log out »'); ?></a>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘redirect author link on comments reply’ is closed to new replies.