WP Electronic Parts
Database for electronic parts
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sfambach/wp-electronic-parts/archive/refs/heads/main.zipWordPress plugin for managing electronic parts with a hierarchical category tree.
Playground version (0.1.0) — enough to explore the admin UI and decide what custom term properties you need later.
Author: Stefan Fambach
Version: 0.1.0
License: GPLv2 or later
What's included
- Custom post type Electronic Part (
electronic_part) - Hierarchical taxonomy Part Categories (
part_category) - REST API enabled for both (Gutenberg-ready)
- Admin column showing categories on the parts list
Installation (local)
- Copy or symlink this folder into
wp-content/plugins/wp-electronic-parts/ - Activate WP Electronic Parts under Plugins
- Open Electronic Parts in the admin menu
After activation, visit Settings → Permalinks once and click Save so rewrite rules are flushed.
Try it out
- Create a category tree, e.g.:
- Passive Components
- Resistors
- SMD 0805
- Capacitors
- Resistors
- Semiconductors
- Transistors
- Passive Components
- Add a few Electronic Parts and assign them to categories
- Check the front end at
/parts/and category archives at/part-category/...
Planned next steps
- Custom properties on category nodes (term meta)
- Part-specific fields (MPN, footprint, value, datasheet URL, …)
- Blocks or templates for browsing the tree
GitHub export
cd C:\devel\wordpress\wp-electronic-parts
git init
git add .
git commit -m "Initial playground: hierarchical part categories"
gh repo create wp-electronic-parts --public --source=. --push
Adjust visibility and remote name as needed.