Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

custom-taxonomy

Fill New Taxonomies

So! I solve this situation with: wp_set_post_terms. I iterate my posts and for each one wp_set_post_terms make that part. See here: https://developer.wordpress.org/reference/functions/wp_set_post_terms/ Now I have my categories from wp and my customs post with his own categories.

Categories custom-taxonomy Tags advanced-taxonomy-queries, custom-taxonomy, taxonomy, woocommerce-offtopic, wpdb

Retrieve the child terms by having the parent’s information

Retrieve the child terms by having the parent’s information

Categories custom-taxonomy Tags custom-taxonomy, taxonomy, terms

Tree view wp-admin terms

Tree view wp-admin terms

Categories custom-taxonomy Tags custom-taxonomy, terms

Taxonomies and subtaxonomies relations

Taxonomies and subtaxonomies relations

Categories custom-taxonomy Tags custom-taxonomy, register-taxonomy, taxonomy

Custom taxonomy only gets saved in quick edit

Custom taxonomy only gets saved in quick edit

Categories custom-taxonomy Tags custom-taxonomy, save-post

Custom field with terms from another taxonomy programmatically

You can use ACF (Advanced Custom Fields) plugin to do this. Select Taxonomy field and set the field group to appear where you need to. I’m pretty sure the free version of the plugin has this field.

Categories custom-taxonomy Tags custom-field, custom-taxonomy, dropdown, register-taxonomy, taxonomy

Items from media library won’t get added to a custom taxonomy

i fixed my problem, the easy solution was to add to the args list just before the register_taxonomy : ‘update_count_callback’ => ‘_update_generic_term_count’,

Categories custom-taxonomy Tags custom-taxonomy, media-library

How to add a dynamic dropdown derived from custom taxonomy

You’ll need to add the cities as a child of a state and then expose your custom taxonomies using the rest API. After exposing it, you’ll need to fetch the cities based on the selected state. Please let me know if you need more information.

Categories custom-taxonomy Tags custom-taxonomy, dropdown, forms, taxonomy

Conditional if is single and part of the custom taxonomy

The first problem is that you’ve got a space in the first argument of has_term(). If you want to check for any term then you need to pass an empty string, but a space is not an empty string. Then, as documented, the second argument needs to be the taxonomy name. This should work: if … Read more

Categories custom-taxonomy Tags conditional-tags, custom-taxonomy

new custom filed not showing in taxonomy

new custom filed not showing in taxonomy

Categories custom-taxonomy Tags advanced-custom-fields, custom-taxonomy, taxonomy
Older posts
Newer posts
← Previous Page1 … Page55 Page56 Page57 … Page188 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress