carrieforde / carrieforde/WP-Component-Library

Add a way to filter the location of template parts within themes & child themes

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, within a theme / child theme, we're limited to grabbing things from `template-parts/components/`, and call the template parts _must_ be prefixed with `component-`. This is fine, but in the context of a theme, might not make the most sense. Having the ability to filter these would be aces. 👌

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that resolves template parts under template-parts/components/ and applies the component- filename prefix for themes and child themes. Trace how a theme-specific location is selected, then define and verify a filterable location and naming behavior for both theme types.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.