the answer for all question about Oxygen Builder plugin and WordPress

For those using metabox and need to pull in custom taxonomy fields within a cust


For those using metabox and need to pull in custom taxonomy fields within a custom post I used the following to implement. I’m not very strong in php but was finally able to figure this out. Oxygen 3.9 has metabox integration but doesn’t seem to pull in custom taxonomy fields within a post template. You can use Code Snippets or Advance Scripts to setup the following:

This function only pulls values from things like text fields:

‘term’], $term->term_id );
return $data;
}
}

I created another function for image urls (pretty much the same function:

‘term’], $term->term_id );
return $data[‘full_url’];
}
}

Within oxygen builder > dynamic data > Advance PHP Function >
define the function name (ie:mbtaxtxt) and in arguments define your metabox custom field id.

I know this prob isn’t the best way to implement or code the above but I had 4 unanswered fb posts for the following and had no luck w/ support. This was the best I could do lol. Hope it helps someone.


Source

Leave A Reply

Your email address will not be published.

Oxyrealm Docs