php http://kb.wpbeaverbuilder.com/article/582-integrate-sensei-with-the-beaver-builder-theme
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php http://kb.wpbeaverbuilder.com/article/582-integrate-sensei-with-the-beaver-builder-theme相关的知识,希望对你有一定的参考价值。
<?php // Do not copy this line, start with line 3
// Sensei unhook
global $woothemes_sensei;
remove_action( 'sensei_before_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper' ), 10 );
remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 );
add_action('sensei_before_main_content', 'my_theme_wrapper_start', 10);
add_action('sensei_after_main_content', 'my_theme_wrapper_end', 10);
function my_theme_wrapper_start() {
echo '<div class="fl-content-full container">
<div class="row">
<div class="fl-content fl-content-left col-md-8">';
}
function my_theme_wrapper_end() {
echo '</div>';
get_sidebar();
echo "</div>
</div>";
}
add_action( 'after_setup_theme', 'declare_sensei_support' );
function declare_sensei_support() {
add_theme_support( 'sensei' );
}
以上是关于php http://kb.wpbeaverbuilder.com/article/582-integrate-sensei-with-the-beaver-builder-theme的主要内容,如果未能解决你的问题,请参考以下文章
php send.php php邮件模板#php
IntelliJ IDEA 11编辑php是,支持php文件名为.php5和.php4,如何设置能让其也支持.php呢?
如何从php5升级到php7
请问php中如何调用php文件中的内容?
php [php:PHPMailer示例] php库“PHPMailer”示例。 #PHP
php基础