Adem DachraouiSoftware Developer | Full-Stack Developer
Back to portfolio

Case study / 01

Café Nejmeddine

A multilingual website that presents a traditional café in Nebeur — its menu, hours, photos, and location — without getting in the way.

The site is the café's public reference: what it serves, when it opens, what the place looks like, and how to get there, in Arabic, French, and English.

Role
Design & development
Type
Local business website
Stack
WordPress, custom theme, Polylang
Status
Live on InfinityFree
WordPressPHPPolylangCustom themeResponsive
Open the live site (Opens in a new tab)
Café Nejmeddine homepage in Arabic, with the café facade, opening hours, and menu shortcuts.
Home — Arabic edition, the site's default language.AD / CN — 01

01

The project

Café Nejmeddine is a traditional Tunisian café in Nebeur, Kef. The website gives the business a stable place online: a short introduction, the full menu, opening hours, a gallery of the actual space, and directions.

Most visitors arrive with one of four questions — what is served, how much it costs, when the café is open, and where it is. The site answers them in that order, with a menu, a daily hours block, and a location page that links to Google Maps.

Arabic is the default language, with French and English editions managed through Polylang. The café has no public phone number, so the contact page focuses on the address, a Plus Code, and map directions instead of inventing a channel.

languages
3
pages per language
5
menu categories
4
café photos
7

02

Purpose & goals

The site was built around four practical goals.

01

Present the business

Give the café a clear public identity with its name, setting, and location.

02

Publish the menu

Show the categories, items, and confirmed prices in Tunisian dinars.

03

Answer practical questions

Keep opening hours and directions easy to find on any screen.

04

Show the real place

Use photographs of the café rather than generic stock imagery.

03

What the site does

These are the parts of the site a visitor can use today.

01

Priced menu

Coffee, four tea varieties, soft drinks and water, and cake, grouped by category with prices in TND.

02

Opening hours

Every day, 04:30–21:00, repeated where visitors need it: home, footer, and location page.

03

Photo gallery

Seven photographs of the facade, terrace, street view, and interior.

04

Location & directions

Address in Nebeur, Kef, a Plus Code, an OpenStreetMap preview, and a Google Maps directions link.

05

Three languages

Arabic by default, with French and English editions and a language switcher in the header and footer.

06

Responsive navigation

A compact mobile menu and layouts tuned for phones, tablets, and desktop.

04

Verified stack

Only technologies confirmed from the live site and the deployment package are listed.

  • WordPress 7.1.4CMS running the live site; the version is recorded in the production package.
  • Custom themeA theme built for this café: PHP templates for the five pages, custom CSS, and a small navigation script.
  • Polylang 3.9.2Manages the Arabic, French, and English pages, menus, and hreflang links.
  • Menu item post typeA custom post type and category taxonomy store menu items and optional prices, so the owner can edit them in WordPress.
  • WebP imagesSeven source photographs with WordPress-generated responsive sizes.
  • OpenStreetMap & Google MapsMap preview on the location page and a directions link based on the café's coordinates.
  • InfinityFreeHosting and HTTPS for the free cafe-najmeddine.rf.gd address.
  • Security & performanceSecurity headers, XML-RPC disabled, unused WordPress assets removed, fonts and hero images preloaded, and the navigation script deferred.

05

Implementation decisions

These choices shape how the site is built and maintained.

  1. 01

    Arabic first, not Arabic only

    Arabic is the default experience and RTL stays the baseline; French and English reuse the same templates with translated content.

  2. 02

    A custom theme instead of a page builder

    Five page templates, one stylesheet pair, and a small script keep the front end light and the markup predictable.

  3. 03

    Menu as structured content

    Menu items live in a custom post type with categories and optional price metadata, so updates do not require editing PHP.

  4. 04

    Only confirmed information

    No phone number, ordering, reservations, or reviews are shown because those were not provided or do not exist.

  5. 05

    Real photography

    The gallery uses photographs of the actual café, and the map note asks visitors to confirm the pin before travelling.

06

Design & responsive experience

The palette is warm and restrained — cream backgrounds, brown text, and a single rust accent — so the café's own photographs carry the visual weight. IBM Plex Sans Arabic handles the Arabic interface, while DM Serif Display gives the Latin headings their character.

The layout keeps a clear hierarchy: a short hero, four menu categories, a short introduction, and a practical hours card. On phones the navigation collapses into a full-screen menu, the hero stacks, and the menu and location pages remain readable without horizontal scrolling.

Café Nejmeddine menu page in English, listing coffee, tea, soft drinks, and cake with prices in Tunisian dinars.
Menu — categories, items, and confirmed prices in TND.
Café Nejmeddine location page with address, Plus Code, and an OpenStreetMap preview.
Location — address, Plus Code, map preview, and directions.
Café Nejmeddine homepage on a phone, showing the Arabic mobile navigation and hero section.
Mobile — the Arabic homepage at a 390 px viewport.

07

Challenges & solutions

These are the main problems the project had to solve.

One design across three languages

Arabic, French, and English share the same templates. Polylang supplies translated pages and menus, while logical spacing and direction-aware styles keep the layout stable in RTL and LTR.

Editable menu without a page builder

The menu needed prices and categories the owner could change. A custom post type, taxonomy, and validated price field cover that without adding a builder.

Honest contact information

With no public phone number, the site avoids a dead contact form and instead gives the address, Plus Code, map preview, and directions.

Publishing on shared hosting

The production package was prepared for InfinityFree's file limits and verified as a complete set of files before the public site was checked.

08

Deployment

The website is live at cafe-najmeddine.rf.gd over HTTPS on InfinityFree. The release was prepared as a production WordPress package, imported with its database, and checked across all 15 localized pages.

Day-to-day updates — menu items, prices, photographs, and page copy — happen in the WordPress admin. Hosting credentials and server configuration are intentionally not part of this case study.

09

My role in the project

I designed and built the website: the page structure, the visual system, the custom WordPress theme, the menu content model, and the Arabic, French, and English setup.

I also prepared the production package and verified the deployed pages, including the menu, gallery, location, and language switching.

The live site is the reference for what the project does today. I have not included traffic, customer, revenue, or performance claims because they are not measured here.

11

Have a project in mind?

Tell me what you're trying to build and what constraints matter. I'll reply with a clear next step.

Start a conversation