Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: [Post Meta] No display
    cristovamjr

    (@cristovamjr)

    And also, I had to change the way of POST META was indexing values in array. So, in my case, I had to do something like this:

    Replace:

    $product_1_info = get_duplicate_field(‘product_1_info’);
    if (is_array($product_1_info[1])) {
    foreach($product_1_info[1] as $d) {
    $moreinfo[] = $d;
    }
    }
    To:

    $product_1_info = get_duplicate_field(‘product_1_info’);
    if (is_array($product_1_info)) {
    foreach($product_1_info as $d) {
    $moreinfo[] = $d;
    }
    }

    Forum: Plugins
    In reply to: [Post Meta] No display
    cristovamjr

    (@cristovamjr)

    1. Open wp-content/plugins/post-meta/lib/models/pmGetModel.php
    2. Find “$Newdata[$count]=$dataUrl;” (line 104) and replace to “$Newdata[$count]=(isset($dataUrl))?$dataUrl:$d;”

Viewing 2 replies - 1 through 2 (of 2 total)