Skip to content
Advertisement

how to display upload or default logo in redux framework option

I am using Redux Framework for WordPress theme. Then upload logo from redux options panel.

here is my redux option code :

JavaScript

here is my display code :

JavaScript

i want to display default image if image is not uploaded. this code is display uploaded image perfectly but when i delete uploaded image from redux option default image is not showing.

Please help ?

Thanks

Advertisement

Answer

ok finally i got the answer and my code is working fine.

here is my output working code:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement