I’ll give you a strong inc/js/modal.js file for RX Theme with accessible modal open/close, focus trap, ESC close, overlay close, scroll lock, YouTube/video cleanup, AJAX/content hooks, and WordPress-friendly custom events. Below is a complete advanced rx-theme/inc/js/modal.js file. /*! * RX Read More …
Category: Rx Theme
search.js
I’ll build this as a strong standalone inc/js/search.js for RX Theme: live search UI, debounce, keyboard support, accessibility, Ajax/REST support, caching, highlighting, history, mobile-friendly behavior, and safe fallbacks Friend, create this file: rx-theme/inc/js/search.js It is an advanced RX Theme search Read More …
dark-mode.js
I’ll build this as a full advanced dark-mode.js for your RX Theme: toggle support, system preference, localStorage, accessibility, keyboard shortcut, smooth transition, admin-safe behavior, and custom events for future expansion. My dear friend, create this file: rx-theme/inc/js/dark-mode.js Then paste this Read More …
mobile-menu.js
I’ll build this as a complete, reusable inc/js/mobile-menu.js for RX Theme: accessible mobile menu, dropdowns, keyboard support, overlay, body scroll lock, resize handling, focus trap, escape close, outside click, and safe fallbacks. Yes friend — create this file: rx-theme/inc/js/mobile-menu.js This Read More …
app.js
I’ll build this as a strong RX Theme front-end inc/js/app.js file: modular, safe, WordPress-friendly, and full of optional features that only run when matching HTML exists. My dear friend, create this file: rx-theme/inc/js/app.js Then enqueue it from functions.php using your Read More …
scroll-top.php
I’ll build this as a powerful reusable scroll-top.php component for your RX theme, including accessibility, progress ring, hide/show logic, smooth scroll, keyboard support, reduced-motion support, admin-bar offset, and safe WordPress escaping. Below is a complete advanced template-parts/components/scroll-top.php file for your Read More …
table-of-contents.php
I’ll build this as a powerful reusable Table of Contents component for your RX theme, designed to work from template-parts/components/table-of-contents.php and be called from posts/pages/templates. Friend, create this file: rx-theme/template-parts/components/table-of-contents.php This component includes: automatic heading scan, H2-H6 support, custom title, Read More …
social-share.php
I’ll build this as a complete drop-in template-parts/components/social-share.php component for your RX theme, with safe escaping, many networks, copy link, print/email, schema-friendly labels, mobile share API support, and reusable hooks/options. Below is a big advanced social-share.php component for your RX Read More …
pagination.php
I’ll build this as a reusable, safe WordPress template-part component for your RX Theme, with numeric pagination, previous/next links, archive/search support, accessibility, schema-ready markup, and helper fallbacks. Below is a large advanced pagination.php component for your RX Theme. Place this Read More …
breadcrumbs.php
I’ll make this as a full advanced breadcrumbs.php component for your RX Theme, with schema, accessibility, WooCommerce/support checks, custom post types, taxonomies, pagination, search, 404, attachments, and safe escaping. Below is a very advanced template-parts/components/breadcrumbs.php file for your RX Theme. Read More …