Home › Forums › Front-end Issues › Append Inline SVG to Menu item › Reply To: Append Inline SVG to Menu item
this get_field(‘social_icon_static’);
on its own outputs nothing, but this get_field('social_icon_static', $item)
outputs whatever is in the text field inside the correct tags.
Is that what you’re asking?
For some reason pulling in the svg renders it outside the tags of where I want it.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.