Hanson.xyz Dev 42a06a5435 Add agent listing page with ordering and disabled agent support
- Added agent_order (number) and agent_disabled (toggle) ACF fields
- Created archive-agent.php template for /agents/ listing page
  - Queries only active agents, ordered by agent_order then title
  - Grid layout with agent cards showing photo, name, title, bio
  - Contact action buttons (phone, email, profile)
- Added "Agents" link to footer fallback menu
- Updated single-agent.php to return 404 for disabled agents
- Updated property-agent.php to handle disabled agents:
  - Shows agent name and photo (for historical reference)
  - Replaces agent contact with office phone number
  - Removes Agent Profile button and email
  - Adds "Contact Us" button linking to contact form
- Added archive-agent.scss with responsive grid styles

Admin can now:
- Set display order for agents (lower numbers first)
- Disable agents who have left (hides from listing, 404s profile)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 19:10:38 -06:00

HomeProz Real Estate WordPress Site

Custom WordPress theme for HomeProz Real Estate (Albert Lea, MN).

Project Structure

  • /wp-content/themes/homeproz/ - Custom theme
  • /db-snapshots/ - Database snapshots for each development phase
  • /contract/ - Project documentation and planning
  • /CLAUDE.md - Development mandates and specifications

Development

cd wp-content/themes/homeproz
npm install
npm run dev    # Development with hot reload
npm run build  # Production build

Technology Stack

  • WordPress 6.x
  • PHP 8.1+
  • Tailwind CSS
  • SCSS (via Vite)
  • jQuery
  • ACF Pro

Client

HomeProz Real Estate, LLC 111 E Clark St, Albert Lea, MN 56007

S
Description
No description provided
Readme 357 MiB
Languages
PHP 74.7%
JavaScript 12.4%
CSS 7.5%
HTML 5%
SCSS 0.4%