Home › Forums › General Issues › Setting default image url for theme? › Reply To: Setting default image url for theme?
This is for the option pages, so not a post per se. It’s the main site logo, so I was assuming I’d need to use an update field and set the URL since it’s inside of the theme/images folder and not in the wp image gallery.
I was hoping to easily be able to just do something like update_field (logo, url, value) but no luck.
Looking for some example code on how to accomplish this.
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.