Questions tagged [taxonomy-meta]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
133 views

Get taxonomy singular name instead of taxonomy slug inside $taxonomy query

I'm trying to echo the taxonomy name inside a for each loop, instead of the category slug at this line : <div class="title"><?php echo $taxonomy; ?></div> I tried : <...
user2882154's user avatar
0 votes
1 answer
38 views

Clean Taxonomy terms in new post type wordpress

I created taxonomies for a post type and they work. The problem is that when I add a new post (in post type) in the front end the taxonomy terms I entered in the previous post are displayed by default....
pasquale's user avatar
1 vote
2 answers
947 views

How to show the a custom taxonomy term on single post metadata

I have a custom taxonomy called "Sources" (using Custom Post Type UI), where the sources are the names of publications where articles were originally published. Each post is an article, with a source ...
Jon Fergus's user avatar
-1 votes
2 answers
3k views

Why is my custom taxonomy image not displaying?

I have created a custom image taxonomy field in WordPress using CMB2. I cannot get the images to display for website visitors even though my code uses get_term_meta. (The taxonomy images are amenity ...
user avatar
0 votes
1 answer
21 views

Custom fields for taxonomies with custom value for each post

I really don't know if this is possible or not, but i can accept a alternative solution too. Here is what I gonna do: I have a barbershop post type, this cpt has a taxonomy called service. Well, no ...
Amirition's user avatar
  • 345
1 vote
1 answer
65 views

Add Custom Taxonomy for Blog Meta Info

Apologies but I'm not quite sure how to title this post. When my custom taxonomies are searched nothing shows up after "Posted In" I'm not sure how to go about adding it the categories php below. ...
Ashley's user avatar
  • 13
1 vote
0 answers
405 views

Adding tag's featured image to tag archive

I'm looking for a way to add a featured image to post tags, then display it on that tag's archive page. I currently have the name and description displayed in the sidebar, using a custom sidebar ...
Segia's user avatar
  • 69
1 vote
2 answers
2k views

show taxonomy meta field in template

i add some custom meta field to product taxonomy "artist" they work well and save to taxonomy /** add meta data to artist taxonomy */ function artist_add_meta_fields( $taxonomy ) { ?> ...
Muhama MHM's user avatar
0 votes
0 answers
178 views

How to position taxonomy meta box on page

I have successfully added a meta box to my custom taxonomy "attributes" using the following code: add_action( 'attribute_add_form_fields','add_icon_group_field', 10, 2 ); function ...
Ralphonz's user avatar
  • 324
0 votes
1 answer
102 views

Remove tags without a specific meta key from "choose from the most used tags"

I'm trying to only show the tags that are associated to the currently logged in author; I've got this 99% working, but the author can still choose tags associated to other users via the "Choose from ...
JacobTheDev's user avatar
  • 1,211
0 votes
1 answer
5k views

How to display taxonomy term custom meta (using wp_get_object_terms?)?

I am attempting to feed term meta values from my custom taxonomy, "firm"/"firms", on to a User profile page at author.php. Users are attached to this taxonomy thanks to the LH User Taxonomy plugin. I ...
Robert Andrews's user avatar
0 votes
1 answer
3k views

MySQL query for taxonomy-meta

I am working directly with MySQL, using MySQL workbench. Can you help me write a SQL query that will pull all custom taxonomies and their term-meta fields? I have a custom taxonomy called(slug) ...
italiansoda's user avatar
1 vote
1 answer
920 views

Insert form checkbox at bottom of taxonomy edit term page

I have created a custom taxonomy 'provider'. I have also added a checkbox to the add and edit term pages. The problem is that the checkbox I have created is showing at the very top of the page - right ...
karatecode's user avatar
4 votes
1 answer
4k views

Custom Taxonomy Meta Admin Column

I've added a custom taxonomy - shop_departments which is hierarchal. I've then added a meta field to this new taxonomy - term_meta[front_page] - which is all working fine. However, on the ...
Ralphonz's user avatar
  • 324
0 votes
0 answers
186 views

Filter custom taxonomy table

I am trying to make a limited admin panel for some users. I would like to customize the taxonomy menu so that there is only one term visible when a user has a specific capability, but also allow him ...
Panagiotis's user avatar
1 vote
1 answer
807 views

How to show taxonomy meta on frontpage?

For a website I am developing I have come across the following challenge. I have made a custom taxonomy "blog" (associated with both the Post-post_type and the User-object_type). With the taxonomy ...
user avatar
1 vote
1 answer
2k views

Creating conditional to display taxonomy term meta

I'm trying to display an extra meta field for taxonomy terms. wever I'm trying to create a conditional, in that, if the meta field is empty, show a default value. here's the code for creating the ...
NW Tech's user avatar
  • 717