Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Mad Max

    (@mad_max)

    Ok, I feel stupid! That’s very simple: just use bawmrp_li action, use global $post variable to retrieve the custom filed value and then return it appendend to the content.

    Thread Starter Mad Max

    (@mad_max)

    mmm, that’s not so simple. I had to modify the plugin code and add the current related post id to the action bawmrp_li action on line 99:

    $list = apply_filters( 'bawmrp_li', $list, ++$n, $id );

    So now, using related post id, I’m able to retrieve every data I need about each related post.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘need to add a value from a custom field’ is closed to new replies.