在第18行上的public_html / wp-content / themes / g5-beyot / header.php中调用未定义的函数g5plus_get_option()

时间:2019-06-10 09:20:43

标签: php wordpress plugins

上载G5 Beyot的新主题时| VestaThemes.com在WordPress上共享我面临

的问题
Call to undefined function g5plus_get_option() in public_html/mydirectory/wp-content/themes/g5-beyot/header.php on line 19. 

该网站还显示该网站由于Wordpress错误而遇到技术问题

我在Google上进行了搜索,并尝试了不同的方法来解决此问题,但找不到完美的答案。

下面是header.php的代码

$header_layout = g5plus_get_option('header_layout', 'header-1');

  $header_responsive = g5plus_get_option('header_responsive_breakpoint', 
  '991px');

  ?>

<!DOCTYPE html>

<!-- Open Html -->

<html <?php language_attributes(); ?>>
<!-- Open Head -->
<head>
    <?php wp_head(); ?>
</head>
<!-- Close Head -->

<body <?php body_class(); ?> `data-responsive="<?php echo` 

esc_attr($header_responsive) ?>"



 `data-header="<?php echo` `esc_attr($header_layout) ?>">`

希望我会回答我的问题。

0 个答案:

没有答案