twentythirteen_author_bio_avatar_size

過濾鉤子
apply_filters( 'twentythirteen_author_bio_avatar_size', 74 )
引數
  • (int) $size The avatar height and width size in pixels.
    Required:
定義位置
  • wp-content/themes/twentythirteen/author-bio.php , line 21
相關勾子
twentyten_author_bio_avatar_sizetwentyfifteen_author_bio_avatar_sizetwentysixteen_author_bio_avatar_sizetwentytwelve_author_bio_avatar_sizetwentyeleven_author_bio_avatar_size
相關方法
get_the_author_firstnameget_the_author_aimrest_get_avatar_sizesget_the_author_metathe_author_firstnameget_the_author_nickname
引入
Twenty Thirteen 1.0
棄用
-

twentythirteen_author_bio_avatar_size: 該函式為”Twenty Thirteen”WordPress主題設定作者頭像的大小。使用者可以通過修改該函式來改變作者頭像的大小。

過濾作者簡歷頭像的大小。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 );
$author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 );
$author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 );

常見問題

FAQs
檢視更多 >