简体   繁体   中英

get_custom_logo and get_bloginfo dont work

I'm new at developing with wp. And I would like to know why get_custom_logo(); and get_bloginfo( 'description' ); aren't showed in my view. They are described in my header.php file. Thanks in advanced.

You need to add echo before the function.

Like this

echo get_bloginfo( 'description' )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM