Notifications
Clear all

CSS problem

3 Posts
2 Users
0 Likes
2,356 Views
(@luckybear)
New Member
Joined: 7 years ago
Posts: 2
Topic starter  
wp disquz

there is user gravatar on comment header , which is surprisingly big Β and annoying.

i can't figure it out on how to remove it. i also have buddypress integrated.

try to login on my website


   
Quote
(@luckybear)
New Member
Joined: 7 years ago
Posts: 2
Topic starter  

nevermind, i already figure it out , but discovered another problem.

Β 

what is the php file to edit wc-must-login.

i need to change the href for my login page.

the word is :

you must be logged in to post a comment


   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4173
 

wpDiscuz uses wp_login_url() (/wp-includes/general-template.php) which uses a filter on its return:

return apply_filters('login_url', $login_url, $redirect);

you might be able to add a filter function to functions.php of your theme, to influence the link; example:

add_filter( 'login_url', 'my_login_linkchanger');
function my_login_linkchanger( $link ) {
  /*whatever you need to do with the link*/
  return $link;
}

More info: http://codex.wordpress.org/Plugin_API/Filter_Reference/login_url


   
ReplyQuote
Share:
Scroll to top