We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wordpress的get_avatar_url() API默认提供的是96x96的头像,分辨率过低,可以通过将inc/theme-widgets.php第301行的函数调用改为
get_avatar_url()
inc/theme-widgets.php
$avatar = get_avatar_url('1', ['size' => '300']);
解决。这样可以得到一张分辨率为300x300的头像。
也可以将这个参数放入选项菜单,由用户自行决定。
The text was updated successfully, but these errors were encountered:
#499
Sorry, something went wrong.
感谢反馈,等下版更新即可。
No branches or pull requests
Wordpress的
get_avatar_url()
API默认提供的是96x96的头像,分辨率过低,可以通过将inc/theme-widgets.php
第301行的函数调用改为解决。这样可以得到一张分辨率为300x300的头像。
也可以将这个参数放入选项菜单,由用户自行决定。
The text was updated successfully, but these errors were encountered: