Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

taxonomy

Set post terms on post publish

August 6, 2022 by Magenaut

I am trying to set post terms on the post, when it is puublished

Categories Q&A, Wordpress Tags publish, taxonomy, terms Leave a comment

Get term by slug in Gutenberg

August 6, 2022 by Magenaut

In Gutenberg, one can use the getEntityRecord selector to get the data of a term of a specific taxonomy by its term id:

Categories Q&A, Wordpress Tags block-editor, categories, javascript, taxonomy Leave a comment

wp_set_object_terms creates taxonomies but does not add custom posts to it

August 5, 2022 by Magenaut

I am trying to call wp_set_object_terms in a function hooked to custom post creation (via wp_insert_post_data) to set taxonomies tags for the post from a custom field:

Categories Q&A, Wordpress Tags custom-field, custom-post-types, customization, hooks, taxonomy Leave a comment

How to modify the output of wp_terms_checklist when used within the built-in category metabox on edit posts?

August 5, 2022 by Magenaut

On the Edit Screen in the WP Admin there is a meta box for WP’s built-in Category taxonomy. This meta box is built using post_categories_meta_box() (/wp-admin/includes/meta-boxes.php).

Categories Q&A, Wordpress Tags categories, metabox, post-meta, taxonomy, walker Leave a comment

Fetch taxonomies by custom post type id array

August 5, 2022 by Magenaut

I want to find all the taxonomies that match an array of CPT id’s.

Categories Q&A, Wordpress Tags custom-post-types, custom-taxonomy, taxonomy, wp-query Leave a comment

How to show CPTs in term archive

August 5, 2022 by Magenaut

I attached default taxonomy “category” to a “story” custom post type, when I register it:

Categories Q&A, Wordpress Tags categories, custom-post-types, taxonomy, wp-query Leave a comment

Save queried result into database

August 5, 2022 by Magenaut

in multi author website when author publish post , he/her can give star rating to his/her own post. and I can display average rating for every taxonomy term using this formula:

Categories Q&A, Wordpress Tags meta-value, taxonomy, terms, wp-query, wpdb Leave a comment

Get the term for an taxonomy archive when the term has no posts

August 5, 2022 by Magenaut

Seems like it should be simple (the Stack Overflow catchphrase)

Categories Q&A, Wordpress Tags taxonomy Leave a comment

Formulate a url to show posts with both taxonomy terms

August 5, 2022 by Magenaut

I would like to show an archive of posts that have two taxonomy terms in common. So for example, I’d like to show all posts that have both the terms “sauce” and “cheese” in the custom food taxonomy.

Categories Q&A, Wordpress Tags multi-taxonomy-query, pre-get-posts, taxonomy, terms, wp-query Leave a comment

Paginate_links won’t create the right links on a taxonomy filtered custom post type archive

August 5, 2022 by Magenaut

after hours and dozen of tests and messes… i’m face to the wall and fed up searching (mainly cuz my google’s answers are already all clicked !)

Categories Q&A, Wordpress Tags custom-post-types, paged, paginate-links, taxonomy Leave a comment
Older posts
Page1 Page2 … Page8 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress