More Fields
Unable to delete values (3 posts)

  1. chavo
    Posted 4 years ago #

    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(
    		'custom_key' => array( 'bannerHome' ),
    		'default_size' => '',
    		'attachment' => false,
    		'link_to_post' => true,
    		'image_scan' => false,
    		'width' => '980',
    		'height' => '360',
    		)); } ?>
        <?php endwhile; endif; wp_reset_query(); ?>

    How can I fix it?

    Thanks in advance.

    ps: sorry for my english

  2. chavo
    Posted 4 years ago #

    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?

  3. Cibulka
    Posted 4 years ago #

    Same problem here!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • More Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic