Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在页脚文件中查找WP源_Php_Wordpress_Hook_Footer - Fatal编程技术网

Php 在页脚文件中查找WP源

Php 在页脚文件中查找WP源,php,wordpress,hook,footer,Php,Wordpress,Hook,Footer,希望有人能帮忙。我正在尝试编辑主题的页脚,但无法确定在何处进行编辑。它不是通常的外观,也不是自定义的,甚至不是代码。我找不到它将页脚文本的配置拉到哪里。我的footer.php文件看起来像这样,有很多“do action xyz”,但这些模板部分不存在。它是从哪里得到的 我已经搜索了do_action yummy_footer_start和just footer,但使用windows search查找所有文件夹和文件以及内容时没有找到任何内容 <?php /** * The templa

希望有人能帮忙。我正在尝试编辑主题的页脚,但无法确定在何处进行编辑。它不是通常的外观,也不是自定义的,甚至不是代码。我找不到它将页脚文本的配置拉到哪里。我的footer.php文件看起来像这样,有很多“do action xyz”,但这些模板部分不存在。它是从哪里得到的

我已经搜索了do_action yummy_footer_start和just footer,但使用windows search查找所有文件夹和文件以及内容时没有找到任何内容

<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Theme Palace
 * @subpackage Yummy
 * @since Yummy 0.1
 */

/**
 * yummy_content_end_action hook
 * @hooked yummy_content_end -  10
 *
 */
do_action( 'yummy_content_end_action' );

/**
 * yummy_footer_start hook
 *
 * @hooked yummy_footer_start -  10
 *
 */
do_action( 'yummy_footer_start' );

/**
 * yummy_footer hook
 *
 * @hooked yummy_footer_bottom_start - 11
 * @hooked yummy_footer_social_menu - 15
 * @hooked yummy_copyright -  20
 * @hooked yummy_footer_bottom_end - 25
 *
 */
do_action( 'yummy_footer' );

/**
 * yummy_footer_end hook
 *
 * @hooked yummy_footer_end -  100
 * @hooked yummy_back_to_top -  110
 *
 */
do_action( 'yummy_footer_end' );
/**
 * yummy_page_end_action hook
 *
 * @hooked yummy_page_end -  10
 *
 */
do_action( 'yummy_page_end_action' ); 
?>
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<?php wp_footer(); ?>
</body>
</html>


使用带有
多文件搜索的文本编辑器
搜索
美味的页脚\u开始
。它可能用于主题的函数中。phpI必须打开每个文件-数千个文件才能这样做,不是吗?这是我想到的windows索引搜索的要点,我做了,但返回时什么都没有。这就是我建议多个文件的原因文件搜索,我只标记了要搜索的必要部分。我建议您下载并安装VS代码,并将主题作为VS代码中的文件夹打开。它的搜索将很容易在主题文件夹中的所有文件中找到搜索字符串。谢谢,我不确定这与所有文件的Windows索引搜索有何不同?