bainternet / Tax-Meta-Class

A class for creating WordPress taxonomies custom fields
http://en.bainternet.info/2012/wordpress-taxonomies-extra-fields-the-easy-way
GNU General Public License v3.0
406 stars 111 forks source link

get_tax_meta can't display Posts (as repeater or not) - multisite environment #98

Closed leowski closed 9 years ago

leowski commented 9 years ago

Hi Ohad and guys,

Thanks for your great plugin. I works perfectly for me to set up and display all kind of fields except "posts".

I first tried as a repeater (cause that's what I wan't at the end) and then tried just like a simple post and still nothing appears.

The field does appear in the back-end but nothing in the front-end.

Here is what I got in my code : $my_meta->addPosts($prefix.'produit_sidebar1',array('args' => array('post_type' => 'sidebar_bloc')),array('name'=> __('Sidebar bloc 1','tax-meta')));

$sidebar_bloc1 = get_tax_meta( $produit_cat->term_id, 'ba_produit_sidebar1', true);

but there's nothing in it.

Is it cause I'm in a multisite environment? Any idea?

Thanks a lot!

j-mccarthy commented 9 years ago

Hi @leowski, did you manage to display the repeater field. I am still having trouble displaying this also.

leowski commented 9 years ago

Yeah I did. Sorry for the delay but it was my bad. The plugin works great!