Home › Forums › General Issues › ACF and exec php do not work › Reply To: ACF and exec php do not work
Elliot thanks for the replay
here what i am trying to run
<?php query_posts( ‘cat=45&showposts=1’ );
// The Loop
while ( have_posts() ) : the_post(); ?>
<div class=”mrimg”>” height=”185″ width=”185″ alt=”Последняя работа”></div>
<div class=”mrname”>” title=”<?php the_field(‘sitename’); ?>” > <?php the_field(‘companyname’); ?> </div>
</div>
</div>
<?php endwhile;
// Reset Query
wp_reset_query();
?>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.