Include in theme with acf/acf/include_fields hooks
-
I use your ACF: Google Font Selector plugin for my project. Firs of all I would like to thank you about this beautiful plugin that you share with all community.
I have little problem with this plugin and I think that you can help me about this issue.
I would like to include this plugin in my theme. So I would like to use acf/include_fields hook to do this. But this is not working for me. If I install as a plugin everything it’s ok.I also contacted with acf team and he told me to contact with you.
This is my code:function athena_register_fields(){
include_once(‘includes/add-ons/acf-google-font-selector-field/acf-google_font_selector-v5.php’);
}
add_action(‘acf/include_fields’, ‘athena_register_fields’);So
When I include with code I got this: http://prntscr.com/7slgwg
When I install as plugin I got this: http://prntscr.com/7sli3q
The topic ‘Include in theme with acf/acf/include_fields hooks’ is closed to new replies.