Are functions within a plugin available to use in theme?
-
Hi everyone,
I defined my custom post type, custom taxonomies, and custom fields and meta box within a plugin so it can be used no matter what theme.
Within the plugin, I also created functions to use for outputting the data.
Unfortunately, from what I’ve been reading, it looks like I can only use global $post within the loop.
I’d like to use get_post_custom to grab all values and then output them where needed.
Do I have to write code within each of my template files to do that? I thought it would be easier to create functions and then just call them?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Are functions within a plugin available to use in theme?’ is closed to new replies.