Viewing 1 replies (of 1 total)
  • Plugin Author David Aguilera

    (@davilera)

    Hi!

    I just tested it and it seems to be working fine. Please open the file includes/settings.php and go to line 64 (sanitize function). This is what you should see:

    // Save the IDs
    $fn = 'list_of_feat_post_ids';
    $new_input[$fn] = array();
    ...
    if ( ... ) {
      if ( ... )
        ...
      elseif ( ... )
        ... json_decode ...
    }

    If you add the following piece of code right after the previous snippet:

    echo '<pre>';
    print_r( $new_input['list_of_feat_post_ids'] );
    echo '</pre>';
    die();

    After doing that, if you try to edit your featured posts, WordPress will ignore your request and show a list of the IDs of your selected posts:

    Array
    (
        [0] => 27
        [1] => 361
        [2] => 47
    )

    Does the list still include the post you just removed?

Viewing 1 replies (of 1 total)
  • The topic ‘Showing featured posts even after unchecking them’ is closed to new replies.