OK, I had a theme I was building that I hard coded CPT’s into and its working fine, but I felt this plugin would offer myself and others a nice GUI for maintaining.
I commented out the line in my functions that was importing my cpt.php file.
After adding new cpt’s and taxonomy’s into my theme there working perfectly?
In my theme had to change the line in my array from
'custom_cat' => 'home-page-below',to
'placement' => 'home-page-below',
‘placement’ being what I called my taxonomy.
I didn’t paste the code anywhere. Is this right? I’m usually a fan of if it’s not broke don’t fix it but I want to figure this out?
- The topic ‘Didn't paste code in functions.php but it's working?’ is closed to new replies.