So I’m familiar with displaying a normal wordpress post’s custom field info with: echo get_post_meta($post->ID, ‘custom_field’, true); and I have seen that changing “$post->ID” to “$order_id” might be what I need, but I don’t want to specifically pick an item’s order number in my custom template each time I post an item. On my homepage, I will be showing ONE item from a certain cagegory only. Only one item at a time,always the newest in the category, and I just need to pull the custom field information from the newest item every time I post a new item up for sale. Can anyone point me in the right direction?
I’m stuck on this too, if you could help me out, that would be great. I have added ‘Manufacturer’ as a Custom Field for my products. I want to display the manufacturer on the product detail page, but I cannot figure out which file to make the changes in and which changes to make!