| Server IP : 74.208.236.16 / Your IP : 216.73.216.220 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u102440577 ( 7172810) PHP Version : 8.4.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/44/d845879113/htdocs/app750263/wp-content/themes/simplemag/composer/ |
Upload File : |
<?php
/**
* WordPress Native Editor
* Page Composer Section
*
* @package SimpleMag
* @since SimpleMag 3.0
**/
/**
* Options to make Editor site width (default) or full window width
**/
if ( get_sub_field( 'wp_ti_editor_width' ) == 'editor_site_width' ) :
$wrapper = sanitize_html_class( 'wrapper' );
endif;
?>
<section class="home-section wp-editor-section <?php echo isset( $wrapper ) ? $wrapper : 'full-width-section'; ?>">
<?php
// If Sidebar
if ( get_sub_field( 'wp_ti_sidebar' ) != ''
&& get_sub_field( 'wp_ti_editor_width' ) != 'editor_win_width' ) :
?>
<div class="grids">
<div class="grid-8 column-1">
<?php endif; // End if sidebar ?>
<div class="entry-content clearfix">
<?php the_sub_field( 'wp_ti_editor' ); ?>
</div>
<?php
// If Sidebar
if ( get_sub_field( 'wp_ti_sidebar' ) != ''
&& get_sub_field( 'wp_ti_editor_width' ) != 'editor_win_width' ) :
?>
</div>
<?php global $ti_option; ?>
<div class="grid-4 column-2<?php if ( $ti_option['site_sidebar_fixed'] == true ) { echo ' sidebar-fixed'; } ?>">
<aside class="sidebar">
<?php dynamic_sidebar( get_sub_field( 'wp_ti_sidebar' ) ); ?>
</aside>
</div>
</div>
<?php endif; // End if sidebar ?>
</section><!-- WP Editor -->