Custom Field box history

I did a search for this phrase: “wordpress remove custom field value from the drop down menu”. A bit verbose perhaps, but it got me this link: http://sumtips.com/2011/03/add-delete-edit-custom-fields-wordpress.html From that page, the author states that you can do one of the following: Delete Custom Field from all posts. Delete it from the database. Delete it … Read more

Inserting data into MagicFields using mysql queries

I had the same problem but I was successful importing from an self produced xml (for the postmeta). <wp:postmeta> <wp:meta_key>telefono</wp:meta_key> <wp:meta_value><![CDATA[$tel_azienda]]></wp:meta_value> </wp:postmeta> The problem was that after that the data were not available to use with MF, I’ve solved it with this mysql query: INSERT IGNORE wp_mf_post_meta (`id`, `group_count`, `field_count`, `post_id`, `field_name`, `order_id`) SELECT `meta_id`, … Read more

Add Custom Profile Field as Notes

it would be easier to create a custom post type Notes, than on a user page just get all notes of a specific author and than display them. By creating a custom post type you may easily create a interface and all saving/handling functions. If you would like to do it as a custom field … Read more

Convert attachment ID into url?

You need the function wp_get_attachment_image_src() see http://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src In your code it would be something like: <?php foreach(get_field(‘connections’) as $relationship): ?> <?php $img = wp_get_attachment_image_src( get_post_meta($relationship->ID, ‘company_logo’, true ), ‘thumbnail’ ); ?> <img src=”https://wordpress.stackexchange.com/questions/40232/<?php echo $img[0]; ?>” width=”<?php echo $image_attributes[1]; ?>” height=”<?php echo $image_attributes[2]; ?>” /> <a href=”<?php echo get_permalink($relationship->ID); ?>”><?php echo get_the_title($relationship->ID) ?></a> <br /> … Read more