ASURA WORKS. Back to projects

WordPress / Dog hotel and senior home

Wonderful Home

Openings and prices
counted by the admin.

A website for Wonderful Home, a fictional dog hotel and senior dog home run in a house with a garden in Ome, Tokyo. It is a site in a WordPress multisite network with eleven pages: home, first visit, dog hotel, senior home, prices, availability and booking, the stay diary, news, the house and staff, visits and questions, and the privacy policy. Its centrepiece is an admin that calculates. Openings are never set by hand: the site counts them day by day from the number of rooms and the bookings. The price table, the availability calendar and the booking estimate all read one admin page, Prices and opening days. The page shows, with the screens before and after, a phone booking changing an availability mark and a busy period raising the booking estimate. The site is in Japanese only, and the booking and visit forms go through to their completion screens without sending anything.

Open the site

This work is an original adaptation of a commissioned project.

Photos cut
into a shiba.

After comparing how similar facilities organise their sites and price their stays, the warm Nordic home direction was chosen from four mockups made with Codex. The background is off-white, the text dark brown, the accents terracotta and sage, and the headings a rounded Japanese sans-serif. The dog hotel and the senior home carry equal weight, so the homepage opens both with two cards of the same size.

The 61 photos were made with Codex. Reference sheets for the shiba mascot and the three staff members came first and were checked before the rest, so the same dog and the same people appear across the pages.

The site's signature is the shiba frame. The homepage photo, the two entry cards and the diary cards are cut into the shape of a shiba looking left. As a frame comes into view it turns from an arch into the shiba, an ear twitches now and then, and the ears fold back under the mouse.

Edit one place
and three change.

One page was added to the admin: Prices and opening days. The hotel's nightly prices (12 fields: three weight classes × two room types × regular and busy), the number of rooms, the options, the senior home's monthly fees, the busy periods, the closed weekdays and per-day settings for the next two months are all edited here. Every field is checked before saving, and if any one is wrong, nothing is saved.

The price table, the availability calendar and the booking estimate read these settings through the same single function, so one save changes all three together. Openings are the number of rooms minus that night's bookings, and the site counts the ○, △ and × marks each day. Bookings taken by phone are added one by one to the bookings list. The sample bookings make way for them, and only a booking that lands on a night already filled by phone bookings is not published: it goes back to draft with a notice. Changing the closed weekdays also changes sentences such as "except Wednesdays" in the phone hours in the header and footer.

The salon on the same WordPress used ACF for its input fields. This site uses neither ACF nor a booking plugin: the admin page, the input fields and the calculations are all written in the child theme's PHP and JavaScript. That gives shapes such as the 12-field price table and the list of busy periods exactly as planned, and no outside plugin update can break them.

See the openings
then book from there.

On the availability and booking page, the visitor picks a room and taps the drop-off and pick-up days on a two-month calendar. The calendar shows ○, △ and × marks, an underline on busy nights and a closed sign (休) on closed days. Each time the weight, the number of dogs or the options change, the estimate on the right is added up again night by night at the regular or busy price.

If the stay includes a closed day or a full night, the estimate gives the reason instead and the form does not go on. The input, confirmation and completion screens can all be tried, but the input stays in the browser: nothing is sent or saved. The senior home's visit and question form works the same way.

Someone is there at night
told by scrolling.

The homepage's main moment is From day to night. The screen holds still while scrolling swaps four photos of the same room, morning, noon, evening and night, turns the background from off-white to night blue, and finally floats tags such as 22:00 rounds and 2:00 checking their breathing. Next, A day's stay turns a clock's hands over a timetable that scrolls sideways on wide screens. In One photo through the years the shiba mascot grows from a puppy into an old dog, and a line of paw prints draws itself from the two entry cards to the next section.

The motion uses no outside library, only requestAnimationFrame and IntersectionObserver. Only what is on screen moves, and visitors who set their device to reduce motion see everything laid out flat instead. Search, date and author lists that the site does not have return 404, and every page is set to stay out of search engines.

Project details

Version
1.0.0
Project type
Fictional website
Scope of work
Design and build of a WordPress child theme, the prices and opening days screen, the openings and price calculations, and the booking and diary input fields
Tools
WordPress (multisite) / SQLite / WP-CLI
Web parts plugin
Pages
11 pages, including the diary and news lists; 8 diary entries and 4 news posts
Languages
Japanese
Breakpoints
960px and up / 600–959px / 599px and below

The live site
beside the admin screens.

What the client edits in the admin, each shown beside the live site. For the screenshots, a busy period and a phone booking were each added on the live site, and the before and after were taken in the same place (both were removed afterwards).

  1. 01Price table

    The tables on the prices page show the 12 fields of Prices and opening days as they are. Each weight class has its regular and busy nightly price, and counts such as "6 rooms, one dog each" next to the room names come from the room count fields.

    Saving with a field that is not a number, or left empty, lists which fields are wrong and saves nothing. Saved prices appear from the next page load in the price table, the availability and the booking estimate alike.

    The live prices page in Japanese, headed dog hotel (per night, per dog), with two tables: private room (6 rooms, one dog each) and large private room (3 rooms, up to 2 dogs from the same family). Private room: small 5,500 yen, busy 6,600 yen; medium 6,600 and 7,700 yen; large 8,800 and 9,900 yen. Large private room: small 7,700 and 8,800 yen; medium 8,800 and 9,900 yen; large 11,000 and 12,100 yen
    Live site
    The top of the Prices and opening days admin screen in Japanese: the hotel's nightly prices (per dog, tax included, yen) in 12 fields for small, medium and large × private room and large private room × regular and busy (5500, 6600, 7700, 8800 and so on), and below them the number of rooms (6 private, 3 large)
    Admin (Prices and opening days)
  2. 02Adding a busy period

    Each busy period is one row: a name and a month-day start and end. A period may run across the new year, and ticking remove and saving deletes it. The per-day settings can also make a single day busy or closed.

    For the screenshots, a winter holidays period was added for the nights of December 3 and 4. The estimate for the same two nights in a private room went from regular nights at 5,500 yen × 2, 11,000 yen, to busy nights at 6,600 yen × 2, 13,200 yen, and those two days on the calendar gained the busy underline.

    The live booking screen in Japanese with a private room for the two nights from December 3 to 5. The estimate reads regular nights 5,500 yen × 2, estimated total 11,000 yen
    Live site (before adding the busy period)
    The busy periods in the Prices and opening days admin screen in Japanese: New Year 12-27 to 01-04, Golden Week 04-29 to 05-06, Obon 08-10 to 08-18 and the autumn holidays 09-19 to 09-23, plus the added winter holidays row 12-03 to 12-04 and two empty rows, each with a remove box on the right
    Admin (winter holidays added)
    The same live booking screen in Japanese. The estimate now reads busy nights 6,600 yen × 2, estimated total 13,200 yen, and December 3 and 4 on the calendar carry the busy underline
    Live site (after)
  3. 03Adding a phone booking

    Bookings taken by phone are entered from Add a phone booking in the bookings list. Publishing one with the room, the drop-off and pick-up days, the weight, the number of dogs and the dog's name takes one opening off those nights.

    For the screenshots, a one-night booking was added on November 22, where the homepage's next two weeks showed △ (one room left) for private rooms. Once it was published, the same day's private rooms turned to × (full). The list also holds sample bookings remade every day so the dates never go stale, and phone bookings stay apart from them.

    The live homepage's openings for the next two weeks in Japanese: marks for private and large private rooms from November 21 to December 4. Private rooms on November 22 (Sun) show △
    Live site (before adding the booking)
    The edit booking admin screen in Japanese: a published notice, the title phone, Komugi, and the stay fields room (private room), drop-off day (2026/11/22), pick-up day (2026/11/23), weight (small), dogs (1) and the dog's name (Komugi). On the right, published and an update button
    Admin (phone booking added)
    The live homepage's openings for the next two weeks in Japanese. Private rooms on November 22 (Sun) now show ×, and every other mark is the same as before
    Live site (after)
  4. 04Stay diary

    The stay diary is a post type the staff write in WordPress's usual editor. Besides the title, text and featured image, fields were added for the dog's name, breed (age), hotel or senior home, and where to focus the photo inside the shiba frame on the list.

    Choosing left, centre or right for the focus shifts the photo so the dog's face stays inside the shiba frame on the list cards. Once published, the entry leads the diary list and the newest entries on the homepage.

    The live stay diary list in Japanese: cards with photos cut into the shape of a shiba in three columns. 2026.11.20, dog hotel, Mugi, toy poodle, sleeping soundly till morning on the first stay; 2026.11.18, senior home, Gon, shiba (15), a long nap by the sunny window; 2026.11.15, senior home, Haru, miniature dachshund (13), a slow lap of the garden in fallen leaves; and more
    Live site
    The editor in Japanese with the diary entry about Mugi's first stay open. Under the title and text, the dog and photos fields: the dog's name (Mugi), breed (age) (toy poodle), hotel or senior home (dog hotel), where to focus in the shiba frame on the list (centre) and photos from the second on. On the right, the featured image and published
    Admin (diary fields)