部分wordpress插件是直接的<?php …?>调用,但是如果在指定的页面需要调用显示。直接的页面编辑无法实现效果。 在页面模板中,the_ID()已经有展示 显示页面的ID, 最后找到源文件 wp-includes/post-template.php function the_ID() { echo get_the_ID(); } get_the_ID()是返回ID的...