• Hello,
    I am using OptionTree in theme mode together with Roots starters theme.
    I managed to set up options, activate and add metaboxes. Everything seems to work fine except ot_get_option( $option_id) doesn’t seem to pull the information from metabox field. It works fine from theme option panel though. It is highly likely I am doing something wrong since I am not experienced programmer.

    Example:
    I have a metabox field with id set to quote_source
    if I echo out ot_get_option( quote source ) I do not get anything.
    What am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    I have the EXACT same issue. Setting metaboxes using OptionTree works fine, but HOW TO ACTUALLY RETRIEVE THE SAVED DATA???

    I tried to use get_post_meta() but apparently this is not where the data is saved as there is no trace of my metaboxes data.

    Checked using:
    <?php $test = get_post_meta($post-ID); print_r($test); ?>

    $post-ID is the correct ID of the page, verified that already.

    Please advise!

    @hozefze: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem – despite any similarity in symptoms – is likely to be completely different.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘referenting OptionTree metabox values’ is closed to new replies.