Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search ajax term not registering in the actual taxonomy #5

Open
elisafern12 opened this issue Mar 13, 2018 · 2 comments
Open

Search ajax term not registering in the actual taxonomy #5

elisafern12 opened this issue Mar 13, 2018 · 2 comments

Comments

@elisafern12
Copy link

elisafern12 commented Mar 13, 2018

Hello! I have an issues and not sure if it's me:

I have a custom post type name Artworks, and a custom taxonomy named Artists.
I have successfully plugged the ajax search term field and everything is working great at this point.

However, I see that when choosing an artist via the ajax field, it is not registering to the Artists taxonomy - i.e, when I go to the taxonomy term, I see that the artwork is not attached to the artists.

``

$artwork_details->add_field( array(
	'name'          => __( 'Artist', '' ),
	'desc'    		=> 'Start typing a name (You must add the Artist in the Artist section FIRST.)',
	'id'            => 'auction_taxonomy_select',
	'type'          => 'term_ajax_search',
	'multiple'      => false,
	'limit'      	=> -1,
	'query_args'	=> array(
		'taxonomy'		=> 'artists_tax',
		'hide_empty'		=> false
	)


) );

``

On the Artwork page, I also see a sidebar taxonomy menu that allows to have multiple choices, is there a way to disable this?

Thanks a lot for this!

@elisafern12
Copy link
Author

elisafern12 commented Mar 13, 2018

Updated the post above.

@elisafern12 elisafern12 changed the title Search by term Search ajax term not registering in the actual taxonomy Mar 15, 2018
@investreads
Copy link

(I think) I'm seeing the same issue as @elisafern12 . It is not pulling data for a taxonomy multiselect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants