Home › Forums › Support › how to get background image url This topic has 3 replies, 2 voices, and was last updated 3 years, 11 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 17, 2019 at 3:17 pm #872035 Marco Hello I’m looking for a function like get_option to get the body background image url set in the customizer. thank you in advance for your help. April 17, 2019 at 9:07 pm #872165 TomLead Developer Lead Developer Hi there, You would do this: $settings = wp_parse_args( get_option( 'generate_background_settings', array() ), generate_get_background_defaults() ); $body_background_image = $settings['body_image']; Let me know if you need more info ๐ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development April 18, 2019 at 4:02 am #872394 Marco Thanks – that worked April 18, 2019 at 8:51 am #872752 TomLead Developer Lead Developer You’re welcome ๐ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In