Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icons in the selection are not displayed #20

Open
warrantor-Antony-Stedfis opened this issue Jun 17, 2020 · 0 comments
Open

icons in the selection are not displayed #20

warrantor-Antony-Stedfis opened this issue Jun 17, 2020 · 0 comments

Comments

@warrantor-Antony-Stedfis

Hello! I have been looking for this solution for a long time! Thank! But I have a problem.

The fact is that I use oxygen builder. He does not use the theme (disables it). I need to upload my svg icons.

I embed the following code in my plugin (alternative to funcions.php)

add_filter( 'acf_svg_icon_filepath', 'bea_svg_icon_filepath' ); function bea_svg_icon_filepath( $filepath ) { if ( is_file( plugins_url() . '/oxygen/component-framework/my-icons/icons.svg' ) ) { $filepath[] = plugins_url() . '/oxygen/component-framework/my-icons/icons.svg'; } return $filepath; }

Но ничего не происходит. Иконки не добавляются. В чем может быть проблема?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant