These 3 solutions enable you to add the value for a custom field before or after the entry title. You can also output the custom field on specific posts, archives and custom post types only if needed.
Here’s a very simple before and after example:
The above example shows you how to add an address after the title.
And this example outputs the custom field value before the title:
Instructions
Step 1 : Add the code below to your child themes functions file.
Step 2 : Create a new custom field named address and add your content to the value field like you see in the following image:
Its a very simple solution for Genesis users and includes 2 working code snippets for use globally & on custom post types.
Here’s the code for logged in members:
Leave a Reply