• chavo

    (@chavo)


    Hi. I’m using the plugin and is working ok (I’m unable to limit custom field boxes to certain categories but by the moment it isn’t necessary). My problem is that although I erase or edit the values the post with this custom fields are still listed.

    I think that the values are still grabbed into database.

    This is my code

    <?php $args=array('post_type' => 'post', 'post_status' => 'publish', 'meta_key' => 'bannerHome', 'posts_per_page' => 5, 'post__not_in'  => get_option('sticky_posts'));
    	$my_query_bannerhome = new WP_Query($args); ?>
        <?php if ($my_query_bannerhome->have_posts()) : while ($my_query_bannerhome->have_posts()) : $my_query_bannerhome->the_post(); ?>
        <div class="post" id="post-<?php the_ID(); ?>">
    	<?php if ( function_exists( 'get_the_image' ) ) { get_the_image(
    		array(
    		'custom_key' => array( 'bannerHome' ),
    		'default_size' => '',
    		'attachment' => false,
    		'link_to_post' => true,
    		'image_scan' => false,
    		'width' => '980',
    		'height' => '360',
    		)); } ?>
        </div>
        <?php endwhile; endif; wp_reset_query(); ?>

    How can I fix it?

    Thanks in advance.

    ps: sorry for my english

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chavo

    (@chavo)

    Well. I get into the database and in fact I found empty meta fields. So…the problem is that instead of erasing/editing values from WordPress admin, there aren’t erased from database. Is this a bug? Any way to fix it?

    Same problem here!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: More Fields] Unable to delete values’ is closed to new replies.