Reply 344854 to: Need assistance for the my account widget

Avatar: Rose Tyler
Rose Tyler
Support staff
January 24, 2023 at 11:00

Hello, Jordan

Thank you for reaching out. Please note that additional customization of code is beyond the scope of our basic support.

add_filter('header_account_link', function($link) {
 if ( !get_query_var( 'et_is-loggedin', false) ) {
  $link = home_url('/').'register/';
 }
 return $link;
});

add_filter('etheme_mini_account_content', function($value) {
 if ( get_query_var( 'et_is-loggedin', false) ) {
  return false;
 }
 return $value;
});

We can only give an example or hint. Such code can be added in functions.php of the child theme.

Best Regards,
8Themes Team

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.