the_field not showing
-
Hello every one!
I have problem.
Code:<div class="container"> <div class="row"> <div class="col-md-12"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <div class="page-header"> <h1><?php the_title(); ?></h1> <img class="img-responsive br7" src="<?php the_field('image'); ?>" alt="<?php the_title(); ?>" > <p><?php the_field ('description'); ?></p> <p><?php the_field ('acc'); ?></p> <p><em> By <?php the_author(); ?> on <?php echo the_time('l, F jS, Y');?> in <?php the_category( ', ' ); ?>. <a href="<?php comments_link(); ?>"><?php comments_number(); ?></a> </em></p> </div> <?php comments_template(); ?> <?php endwhile; else: ?> <div class="page-header"> <h1>Oh no!</h1> </div> <p>No content is appearing for this page!</p> <?php endif; ?> </div>
description and acc not showing…
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘the_field not showing’ is closed to new replies.