Custom field for image upload in post body

This topic contains 2 reply and 2 voices, and was last updated by Oritro Ahmed 10 years ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
March 31, 2014 at 3:46 pm 17659
Oritro Ahmed I have a form with a custom field for image upload. How can I embed this image in the post it self? Like in this example?Custom field in post body (I don't want to use the option 'Enable image upload in post area', because users then can play around with settings, and I want every page to look the same) Regards, Monique
March 31, 2014 at 5:29 pm 17667
M M

Got it working by putting this in my single.php:
<?php echo '<div class="kennellogo">'; echo do_shortcode('[wpuf-meta name="logo" type="image"]'); echo'</div>'; the_content(); ?>

March 31, 2014 at 6:33 pm 17671
Oritro Ahmed Oritro Ahmed

We are Glad that you were able to fix it by yourself. 🙂

Viewing 2 Posts - 1 through 2 (of 2 total)