WPC Pixel Wall

We developed this plugin for our own use on WPMondo, to display a sponsor grid in the style of the Million Dollar Homepage.

Visitors choose a free spot on a 1,000 × 1,000 px wall (size configurable) and request it through a form. You review each request and place their logo yourself, so nothing goes on the wall without your approval. It works with any block theme. It’s one server-rendered block, wpc/pixelwall, with plain hand-written JavaScript and no build step.

What a visitor does

  • Choose a spot: drag a rectangle over an empty area with a mouse or pen. On a touchscreen, tap to drop a box, then move or resize it with handles.
  • Fixed rules: the box snaps to a 10 px grid and can’t be smaller than 20 × 20 px. A spacing margin you set (10 px by default) stops it from touching other logos or reserved areas. A spot that breaks a rule shows as invalid and can’t be confirmed.
  • Live readout above the wall: width × height, position and, if you set a rate, an estimated price (area × price per pixel). The rate is currently €0.05/px; at 0 no price appears anywhere.
  • Confirm: a Fluent Forms request opens in a pop-up with the coordinates and price already filled in. The visitor adds their name, email, link, link text, logo file (an image of up to 2 MB), an optional message, categories, and agrees to the rules.
  • Small screens: the wall never rearranges itself, because that would cut through logos. It shrinks to fit instead. On screens narrower than the wall, a Whole wall / Actual size switch appears, and the browser remembers the choice. Choosing a spot works the same in both views.
  • Hovering or focusing a logo shows its link text and categories. Logo links carry nofollow sponsored noopener by default; you can change this in Settings.

What you do (Pixel Wall admin menu)

  • Requests: each submission becomes a request that reserves its area right away, greyed out on the wall, until you act. Reservations don’t expire on their own. A submission with invalid or overlapping coordinates is flagged and holds no space, so one junk request can’t grey out the whole wall.
  • Convert or Release:
    • Convert checks for overlaps again, then creates a placement in Pending Review with the request’s coordinates, link and categories, and an end date one year ahead. It also copies the uploaded logo into the media library.
    • If the logo is transparent, it’s flagged but not refused; sponsors are asked for solid WebP images.
    • Release frees the area.
  • Placements follow normal WordPress post statuses:
    • Published: the logo is live.
    • Pending Review: a greyed box that holds the space.
    • Scheduled: held until the publish date, when WordPress makes it live.
    • Draft or Trash: off the wall, and the space is free.
  • End date: after it passes, the logo disappears and the area is either freed or kept reserved, as set in Settings.
  • Overview screen: a small map of the wall, colour-coded by state, plus counts. Placements are edited with number fields for position and size, with an overlap check.
  • Categories: a hierarchical taxonomy shared by requests and placements. The category list on the form is filled in automatically from it.
  • Settings: form ID, spacing margin, price per pixel and currency, what happens after the end date, the labels shown on greyed boxes, and the link rel values.