How to Display Custom Fields Outside The Loop in WordPress


How to Display Custom Fields From a Specific Post Outside the Loop in WordPress
Jasmin Woodall

Custom fields allow you to add extra meta data to your website, but sometimes this really doesn’t fit the design of your website. In particular, sometimes these extra fields do not belong with the other post content inside the loop and need to break out of the loop to have a meaningful impact on your website. Custom fields are enabled in the screen option in the menus option of WordPress and lumped in with other content. For example, creating a custom field for your relationship status might not belong with your other post content.

WordPress.org
Darrin Carter

I found this useful code (http://www.wprecipes.com/wordpress-how-to-get-custom-fields-outside-the-loop/) for display custom fields post outside loop. It works fine, but I don’t know how to separate every custom fields in list. I tried this code but it don’t work

Be the first to comment

Leave a Reply

Your email address will not be published.


*