Здравствуйте! Кто нибудь сталкивался с удалением циклических ссылок из платной темы?
Header<?php
/**
* Header template.
*
* @since 1.0.0
*
* @package The7\Templates
*/
defined( 'ABSPATH' ) || exit;
get_template_part( 'header-single' );
get_template_part( 'header-main' );
// Little trick!
// wp_head()
header main<?php
/**
* Header template part with main container opener.
*
* @since 1.0.0
*
* @package The7\Templates
*/
defined( 'ABSPATH' ) || exit;
?>
<?php do_action( 'presscore_before_main_container' ); ?>
<?php if ( presscore_is_content_visible() ) : ?>
<div id="main" <?php presscore_main_container_classes(); ?> <?php presscore_main_container_style(); ?> >
<?php do_action( 'presscore_main_container_begin' ); ?>
<div class="main-gradient"></div>
<div class="wf-wrap">
<div class="wf-container-main">
<?php do_action( 'presscore_before_content' ); ?>
<?php endif ?>
Function* The7 theme.
*
* @since 1.0.0
*
* @package The7
*/
defined( 'ABSPATH' ) || exit;
update_site_option( 'the7_registered', 'yes' );
update_site_option( 'the7_purchase_code', 'the7_purchase_code' );
/**
* Set the content width based on the theme's design and stylesheet.
*
* @since 1.0.0
*/
if ( ! isset( $content_width ) ) {
$content_width = 1200; /* pixels */
}
/**
* Initialize theme.
*
* @since 1.0.0
*/
require trailingslashit( get_template_directory() ) . 'inc/init.php';