px` on `body`. The shell's header is * `position: fixed` and clears itself with the `aum-shell-spacer` below (height `--af-shell-head-h`) — so both * together is **twice**: the cart page was measured pushed down by 70px plus 118px, with nothing switched on * but "sticky header". * (Found on 2026-08-22 while answering §7d item by item, and reproduced on the target site.) * * `$can_switch` went with it: assigned four times and never read anywhere. */ ?> >
`** to carry it. That is invalid HTML; * it appeared to work only because the HTML5 parser copies a duplicate body's attributes onto the real one, * and it emitted `body_class()` twice. It also meant the attribute existed on single posts only — so on a * *page* with comments open, that script found no id and silently did nothing. * * `is_singular()` covers both. */ $aum_body_post_id = is_singular() ? (int) get_queried_object_id() : 0; ?> > '; } else { /* * No shell: Aumframe is not active, or no shell template has been created yet. * * 🔴 **This branch used to emit nothing**, and the reasoning written here was only half right. It said a page * without a header is merely ugly while an error message printed on a buyer's cart page is an incident — * both true, but it treated "print an error" and "print nothing" as the only two options. * * The third option is the one this theme is supposed to deliver: **a site that works on its own, and works * better with the plugin.** Measured 2026-10-06 on a site with only the theme active: no `