Trouble adding custom featured image for custom taxonomy TERMS

Wordpress version 5.2.2Local development - WAMPPHP version 7.0.1I am building car dealership website. Goal:Set featured

Wordpress version 5.2.2

Local development - WAMP

PHP version 7.0.1

I am building car dealership website.

Goal:

Set featured image for custom taxonomy - Body Types

Set featured image for custom taxonomy - Makes

Problem / Issue: The Body Types image is working as expected, but the Makes image will NOT add or "set". I tried copying / duplicating the code for Body Types and replacing variables where needed to get the same functionality for Makes, but something must be duplicated incorrectly. I say this because when I remove the Body Types code, the Makes code works and I can add an image. But of course I need both taxonomies to function correctly. I was wondering if anyone can spot the problem so that both work correctly.

I will post screenshots below to describe what I am trying to do.

My code can be seen here in the file custom-taxonomies.php on my Github account: .php

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745347468a4623624.html

相关推荐

  • Trouble adding custom featured image for custom taxonomy TERMS

    Wordpress version 5.2.2Local development - WAMPPHP version 7.0.1I am building car dealership website. Goal:Set featured

    11小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信