A smarter Back to Top button
Previously, the Back to Top button appeared as soon as a reader scrolled past a certain point, regardless of scroll direction. Starting with 1.2.3, the button only appears while scrolling up past the top of the page, automatically hides while scrolling down so it doesn’t get in the way of reading, and stays fully hidden when near the very top of the page. It’s a small change, but it noticeably reduces visual clutter on long-form content.
Right-to-left (RTL) layout support
Init Press now fully supports RTL layouts, which is essential for sites built in languages such as Arabic, Persian, or Hebrew. A new “Language & Direction” option appears in Theme Settings, disabled by default so existing sites are unaffected. When enabled, the theme will:
- Switch to the RTL build of UIkit instead of the default LTR build
- Automatically set the
dir="rtl"attribute on the<html>tag - Add an identifying class to the
<body>tag for easier custom styling
A number of CSS declarations that were previously hardcoded to a fixed left or right side, such as the Back to Top position, the reading progress bar, and comment reply indentation, have also been converted to logical properties. As a result, these elements now mirror correctly under RTL without requiring any extra override CSS.
Fixed: the theme’s bundled translations were never loading
This is the most notable fix in this release. Init Press has always shipped with a Vietnamese translation file, but because load_theme_textdomain() was never called during theme setup, the bundled .mo file was silently never loaded by WordPress. As a result, every theme-level string displayed in English regardless of the site’s configured language.
Version 1.2.3 adds the missing function call along with the required Domain Path header. After updating, sites running a Vietnamese locale will automatically see the theme’s admin interface and front-end strings switch to Vietnamese, with no extra configuration needed.
Should you update to 1.2.3?
If your site runs on a locale that ships a translation with the theme, this update is worth applying right away since it directly affects whether the theme displays in the correct language. For sites that need RTL support, the new “Language & Direction” option in Theme Settings makes it possible to roll out an RTL layout without writing custom mirroring CSS from scratch.
Comments