I am new to php and I am using wpalchemy to create a custom metabox. I want to output the info from the metabox on a template page, not inside a loop. I have tried the following to no avail per the documentation on wpAlchemys site. Side note I want to create a custom metabox with the ability to upload multiple images is wpalchemy a good starting point to do this.

    global $custom_metabox;

1 Answer 1


try specifying the ID of the post for which you need to get data from:

  • I Tried $custom_metabox->the_meta(2); based on my url /wp-admin/post.php?post=2&action=edit to no avail Mar 14, 2012 at 17:25
  • I am actually trying to do this with the image uploader tutorial off your site. The multiple image uploader metabox is working, but I don't know how to output it on my template Mar 14, 2012 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.