31 responses to “WPAlchemy MetaBox: Data Storage Modes”

  1. Dan Gavin

    I believe I have everything set up correctly and I am using the WPALCHEMY_EXTRACT_MODE on my custom meta box.

    I have a checkbox set up that when checked should let the user add that post to the front end of the site. When I check the box it saves, but nothing is coming through on the front end. My code is as follows:


    Any thoughts?

  2. Jesse

    How would I do a query for posts with a meta field that have a certain checkbox checked?

    I have my metabox setup to use EXTRACT and the box values are post ids – so basically, I am looking for the posts that have a certain id checked.

    I tried to use this in my query arguments:
    ‘meta_query’ => array(
    ‘key’ => ‘_workshop_speakers’, //checkbox array
    ‘value’ => $post->ID, //id to query for
    ‘compare’ => ‘IN’

    but it’s not finding anything.

  3. Catherine Sandrick

    First let me say thank you for this class! It’s amazing.

    I have a very similar issue to Federico Vezzoli and I did not see a response to his query. I have a number of items stored in WPALCHEMY_MODE_ARRAY and now I find I need to create a search routine that tests against meta data. I will have to convert a couple hundred entries with multiple fields each to WPALCHEMY_MODE_EXTRACT, and am wondering if there is a ready built automation for this that I simply don’t see in the docs.

    Thanks again!

  4. Catherine Sandrick

    I did this. Seems to work. I’m sure it could be improved upon.


  5. Joseph

    I have this in a plugin and working no problem. Now I want to get the meta data in a theme file. The theme file is in a child theme. I have spent all day working on this with no joy. How would I do this? Do I need to include anything?

Leave a Reply