Support

Account

Home Forums General Issues Replacing the_content with custom fields Reply To: Replacing the_content with custom fields

  • Most likely post revisions messing with the code. Add this right at the beginning of your function

    
    if (wp_is_post_revision( $post_id ) ){ return false; }