小编jog*_*goe的帖子

如何更改赫斯提亚的章节顺序?

嘿伙计们,我一直在玩 wordpress 主题“hestia”,但我遇到了一个我自己无法解决的问题:

首页由几个部分组成,您只能在专业版中移动,我不想购买

我已经查看了主题的代码,但无法更改顺序,如果有人能指出我正确的方向,我将不胜感激

在此处输入图片说明

我想将“团队”部分移到“博客”部分下方

编辑:

感谢 Tarun 的好回答,遗憾的是我在尝试将代码添加到 functions.php 时出现以下错误:

由于文件 wp-content/themes/hestia-child/functions.php 的第 18 行出错,您的 PHP 代码更改已回滚。请修复并再次尝试保存。

未捕获的 ArgumentCountError:函数 set_hestia_section_priority() 的参数太少,在第 288 行 wp-includes/class-wp-hook.php 中传递了 1 个,而在 wp-content/themes/hestia-child/functions.php:18 Stack 中预期正好有 2 个跟踪:0 wp-includes/class-wp-hook.php(288): set_hestia_section_priority(15)
1 wp-includes/plugin.php(203): WP_Hook->apply_filters(15, Array)
2 wp-content/themes/ hestia/inc/sections/hestia-about-section.php(68):
apply_filters('hestia_section_...', 15, 'hestia_about')
3 wp-content/themes/hestia/functions.php(694): include_once( 'w...')
4 wp-includes/class-wp-hook.php(286): hestia_include_features('')
5 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(' ', 大批)
6 wp-includes/plugin.php(453): WP_Hook->do_action(Array)
7 wp-settings.php(434): do_action('after_setup_the...')
8 wp-config.php(89): require_once( '/

此外,我的部分文件夹中似乎没有“hestia-team-section.php”文件。(hesia-about-section 等在那里)

wordpress wordpress-theming

-1
推荐指数
1
解决办法
4468
查看次数

标签 统计

wordpress ×1

wordpress-theming ×1