I have problems adding custom SVG icons to the social icons menu in WordPress Twentyseventeen Child Theme.The menu works fine with all the prepackaged SVGs included in the theme, but I can not add custom SVG to the child theme.
Here's what I've done so far to add the "Etsy" SVG in the social icons menu:
- Copy the
/assets/img/svg-icons.svgdrop in the theme of the child
- Stuck the way to the Etsy SVG in the
svg-icons.svgfile with all other icons
- Copy the
/inc/icon-functions.phpdrop in the theme of the child
- Add & # 39; etsy.com & # 39; to the range of social media sites
- Then I called "the
/inc/icon-functions.phpat the bottom of the child's theme
It did not work. WordPress Core recommended to use the
get_template_part function in the new WordPress functions and hook behaviors for WordPress4.7, but I've also tried:
All in nothing.
I've also tried to use require instead of understand but this threw a 505 error and said "Site Down For Maintenance"
All caches erased. An idea of what I'm doing wrong?
These articles refer to very similar problems, but none of them solves mine in particular: