Add Custom Field To Entry Title

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:

before

after

The above example shows you how to add an address after the title.

And this example outputs the custom field value before the title:

before-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:

custom-fields

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:

Related Code Snippets

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.