Simple custom attributes on posts September 6, 2022 by Tarik Billa I solved this by storing value in post meta table