Restore portfolio home and Projects CPT - #179
Merged
Merged
Conversation
Co-authored-by: Matt Hummel <matthummel@proton.me>
Co-authored-by: Matt Hummel <matthummel@proton.me>
Co-authored-by: Matt Hummel <matthummel@proton.me>
Co-authored-by: Matt Hummel <matthummel@proton.me>
Co-authored-by: Matt Hummel <matthummel@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Home stays the hireable developer portfolio (3.5.27). This update converts theme/plugin/app products into Projects custom posts and puts the listing back on
/projects/with standard portfolio copy.projectCPT (labels: Projects). Listing page owns/projects/; singles own/projects/{slug}/.mh_products_synced_to_projects_v1imported Acreline, WalkRidge, and TOCflow fromproduct-catalog.jsonand linked matching Woo products. Service add-ons are skipped. Old studio demo sites are not re-imported./projects/is no longer 301’d to/shop/./concept/goes to Projects. Linked/product/{slug}/and/shop/redirect to Projects while the public shop is off.Why
Matt asked to convert products into a Projects CPT instead of a Work/shop listing, and to use standard portfolio copy.
How it was tested
Local WordPress at
http://127.0.0.1:8080:/projects/and/projects/acreline/return 200./shop/→/projects/(301)./product/acreline/→/projects/acreline/(301).Rollback
Revert this branch / close the PR. Existing Woo products stay in the database.
Deploy
Not for production until Matt reviews and merges to
main, then Appearance → Update Theme on hummelwp.com and purge LiteSpeed.