• Resolved marcoc84

    (@marcoc84)


    https://ibb.co/Qr4GMSW
    https://ibb.co/KrYnPZB

    I have included the plugin in the theme but there are bugs.

    include_once( get_stylesheet_directory() . ‘/includes/advanced-custom-fields-font-awesome/acf-font-awesome.php’ );


    the icons are not visible ( see image) also in the settings if I write my FontAwesome API Token it does not do the validation and does not show any kit.
    instead if I install the plugin with the classic wordpress method it works.

    how can i include the plugin in the theme without these errors?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter marcoc84

    (@marcoc84)

    In acf-font-awesome.php, I have updated the code blocks where ‘ACFFA_PUBLIC_PATH’ and ‘ACFFA_DIRECTORY’ are defined and the functions file, but I do not display the plugin entry in acf.

    Thread Starter marcoc84

    (@marcoc84)

    In acf-font-awesome.php, I have updated the code blocks where ‘ACFFA_PUBLIC_PATH’ and ‘ACFFA_DIRECTORY’ are defined and the functions file, but I do not display the plugin entry in acf.

    Plugin Author Matt Keys

    (@mattkeys)

    This might have been what you were asking about earlier, but just to clarify in case you are missing it. You do still need this code in your functions.php:

    include_once( get_stylesheet_directory() . '/third-part/plugins/advanced-custom-fields-font-awesome/acf-font-awesome.php' );

    • This reply was modified 1 year, 7 months ago by Matt Keys.
    Thread Starter marcoc84

    (@marcoc84)

    great!! thanks for your support it is now working

    Plugin Author Matt Keys

    (@mattkeys)

    Glad to hear it! I’ll look to integrate this solution in the next release of this plugin.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘bug Include the plugin from your theme functions.php’ is closed to new replies.