
WordPress code snippets for hooks, custom post types, the REST API, WP_Query, admin screens and more. Copy, paste and adapt.

In code block when you are using script add to PHP tab: You need to put path from /wp-content/ and not just plugins folder PHP JavaScript Note: Got this trick from a good friend Alexander Buzmakov. Visit his tutorials oxywp.com.

Open preferences by pressing Command + “,” And paste the following snippet Taken from: https://gist.github.com/supawaza/8009192

If you need just parent cagetory Parrent Child Child Child

Replace “projeckte_cat” with your taxonomy slug.

PHP in Function PHP in codeblock CSS

List of categories for posts with link to archive and wrapped in classes To enable it for taxonomies add this line and replace ‘produckte’ with your taxonomy slug And on the end you will get this for custom categories ( taxonomies) Here is preview of HTML output:
3rd party plugins actions admin archive block-themes Blocks build Category config core CPT CSS csv Custom Post custom post types Developer development export Front End gutenberg hook Image img include js livereload load styles loop Must Have notice npm Oxygen plugins publish release repeater security single product Taxonomy themes Tips webpack WooCommerce wordpress WP Admin