MeanPug WordPress Developer Challenge - Pugsly-Para - #35
Open
Paramisor wants to merge 1 commit into
Open
Conversation
Installed plugins, registered law firm CPTs and taxonomies in code, and built out ACF field groups for all content types.
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.
MeanPug WordPress Developer Challenge
Challenge 1: Pugify That Site
Replicated the Airbnb homepage above-the-fold design in WordPress using Elementor Pro.
The layout includes:
Challenge 2: Nothing's Sexier Than a Solid Schema
Before writing any code I read through the existing theme architecture (functions.php, hooks.php, schema.php, locations.php, etc, to understand what content types and field names the theme was already expecting.
This shaped the decisions that followed.
Registered in code so definitions are version-controlled and portable:
ACF Field Groups
Built field groups for all CPTs with field names matching exactly what the existing theme code calls via get_field():
ACF PRO Notes
Two field types in this implementation require ACF PRO:
schema_faq_items on Practice Areas — implemented as a Group in free ACF.
social_profiles on the Options Page — same situation, implemented as a Group, should be a Repeater in production.
Options Page itself requires ACF PRO — the page registration is already scaffolded in inc/settings/all.php, field group is ready to activate once PRO is in place.
Plugins Installed
Named the branch Pugsly-Para. Pugsly felt right. Sorry, not sorry.