wordpress - below, where are wrong in my code? -


<?php while ( have_posts() ) : the_post(); ?>  <?php     $qa_entries = get_post_meta( get_the_id(), 'demjo', true );     $i = 1; //sets variable-counter ?>  <ul class="questions">      <?php foreach ( $qa_entries $value) { ?>          <li><a href="#q-<?php echo $i++;?>"><?php echo esc_html( $value['titleh'] ) ?></a></li>      <?php } ?>  </ul> <!--/.questions-->      <?php         $i = 1; //resets counter      foreach ( $qa_entries $value) { ?>          <h4 id="q-<?php echo $i++;?>"><?php echo esc_html( $value['question'] ) ?></h4>         <p><?php echo esc_html( $value['answer'] ) ?></p>      <?php } ?> 

warning: illegal string offset 'titlehf' in c:\xampp\htdocs\admin\wp-content\themes\corporate\single.php on line 35


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -