Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Adding custom field using hooks

$
0
0

Hi,

I have successfully used Types to Create my Custom Post Type, 'Case Studies, case-studies' and I have added a couple of Custom Fields as well 'Project' and 'Client'.

Normally I would create a custom post template to get the Custom Fields to display where I want them. However I am using Pagelines DMS which doesn't have a post template as such. They advised me to add them in using a filter on a hook in the functions file, however I'm at a loss as to how to do that. While I have a good grasp of HTML and CSS, my PHP skills are rudimentary at best. I understand conceptually how that works but the specifics are beyond me!!

I wondered whether there was a method using filters in the function.php file for adding my custom fields so they show in the loop for the custom posts archive?

Thanks!


Viewing all articles
Browse latest Browse all 20145

Trending Articles