ingenting — 2013-02-28T17:33:46-05:00 — #1
I am trying to display an image and some text beneath my content i have made two custom fields one containing only text and one with image url. The text is is working fine, image is not displaying
I have added this code to my my page template <img scr="<?php echo get_post_meta($post->ID, 'megabilled', true); ?>" />
In firebug i can see the picture but not on the page. I have tried using "mysite/wp-content/uploads/2013/02/image.png" and an absolute url.
Btw i am new to Wordpress.
harrieb — 2013-02-28T23:44:20-05:00 — #2
Just go to your post,
click on the image button in the text editor and click on upload.
Then upload the image from your computer.
Change the alignment and the size.
Once you are done with it, just click on insert.
Then hit enter and type your text beneath the Image.
Here is a good tutorial for the same:
ingenting — 2013-03-07T09:21:02-05:00 — #3
I am talking about custom fields not post. Please read again.