Magenaut

Magenaut

A blog about Magento Development, Magento bug fixing, and more

Skip to content
Menu
  • Home
  • Notes
  • Tutorial
  • Bug fixing
  • Extension
  • Server
  • Q&A
  • About

Tag: taxonomy

Q&APosted onAugust 6, 2022

Set post terms on post publish

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

Read More
Q&APosted onAugust 6, 2022

Get term by slug in Gutenberg

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

Read More
Q&APosted onAugust 5, 2022

wp_set_object_terms creates taxonomies but does not add custom posts to it

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:

Read More
Q&APosted onAugust 5, 2022

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

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).

Read More
Q&APosted onAugust 5, 2022

Fetch taxonomies by custom post type id array

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

Read More
Q&APosted onAugust 5, 2022

How to show CPTs in term archive

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

Read More
Q&APosted onAugust 5, 2022

Save queried result into database

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:

Read More
Q&APosted onAugust 5, 2022

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

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

Read More
Q&APosted onAugust 5, 2022

Formulate a url to show posts with both taxonomy terms

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.

Read More
Q&APosted onAugust 5, 2022

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

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 !)

Read More

Posts navigation

Page 1 Page 2 … Page 8 Next Page

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 141 other subscribers

Recent Comments

  • anonymous on Fix libwacom9 dependency issue when upgrade Debian
  • sreedhar on Fix libwacom9 dependency issue when upgrade Debian
  • saintnick on Fix libwacom9 dependency issue when upgrade Debian
  • ranafoul on Fix libwacom9 dependency issue when upgrade Debian
  • John Fro on UFW rule from a list of IPs

Tags

actions ajax bash block-editor categories command-line custom-field custom-post-types custom-taxonomy customization database debian files filters functions hooks images javascript linux loop menus multisite permalinks permissions php plugin-development plugins post-meta posts rest-api security shell shell-script shortcode ssh terminal text-processing theme-development themes uploads url-rewriting users woocommerce-offtopic wp-admin wp-query

© Magenaut - The Magento Astronaut