类似于 webmaster-alex-l 的问题,Child themed template-tags.php,我需要覆盖一个 twentytwenty child theme 的 /inc/template.tags。根据 webmaster-alex-l 的帖子,我知道我的子主题的 functions.php 需要添加一些东西,但是什么?
我尝试从父 /inc/template-tags.php 中获取一些 php 并将其放入我的子主题的 functions.php 但我不知道我在做什么,显然,我得到了一个关键站点错误。