My AFFINGER5 sticky header technique for affiliate promotions
Affiliate banners are easy to launch and easy to waste. A large button near the top of a post may be missed, while a permanent advert can make every page feel like a sales page. That balance matters when a reader arrives from a search result with little patience and even less trust in a generic discount. On ricoblog, I use a narrow sticky header to keep a relevant offer one click away without crowding the article itself.
This is my technique for using AFFINGER5’s sticky header to promote a limited-time affiliate offer: combine a factual message, a visible deadline, and a single call to action that works on both desktop and mobile. The offer still needs context in the article, because the bar works best as a shortcut to information the reader has already found useful.
As a former physical therapist and full-time blogger, I learned that a plan works better when it has clear steps and a stopping point. The same applies here. I decide the audience, message, duration and tracking before opening the WordPress theme editor.
Why a persistent header changes the click
A sticky header stays visible when readers scroll, turning the navigation area into a dependable decision point. It is especially useful for an affiliate post where the reader has finished comparing features and is ready to visit the merchant.
My method is to keep the standard menu and add one promotional action beside it. The header should confirm where the reader is, while the offer answers why they might click now. Mixing both jobs in a crowded bar usually makes the page harder to use. I avoid changing the destination each time someone reaches the bottom, since inconsistent links make performance impossible to compare.
The advantage comes from restraint. I show the sticky offer only on relevant articles and the landing page, hide it on utility pages, and remove it when the deadline passes. Visibility without relevance quickly trains readers to ignore the whole header.
Configure the promotion inside AFFINGER5
I update AFFINGER5, duplicate the current child theme, and make offer changes there rather than in a parent theme that an update could overwrite. Then I open the WordPress customiser and look for the sticky header or top-bar controls; menu names can vary slightly between installations. The sticky state should survive page navigation, while the campaign itself remains easy to switch off without touching every template.
The AFFINGER5 setup notes are a useful reference before changing options. I also check the live header at each breakpoint because a setting that looks balanced on a wide monitor can wrap awkwardly on a phone.
The sticky bar itself should contain three elements: the benefit, the deadline and a verb-led button such as “View the offer”. I use a high-contrast colour that matches the brand, keep the message to one line where possible, and give the outbound link the appropriate sponsored attribution.
Write urgency that Australian readers can trust
Specific information makes time pressure credible. Instead of “limited-time deal”, I write “Save 20% on the annual plan — ends Sunday, 11:59 pm AEST”. Prices should be shown in Australian dollars and, where required, with GST included so the comparison is immediately clear. A concrete example is less persuasive than a broad promise because it lets readers decide whether the saving suits their own budget.
Deadlines need Australian time-zone care. Melbourne and Sydney shift between AEST and AEDT, Brisbane and Perth use different offsets, and Adelaide sits between them. I publish one fixed cutoff, convert it to UTC for tracking, and display local time without resetting the countdown on refresh.
Australian shoppers are comfortable comparing promotions, especially around Coles, Woolworths, Bunnings and major online marketplaces. They are also used to tapping through offers on a phone while commuting or waiting for a coffee. Clear value, total pricing and a plain expiry time therefore matter more than theatrical wording.
Make the bar work on every screen
Most mobile visits do not begin with a full desktop layout. A header that consumes half the screen, covers the opening lines or forces two buttons into a tight row costs more trust than the offer can earn. I preview the bar on narrow Android and iPhone widths before publishing.
On smaller screens I shorten the copy, preserve the deadline and keep one dominant button. The tap target needs enough room for an accurate thumb press, while the sticky area should remain compact enough to leave the article usable. If the full message will not fit, I move it into the article and leave only the action in the header. I also avoid animated labels that shift while a thumb is approaching, since moving targets are frustrating on smaller devices.
I also test keyboard focus, screen-reader labels and colour contrast. A visible focus state must not disappear behind the sticky bar, and the button must announce what happens after the click. Respecting reduced-motion settings prevents the header animation from creating discomfort for readers who have asked for less movement.
Keep the promotion lawful and credible
The header needs an unmistakable disclosure that the link is affiliate-led. Labels such as “Affiliate link” or “Ad — I may earn a commission” are clearer than hiding the relationship in the footer. The disclosure belongs next to the call to action, especially if the offer also appears in the post body. These labels are short because the header is visible rather than a full advertising disclosure panel.
Australian advertising law makes that transparency important. ACMA guidance requires advertisements to disclose their commercial nature, and ACCC guidance expects clear disclosure of a benefit such as a commission. If I add the promotion to an email, I also follow the Spam Act 2003 rather than sending commercial messages without the required consent.
Tracking should be proportionate. Where analytics collect personal information, the Privacy Act 1988 and Australian Privacy Principles may apply, so I use a suitable cookie notice and avoid sending names, emails or other direct identifiers through campaign parameters. Price claims should also match the merchant’s terms and remain accurate under the Australian Consumer Law.
Test, measure and retire the campaign
Before launch, I create a dedicated affiliate URL, record the offer’s final date and test every page where the bar appears. I check the normal link, the button, the mobile menu and a slow connection. A small campaign is still a live sales process, and a broken CTA cannot be diagnosed by polished screenshots.
- State the actual benefit, price and expiry time.
- Put an affiliate disclosure beside the header action.
- Test desktop, tablet and mobile navigation.
- Use a campaign URL and track CTA click-throughs.
- Compare affiliate conversions with scroll reach and exits.
- Remove or update the promotion at the deadline.
Then I judge the sticky header by completed affiliate actions rather than impressions alone. A visible bar that earns clicks but produces no completed orders may have the wrong promise, audience or offer; an uncluttered bar can still perform better by preserving reader attention.
Finally, I archive the campaign settings and its results. If the offer expires, the bar disappears rather than cycling back with the same deadline, which would undermine both the message and the trust built around it. The same process works for a short Melbourne launch or a national campaign, provided the deadline remains fixed in every location.