using WPalchemy to output custom metabox from homepage template August 25, 2022 by Tarik Billa try specifying the ID of the post for which you need to get data from: $custom_metabox->the_meta(101);