Human overview · for understanding
One ranking field the client edits — honored on every page of balionline.hu · 2026-06-26
One ranking field the client edits — honored on every page of balionline.hu
Master summary — the gist in 30 seconds
Input: one 'ranking number' per trip (already editable by the client). Output: the same, correct order on the collection page, the menu dropdown, the homepage and the trip planner — instead of today's mismatch.
flowchart LR R["Ranking #<br/>(client edits once)"] --> A["Collection page<br/>obeys it ✅"] R -.broken.-> B["Menu dropdown<br/>ignores it ❌"] R -.broken.-> C["Homepage / planner<br/>ignores it ❌"] A --> G(["Goal: every<br/>surface obeys R"]) B --> G C --> G
Input: the client drags/sets a rank number on a trip. Output: that trip moves to the right spot on EVERY list, not just one.
flowchart TD
C["Client sets rank<br/>in CMS"] --> Q{"Does each list<br/>read the rank?"}
Q -->|today: only some| Bad["Inconsistent order"]
Q -->|after fix: all| Good["Same order everywhere"]
Input: the 'utazas' custom post type + custom page templates. Output: trip lists rendered by PHP WP_Query loops, each of which decides its own sort order.
flowchart LR PT["CPT: utazas<br/>(10 trips + 3 soon)"] --> Q1["Query A:<br/>collection page"] PT --> Q2["Query B:<br/>nav dropdown"] PT --> Q3["Query C:<br/>homepage / planner"] Q1 --> V["Each sorts<br/>independently"] Q2 --> V Q3 --> V
Input: every trip-listing query on the site. Output: each query's 'order by' set to the ranking field (ascending), with a stable tiebreak.
flowchart TD S1["Locate the ranking<br/>field (ACF / meta / menu_order)"] --> S2["Find ALL trip<br/>listing queries"] S2 --> S3["Set each: order by<br/>ranking ASC"] S3 --> S4["Verify order matches<br/>on every surface"]
Input: the balionline.hu cPanel/FTP access. Output: a full backup, then careful edits to Dani's template, then a rollback path if anything looks off.
flowchart LR
CP["cPanel login"] --> WL["Whitelist IP<br/>past cPGuard"]
WL --> BK["FULL backup<br/>(files + DB)"]
BK --> ED["Edit queries"]
ED --> VF["Verify all<br/>surfaces"]
VF --> RB{"Looks right?"}
RB -->|no| RR["Roll back"]
RB -->|yes| DONE(["Ship"])
Input: 'it's in the chat'. Output: verified it isn't (≈650 msgs Mar–Jun + both Google Docs swept), so we read the truth from the live code instead.
flowchart TD A["Belief: details<br/>in WhatsApp"] --> B["Exhaustive search"] B --> C["Not found"] C --> D["Source of truth =<br/>the code + your brief"]
Input: this HANDOFF bundle. Output: Instance 2 writes a concrete checklist after reading the live code; Instance 3 makes the change with a backup.
timeline title Planning chain Explore : You are here : intent locked Tech-spec : find field + all surfaces : write checklist Execute : backup : fix queries : verify live