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>
By <?php the_author(); ?>
on <?php echo the_time(‘l, F jS, Y’);?>
in <?php the_category( ‘, ‘ ); ?>.
“><?php comments_number(); ?>
</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.
- The topic ‘the_field not showing’ is closed to new replies.