Forum Replies Created

Viewing 4 Topics - 1 through 4 (of 4 total)
Author Posts
January 21, 2015 at 2:46 am in reply to: Caption for uploaded images 34667
Matthew Carreau Matthew Carreau

I’m sorry, I think I am being misunderstood: I want users to be able to add captions to their photos.

As you can see from my previous post, users are given the option to add captions when they upload a photo, HOWEVER, the caption does not show up in the post.

Can you help me figure out how I can get the captions to display?


January 19, 2015 at 9:10 pm in reply to: Caption for uploaded images 34530
Matthew Carreau Matthew Carreau

Sorry. You should be able to access the form with the password: “password”


January 16, 2015 at 2:41 am in reply to: Caption for uploaded images 34267
Matthew Carreau Matthew Carreau

Thank you. This is the form:

When you choose an image it gives you the option to include a caption and description.

December 1, 2014 at 11:09 pm in reply to: Display Custom Fields ABOVE Post Body 31520
Matthew Carreau Matthew Carreau

You cannot use CSS alone to change where custom fields are displayed in a post.

I had to assigne each custom field a META KEY, then go into the content.php and input custom code to get that field to display where I want it in the post.

For example, I have a custom field that asks the user for a phone number. I assiged that field a meta-key of “phone_number” and then inserted this PHP code into content.php above the code that generates the post-body but below the code that generates the post-title:

if (get_post_meta( $post>
ID, 'phone_number' )) {
echo '<li> <span class="metaTitle"> Phone Number: </span>';
echo get_post_meta( $post>
ID, 'phone_number', true );
echo '</li>';

This displays the phone number below the title, but the custom field is still visbible in its original position below the post-body. To remove it, I have to use custom CSS to the custom-field.

This is a really REALLY complicated work around.

Why are custom fields displayed at the bottom of the post? Why are they not displayed in the order that they appear in the form? Can you recommend a better way for me to do this?

Thank you.

Viewing 4 Topics - 1 through 4 (of 4 total)