I'm having trouble adding custom SVG icons to the Social Icon Menu in WordPress Twentyseventeen Child Theme.The menu works fine with all pre-packaged SVGs included with the theme, but I can't add custom SVGs to the child theme.
Here's what I've done so far to add the "Etsy" SVG to the Social Icons Menu:
- Copy the
/assets/img/svg-icons.svgfile into the child theme
- Pasted the Etsy SVG's path into the
svg-icons.svgfile with all the other icons
- Copy the
/inc/icon-functions.phpfile into the child theme
- Add 'etsy.com' to the array of social media sites
- Then I "called" the
/inc/icon-functions.phpat the bottom of the child theme's
This didn't work. WordPress Core recommended using the
get_template_part function in New WordPress Functions and Hook Behaviors for WordPress4.7, but I've also tried:
All to no avail. The only thing that displays on the site is the "broken link" icon.
I also tried using require instead of include but this threw a 505 error and said "Site Down For Maintenance"
All caches cleared. Any idea what I'm doing wrong?
These articles reference very similar issues but none of them solved mine in particular: