hi
im using post type “post”…
hi
i will be grateful if someone will help me to combine the two code of array and simple fiels value… thanks
thanks for your answere.. can you help me to add the code of the array to my code above ?
thank you
hi and thanks for your reply..
i solved the problem, but when i use texampny fiels or select i get display “Array”, how can i fixed it please ?
this is my code:
<?php
$fields = get_fields();
if( $fields ): ?>
<div class=”fields_name”>
<?php foreach( $fields as $name => $value ): ?>
<?php if ($value != ”){ ?>
<?php $string = $name;
$result = preg_replace(‘/_/’,’ ‘, $string);?>
<p><b><?php echo “<i style=’color:black;padding-left:10px;’ class=’fas fa-check-square’></i><span class=’name_lable’>” .$result; ?>:</span></b> <?php echo “<span class=’name_value’>” .$value; ?></span></p>
<?php }?>
<?php endforeach; ?>
</div>
<?php endif; ?>