Using WPAlchemy with already existing post meta

Home Forums WPAlchemy Using WPAlchemy with already existing post meta

This topic contains 0 replies, has 1 voice, and was last updated by  chifliiiii 1 year, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2516

    chifliiiii
    Participant

    I have like 1200 posts with working post meta, my goal is to make it work with WPalchemy.

    Problem is that WPalchemy uses an “id” which uses to retrieve the fields (in extract mode) and then gets the post meta of those fields.

    There is a way to get the fields without updating the post ?

    The class relies on
    // WPALCHEMY_MODE_EXTRACT

    $fields = get_post_meta($post_id, $this->id . ‘_fields’, TRUE);

    Instead of getting the fields from database would be great if we can grab them from the template files or something. I will take a look deep to the class but i wanted to asked first if someone run in the same situation before.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.