Advanced Custom Fields into functions.php

Question

I’m trying to include a few custom fields I’ve created in my functions.php file so they’re native to the theme I’m working on. However they’re not showing up on the edit screens of the posts I’ve set them to.

I’ve included the acf plugin in my theme by using this code in my functions.php: include_once(‘advanced-custom-fields/acf.php’);

I also exported the fields to php and copy and pasted the code in the functions.php of my theme. Can anyone tell me what I’m doing wrong?

0
, Joshua 6 years 2017-01-22T09:01:40-05:00 0 Answers 78 views 0

Leave an answer

Browse
Browse