Hotel Green Valley
A Himalayan hotel in Nagarkot whose static Tailwind design became a fully editable WordPress site, with direct room reservations priced on the server.

Overview.
Hotel Green Valley sits at 2,175 meters in Nagarkot, facing a Himalayan panorama that runs from Everest to Ganesh Himal. Its site covers rooms and suites, the Kaushi rooftop restaurant, events, recreation, a Nagarkot guide, a photo gallery and a three-step direct reservation engine. Under it is a classic PHP WordPress theme on ACF Pro and Tailwind 4: every page is a 1:1 copy of a static HTML design, assembled from 18 flexible-content layouts, room fields and a Hotel Settings page holding the phone, address, menus, tax rates, add-ons and booking texts — 273 fields in all, so nothing visible is hardcoded.
Challenges.
The theme arrived half-wired: templates read ACF fields that were never defined, the contact form had no server handler and showed "thank you" even when sending failed, prices and taxes were duplicated between PHP and JavaScript, and pages had drifted from the design. I rebuilt it in six phases with the static HTML as the source of truth, comparing each page's rendered DOM and pixels in a real browser until room pages matched at 98.8% and headers at 100%, then wrote a versioned seeder that installs rooms, menus, settings, photos and page content on a fresh site, with backup and restore. A security review closed the rest — file exposure, SVG uploads, price tampering and user enumeration — so every reservation is now priced on the server, and the forms are validated, rate-limited and guarded by a honeypot.








