return FALSE; $r = well_tag_thread__update(array('id' => $id), $update); return $r; } function well_tag_thread_find($tagid, $page, $pagesize) { $arr = well_tag_thread__find(array('tagid' => $tagid), array('id' => -1), $page, $pagesize); return $arr; } function well_tag_thread_find_by_tid($tid, $page, $pagesize) { $arr = well_tag_thread__find(array('tid' => $tid), array(), $page, $pagesize); return $arr; } ?>customization - Add more then one site logo - custom-logo theme support
最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

customization - Add more then one site logo - custom-logo theme support

programmeradmin0浏览0评论

We can add one site logo to site customize with add_theme_support( 'custom-logo' );

How can add another logo? Seems like the custom-logo theme support only allows to add one site logo and I need to a footer logo as well

I know its possible to add this to a custom theme settings page but prefer to add this to the customize screen same place where theme logo is added.

We can add one site logo to site customize with add_theme_support( 'custom-logo' );

How can add another logo? Seems like the custom-logo theme support only allows to add one site logo and I need to a footer logo as well

I know its possible to add this to a custom theme settings page but prefer to add this to the customize screen same place where theme logo is added.

Share Improve this question asked Dec 14, 2020 at 19:10 BenBBenB 80511 silver badges24 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

I think you might be looking for something like this:

add_theme_support( 'custom-logo', array(
    'height' => 480,
    'width'  => 720,
) );

You could also go with:

add_theme_support( 'custom-header', array(
    'height' => 480,
    'width'  => 720,
) );

Use the custom-header for the top logo and the custom-logo for the footer (or the other way round).

Another approach might be to define a thumbnail size:

 add_image_size( 'custom-footer-logo', 220, 220, array( 'left', 'top' ) );

You would have to work with the WordPress customizer controls to make a control to add and change the footer. But you could add as many images to your theme as you want that way.

发布评论

评论列表(0)

  1. 暂无评论