Hallo Liebes Forum,
ich würde gerne wissen wie man Sektionen die ich im Coustimizer (Theme: PreSchool Free) eingetragen habe.
Also
Team, Slider, About US, Calltoaction anders anordnen kann.
Ich habe in der Frontpage.php bsp. die CTA Nach oben gestellt aber leider funktioniert das so nicht. Trotz des Umstellen wird die CallToAction Sektion vor dem Footer angezeigt.
PHP
if( $section['id'] == 'cta' ) { ?>
<?php $enable_cta_section = creativ_preschool_get_option( 'enable_cta_section' );
if( true ==$enable_cta_section): ?>
<section id="<?php echo esc_attr( $section['id'] ); ?>">
<?php get_template_part( 'sections/section', esc_attr( $section['id'] ) ); ?>
</section>
<?php endif; ?>
<?php } elseif( ( $section['id'] == 'featured-slider' ) ){ ?>
<?php $enable_featured_slider = creativ_preschool_get_option( 'enable_featured_slider' );
if( true ==$enable_featured_slider): ?>
<section id="<?php echo esc_attr( $section['id'] ); ?>">
<?php get_template_part( 'sections/section', esc_attr( $section['id'] ) ); ?>
<img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/cloud-bg.png' ) ?>" class="cloud-bg">
</section>
<?php endif; ?>
Alles anzeigen
Beste Grüße
Daniel