- This topic has 7 replies, 2 voices, and was last updated 2 months, 4 weeks ago by .
Hello, as far as the initial selection it's working. I have an option of 2 images and the database is showing which image I have selected correctly.
I have created a loop for Property Archives on a real-estate site.
The dynamic selection is showing and I can pick that field but the image does not show.
(If I simply select an image from the library it will show)
Here is the code for the image select
[ 'name' => __( 'Sales Person', 'your-text-domain' ), 'id' => $prefix . 'sales_person', 'type' => 'image_select', 'options' => [ 'image01' => __( 'http://mysite.ca/realestate400/wp-content/uploads/2021/04/female-1.png', 'your-text-domain' ), 'image02' => __( 'http://mysite.ca/realestate400/wp-content/uploads/2021/04/female02.png', 'your-text-domain' ), ], 'save_field' => 1, ]
- You must be logged in to reply to this topic.