Advenced custom field not showing include()
-
Hello World “press”,
I made a one scrolling to anchor wordpress theme.
I’ve include() my three pages on the index.php
My problem is : the Adevenced Custom Fields works great on seperate pages but they are not showing with an include() on index.php
Any idea ?
Best<?php /* * Template Name: Modèle Page Info */ ?> <?php while ( have_posts() ) : the_post(); ?> <a href="#info"></a> <section id="Info"> <section class="site-content"> <div id="wrapper-main" role="main"> <div id="ao-background-header"></div> <div id="ao-header"></div> <section id="wrapper-info"> <div id ="info" class="container"> <h1><?php the_field('titre_info');?></h1> <p><?php the_field('paragraphe_info');?></p> </div> <!-- .container --> </section> <!-- #wrapper-info --> </div><!-- #wrapper-main --> </section><!-- #site-content --> </section> <!-- #info --> <?php endwhile ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Advenced custom field not showing include()’ is closed to new replies.