I have a form to create posts, with an added <?php the_meta(); ?> line in the loop.php file, which outputs the custom post fields.
Two questions:
1) I see in some of the other posts that there is a way to put the content of those custom fields in the body of the post - can you point me to a breakdown of how that works?
2) And more important at the moment - Can the order of the post-meta-key outputs be controlled if I just list them above the post body? My issue with this at the moment is that on one of my posts I get this output at the moment for some test info I entered :
<ul class='post-meta'>
<li><span class='post-meta-key'>Phone Number:</span> (232)215-1215</li>
<li><span class='post-meta-key'>Province / State:</span> Nova Scotia</li>
<li><span class='post-meta-key'>Location:</span> Sydney Mines</li>
<li><span class='post-meta-key'>Reason Code:</span> Install Help</li>
<li><span class='post-meta-key'>RMA:</span> </li>
</ul>
but like this for another sample post :
<ul class='post-meta'>
<li><span class='post-meta-key'>Location:</span> loco</li>
<li><span class='post-meta-key'>Phone Number:</span> (242)511-1144</li>
<li><span class='post-meta-key'>Reason Code:</span> Install Help</li>
<li><span class='post-meta-key'>Province / State:</span> Alaska</li>
<li><span class='post-meta-key'>RMA:</span> </li>
</ul>
You'll notice that the order of the output of the fields is different even though the form used was the same. I'm thinking this has to do with capitalization etc on the entry side?? I can't control that though, so I want to be able to control the order of the output. Any help with that would be much appreciated.
Thanks!