Support

Account

Home Forums Bug Reports ACF don't save the text in field Reply To: ACF don't save the text in field

  • I will try to be as detailed as possible Thanks

    1. I am using Local on a mac book pro, and I am developing a basic theme.
    2. I installed both ACF and CPT UI and no other plugins
    3. I created a taxonomy called home_visibility in CPT UI
    4. Later in ACF I created Test Fild with text value
    5. I created a page and put “about” as a taxonomy.
    6. Then I went to my front-page.php and put this code

    <!-- About -->
    
      <?php
    
      $vinosofuture_args = array(
      'post_type' => 'page',
      'tax_query' => array(
          array(
              'taxonomy' => 'home_visibility',
              'field'    => 'slug',
              'terms'    => 'about',
              ),
          ),
        );
        $query = new WP_Query( $vinosofuture_args );
    
        //The query
        $vinosofuture_the_query = new WP_Query( $vinosofuture_args );
    
        //The Loop
        while ( $vinosofuture_the_query->have_posts() ) :
          $vinosofuture_the_query->the_post(); ?>
    
          <section>
            <div class="container">
              <div class="row">
                <div class="quote-comment col-md-6 align-self-center section-padding ">
                  <p><span class="comment-apexes"><i class="fas fa-quote-left"></i></span> <?php  ?></p>
                  <p class="autor-text"> <span class="text-bg-blue"><?php the_title(); ?></span> <?php the_field('about_quote_cognome'); ?></p>
                </div>
                <div class="are-title col-md-6 section-padding">
                  <p> <?php the_field('testo') ?> </p>
                  <div class="">
                    <span><img class="line-work-width" src="img/divide-creative.svg" alt=""></span>
                  </div>
                  <p>
                    <span class="firstcharacter">L</span> <?php the_content(); ?></p>
                  <button type="button" class="btnabout btn-about">Learn More</button>
                </div>
              </div>
            </div>
          </section>
      <!-- /About -->
    
      <?php endwhile;
    
      // Ripristina Query & Post Data originali
      wp_reset_query();
      wp_reset_postdata(); ?>

    Thx