请跟我说实话,因为我对这件事还不熟悉。
所以我为一个页面创建了一个新模板。
<?php
/**
* Template Name: Sponsors For Homepage
*/
?>
<html>
<body>
<?php get_header(\'sponsor\'); ?>
<div class=\'divone\'>
<?php the_content(); ?>
</div>
<div class=\'divtwo\'>
<?php sponser_advertisement(); ?>
</div>
</section>
</body>
</html>
我为模板添加了一个新的自定义字段。使用高级自定义字段插件4.4.8

我确保该字段将显示在正确的模板上:
字段显示在我的模板页面上
但由于某些原因,当我在浏览器上预览页面时,该字段不会显示。
提前谢谢。
建议?