Simple Code for image display
-
Hi Pär
Thanks for the answer, but i don’t understand it. I want in a field group with textboxes a pictures to chose and display on a post. I can realise it with the WYSIWYG Editor Textfield and the code
$selected_value = simple_fields_get_post_value(get_the_id(), array(1, 4), true);
if ($selected_value) {
echo “Anbieter: $selected_value </br>”;
}But it would be more elegant if there is only a picture to chose.
As i mentioned before i have no idea about php, so i just used your examples and that worked fine for me.
Is there a way to use the examplecode for a picture?
Greetings from Japan
Tsurom
- The topic ‘Simple Code for image display’ is closed to new replies.