Output Different Custom Fields Separately
-
I have two custom fields in a post,
customfiled-a
customfiled-bin my single.php file, I wish to place each output in a div class …
<div class=“a”> customfiled-a </div>
<div class=“b”> customfiled-b </div>
How can I do this? I have tried
Get_post_meta()
but it prints out both as expected 🙂
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Output Different Custom Fields Separately’ is closed to new replies.