.store-category-enhanced .elementor-element-5c95722 h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; } .store-category-enhanced .term-description p { margin: 0 0 0.85rem; } .category-page-jumps { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 2rem; } .category-page-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1rem; border: 1px solid #abd6d5; border-radius: 8px; background: #edf8f7; color: #00536b; font-size: 1.05rem; font-weight: 700; line-height: 1.35; text-decoration: underline; text-underline-offset: 0.18em; } .category-page-jumps a:hover, .category-page-jumps a:focus-visible { border-color: #087879; background: #d9efee; color: #00536b; } .category-page-group { border-top: 1px solid #dce9e9; padding-top: 1.7rem; } .category-page-group + .category-page-group { margin-top: 2.5rem; } .store-category-enhanced .category-page-group > h2 { margin: 0 0 1.1rem; color: #00536b; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; scroll-margin-top: 5rem; } .store-category-enhanced .elementor-element-5c577e03 .category-page-group ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0; } .store-category-enhanced .category-page-group ul.products::before, .store-category-enhanced .category-page-group ul.products::after { display: none; } .store-category-enhanced .elementor-element-5c577e03 .category-page-group ul.products li.product { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; text-align: center; } .store-category-enhanced .category-page-group li.product .woocommerce-loop-product__link { display: flex; flex: 1; flex-direction: column; width: 100%; } .store-category-enhanced .elementor-element-5c577e03 .category-page-group li.product img { margin-bottom: 0.6rem; } .store-category-enhanced .elementor-element-5c577e03 .category-page-group li.product .woocommerce-loop-product__title { flex: 1; margin: 0; padding: 0.15rem 0; color: #00536b; font: 600 1rem/1.4 'Open Sans', sans-serif; } .store-category-enhanced .elementor-element-5c577e03 .category-page-group li.product .price { margin: 0.4rem 0 0; color: #00536b; font-size: 1rem; font-weight: 700; } .store-category-enhanced .elementor-element-5c577e03 .category-page-group li.product .button { margin-top: 0.65rem; background: #087879; color: #fff; } .store-category-enhanced .elementor-element-5c577e03 .category-page-group li.product .button:hover, .store-category-enhanced .elementor-element-5c577e03 .category-page-group li.product .button:focus-visible { background: #00536b; } .elementor-widget-wp-widget-custom_html:has(#category-page-layout) { display: none; } @media (max-width: 767px) { .store-category-enhanced .elementor-element-5c577e03 .category-page-group ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; } } .store-category-enhanced .woocommerce-pagination[hidden] { display: none !important; } (() => { 'use strict'; const themeGroups = [ ['Animals & Nature', /^(?:birds|dino-babies|dinosaurs?|farm|flowers|frogs|jungle|kittens|puppies|beach)(?:-|$)/], ['Sports', /^(?:baseball|basketball|football|hockey|sports-car|race-car|bmx)(?:-|$)/], ['Vehicles & Community Helpers', /^(?:airplanes?|construction|ambulance|city-bus|fire-truck|ice-cream-truck|mail-truck|monster-truck|motorcycle|police-car|school-bus)(?:-|$)/], ['Fantasy, Space & Characters', /^(?:aliens|astronaut|bayou-princess|cinderella|mermaids|rapunzel|sleeping-princess|superheroes|unicorns?)(?:-|$)/], ['Holidays & Seasons', /^(?:autumn|christmas|dia-de-los-muertos|easter|halloween|thanksgiving|valentines-day)(?:-|$)/], ['Games, Building & Music', /^(?:brick-building|gamer|singers)(?:-|$)/], ['Bundles', /bundle/] ]; const themedCategories = new Set([ 'behavior-point-sheets', 'behavior-reward-charts-for-students', 'i-need-a-break-cards', 'individual-behavior-support-bundles', 'smiley-face-behavior-charts', 'token-boards-token-economy', 'traffic-light-behavior-charts' ]); const byCategory = { 'behavior-intervention-support': [ ['Behavior Support Toolkits', /behavior-support-toolkit/], ['Break Cards', '@i-need-a-break-cards'], ['Self-Monitoring Checklists', '@self-monitoring-checklists'], ['Think Sheets', '@behavior-reflection-think-sheets'], ['Behavior Skill Assessments', '@classroom-behavior-skill-assessments'], ['Executive Functioning Tools', '@executive-functioning-tools'], ['Functional Skills Checklists', '@functional-skills-checklists'], ['Behavior Intervention Plans', '@behavior-intervention-plans-bips'], ['Visual Cue Cards', /visual-cue/], ['Behavior Observation & Data Sheets', /observation|antecedent-behavior-consequence/] ], 'bundles-value-sets': [ ['Behavior Support Toolkits', '@individual-behavior-support-bundles'], ['Classroom Behavior Tool Bundles', /reward-chart|point-sheet|token-board|self-monitoring/], ['Behavior Data & Progress Monitoring Bundles', '@behavior-data-progress-monitoring-bundles'], ['SEL Bundles', '@sel-bundles'] ], 'classroom-behavior-systems': [ ['Token Boards', product => product.categories.has('token-boards-token-economy') && !/bundle/.test(product.slug)], ['Token Board Bundle', /token-board.*bundle/], ['Positive Notes Home', /positive-notes-home/] ], 'daily-behavior-charts-point-sheets': [ ['Behavior Point Sheets', '@behavior-point-sheets'], ['Daily Reward Charts', '@behavior-reward-charts-for-students'], ['Smiley Face Charts', '@smiley-face-behavior-charts'], ['Traffic Light Charts', '@traffic-light-behavior-charts'], ['Check-In/Check-Out', /check-in-check-out/], ['Charts with Automatic Graphing', /graph|spreadsheet/] ], 'functional-behavior-assessment-fba': [ ['FBA Templates & Interviews', /functional-behavior-assessment-template|interview/], ['Observation Forms', '@observation-forms'], ['ABC Data Sheets', /antecedent-behavior-consequence/], ['FBA & BIP Quick Guide', /quick-guide/], ['FBA & BIP Bundles', /bundle/] ], 'progress-monitoring-graphing': [ ['Behavior Graphing Tools', '@behavior-graphing-tools'], ['Daily & IEP Progress Tracking', /daily-behavior-chart|progress-monitoring-bundle/], ['Behavior Data Quick Guide', /quick-guide/] ], 'social-emotional-learning-sel': [ ['Expected vs. Unexpected Behavior', '@expected-vs-unexpected-behavior'], ['Read-Aloud Book Companions', '@sel-interactive-read-aloud-book-companions'], ['Would You Rather & Write the Room', '@sel-would-you-rather-write-the-room'], ['Social Support Stories', '@social-support-stories'], ['Social Skills & Friendship', '@social-skills-instruction', /friendship/], ['Reflection & Journaling', '@sel-reflection-jounaling'] ], 'holiday-seasonal-sel': [ ['Back to School', '@back-to-school-sel'], ['Fall & Halloween', '@halloween-sel', /^fall-/], ['Día de los Muertos', /dia-de-los-muertos/], ['Thanksgiving', '@thanksgiving-sel'], ['Christmas', '@christmas-sel'], ['Winter & New Year’s', '@new-years-winter-break-reset', /^winter-/], ['Valentine’s Day', '@valentines-day-sel'], ['St. Patrick’s Day', '@st-patricks-day-sel'], ['Spring, Easter & Earth Day', '@spring-easter-earth-day-sel'], ['End of the Year & Summer', '@end-of-the-year-sel', /^summer-/] ], 'iep-case-management-forms': [ ['IEP Input & Accommodations', /teacher-input|accommodations/], ['Student & Family Communication', /communication|interest-survey|permission-slip/], ['Daily Logs & Behavior Data', /toileting|attendance|antecedent-behavior/] ], 'parent-teacher-conference-forms': [ ['Before the Conference', /family-input|reminder|letter|sign-up|checklist/], ['During the Conference', /sign-in|notes|student-reflection/], ['Conference Form Sets', /parent-teacher-conference-(?:forms|templates)(?:-|$)/] ], 'behavior-reflection-think-sheets': [ ['Classroom Routines & Work Habits', /directions|off-task|transitions|classroom-rules|disruption|self-monitoring/], ['Emotions, Safety & Relationships', /emotional-regulation|unsafe|conflict|honesty|boundaries/], ['Substitutes & Out-of-Class Settings', /substitute|out-of-class/], ['Complete Think Sheet Collection', /^behavior-reflection-sheets$/] ], 'self-monitoring-checklists': [ ['Work Habits & Participation', /time-on-task|work-habits|task-completion|on-task|participation|following-directions/], ['Social Skills & Regulation', /talking-out|social-skills|personal-space|emotional-regulation|disruptive-behavior/], ['Checklist Bundle', /bundle/] ], 'functional-skills-checklists': [ ['Elementary Checklists', /^(?:k-2nd|3rd-5th)-/], ['Middle & High School Checklists', /^(?:6th-8th|9th-12th)-/], ['Checklist Bundles', /functional-life-skills-checklist/] ], 'executive-functioning-tools': [ ['Elementary Checklists', /(?:k-2|3-5|3rd-5th|elementary)/], ['Middle & High School Checklists', /(?:6-8|9-12|6th-8th|9th-12th|middle-school|high-school)/] ], 'sight-word-checklists': [['Dolch Words', /^dolch-/], ['Fry Words', /^fry-/]], 'dolch-sight-word-checklists': [['Dolch Word Sets', product => !/bundle|^dolch-sight-words-flash-cards$/.test(product.slug)], ['Dolch Bundle', /^dolch-sight-words-flash-cards$|bundle/]], 'fry-sight-word-checklists': [['Fry Word Sets', product => !/bundle/.test(product.slug) && /^fry-(?:first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth)-100-/.test(product.slug)], ['Fry Bundles', /bundle|^fry-(?:first-300|fourth-sixth|seventh-tenth|sight-words-flash-cards)/]], 'behavior-data-progress-monitoring-bundles': [['FBA & BIP Bundles', /^fba/], ['Progress Monitoring & Observation Tools', /progress-monitoring|time-on-task/]], 'behavior-graphing-tools': [['Frequency, Duration, Rate & Interval', /frequency|duration|rate-recording|interval/], ['Multi-Measure Tracking', /spreadsheet/]], 'sel-interactive-read-aloud-book-companions': [ ['Managing Emotions & Handling Limits', /angry|blueloon|mouse-was-mad|accepting-no|sound-of-no|impulse-control/], ['Growth Mindset, Attitude & Gratitude', /gratitude|hard-things|positive-thinking|positive-attitude|bubble-gum/], ['Relationships, Choices & Responsibility', /invisible-boy|stop-lying|following-rules|forgot-to-ask|rule-doesnt-apply|social-filter/], ['Read-Aloud Bundles', /bundle/] ], 'sel-bundles': [['SEL Skill Bundles', /^(?:emotional-regulation|social-skills|growth-mindset)-read-aloud/], ['Multi-Skill Collections', /bundle/]], 'expected-vs-unexpected-behavior': [['Everyday Situations', /^appropriate-vs-inappropriate/], ['Seasonal & School Events', /./]], 'sel-would-you-rather-write-the-room': [ ['School & Everyday Situations', /100th-day|back-to-school|end-of-(?:the-)?year|classroom|^would-you-rather-questions/], ['Fall & Winter', /halloween|thanksgiving|christmas|winter|fall|new-year/], ['Spring & Summer', /valentine|st-patrick|spring|easter|earth-day|summer/] ], 'social-support-stories': [['Social Support Stories', /./]] }; const seasonalCats = new Set(['back-to-school-sel','christmas-sel','end-of-the-year-sel','halloween-sel','new-years-winter-break-reset','spring-easter-earth-day-sel','st-patricks-day-sel','thanksgiving-sel','valentines-day-sel']); const seasonalGroups = [['Expected vs. Unexpected Behavior', /appropriate-vs-inappropriate|expected-vs-unexpected/], ['Would You Rather', /would-you-rather/], ['Behavior Support Tools', /toolkit|break-cards|token-board|point-sheet|reward-chart/], ['Scenarios & Activities', /./]]; const shortLabels = { 'behavior-intervention-plans-bips': 'Behavior Intervention Plan Resources', 'classroom-behavior-skill-assessments': 'Classroom Behavior Assessments', 'fba-templates': 'Functional Behavior Assessment Templates', 'observation-forms': 'Behavior Observation Forms', 'sel-reflection-jounaling': 'Reflection & Journaling Resources', 'social-skills-instruction': 'Social Skills Activities', 'executive-functioning-tools': 'Executive Functioning Checklists', 'fry-sight-word-checklists': 'More Fry Resources', 'sel-would-you-rather-write-the-room': 'More Would You Rather Activities' }; function planGroups(category, title, products) { const rules = byCategory[category] || (themedCategories.has(category) ? themeGroups : seasonalCats.has(category) ? seasonalGroups : []); const groups = rules.map(([label]) => ({ label, products: [] })); const fallback = { label: shortLabels[category] || (themedCategories.has(category) ? 'More Themes' : rules.length ? 'More Resources' : title), products: [] }; for (const product of products) { const match = rules.findIndex(([, ...tests]) => tests.some(test => { if (typeof test === 'function') return test(product); if (typeof test === 'string') return product.categories.has(test.slice(1)); const key = themedCategories.has(category) ? product.slug.replace(/^smiley-face-behavior-chart-/, '') : product.slug; return test.test(key); })); (groups[match] || fallback).products.push(product); } return [...groups, fallback].filter(group => group.products.length); } const gridWidget = '.elementor-element-5c577e03'; const gridSelector = gridWidget + ' ul.products'; const paginationSelector = gridWidget + ' .woocommerce-pagination'; const toId = title => title.normalize('NFD').replace(/[\u0300-\u036f]/g, '').toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, ''); const sightWordOrder = [ 'dolch-pre-primer', 'dolch-primer', 'dolch-first-grade', 'dolch-second-grade', 'dolch-third-grade', 'dolch-nouns', 'fry-first-100', 'fry-second-100', 'fry-third-100', 'fry-fourth-100', 'fry-fifth-100', 'fry-sixth-100', 'fry-seventh-100', 'fry-eighth-100', 'fry-ninth-100', 'fry-tenth-100', 'fry-first-300', 'fry-fourth-sixth', 'fry-seventh-tenth', 'fry-sight-words' ]; function wordOrder(product) { const index = sightWordOrder.findIndex(prefix => product.slug.startsWith(prefix)); return index 1 && url.origin === location.origin && /\/page\/\d+\/?$/.test(url.pathname)) { links.set(page, url); } } if (!links.size) { if (pagination.querySelector('a.next')) throw new Error('Category pagination could not be read'); return []; } const example = links.values().next().value; return Array.from({ length: Math.max(...links.keys()) - 1 }, (_, index) => { const number = index + 2; const url = new URL(links.get(number) || example); url.pathname = url.pathname.replace(/\/page\/\d+(\/?)$/, '/page/' + number + '$1'); return url.href; }); } function getCards(grid) { return Array.from(grid?.children || []).filter(card => card.matches('li.product')); } async function productCards(grid, pagination) { const cards = getCards(grid); const urls = pageLinks(pagination); for (let index = 0; index { const response = await fetch(url, { credentials: 'same-origin' }); if (!response.ok) throw new Error('Category page unavailable'); const page = new DOMParser().parseFromString(await response.text(), 'text/html'); const loadedGrid = page.querySelector(gridSelector); const loadedCards = getCards(loadedGrid); if (!loadedCards.length) throw new Error('Category products unavailable'); return loadedCards; })); for (const page of batch) cards.push(...page); } return cards; } async function enhanceCategory() { const current = new URL(location.href); if (!document.body.classList.contains('tax-product_cat') || /\/page\/\d+\/?$/.test(current.pathname) || document.querySelector('.academic-shop-guide,.category-page-jumps')) return; const category = current.pathname.split('/').filter(Boolean).pop(); const root = document.querySelector('[data-elementor-id="3700"]'); const grid = root?.querySelector(gridSelector); const title = root?.querySelector('.elementor-element-5c95722 h1'); if (!grid || !title || !getCards(grid).length) return; const pagination = root.querySelector(paginationSelector); const cards = await productCards(grid, pagination); const products = new Map(); for (const card of cards) { const link = card.querySelector('.woocommerce-loop-product__link'); const slug = link && new URL(link.getAttribute('href'), location.href).pathname.split('/').filter(Boolean).pop(); const id = [...card.classList].find(name => /^post-\d+$/.test(name)); if (!id || !slug) throw new Error('Category card has no product identity'); if (!products.has(id)) products.set(id, { card, slug, categories: new Set([...card.classList].filter(name => name.startsWith('product_cat-')).map(name => name.slice(12))) }); } const titleText = title.textContent.replace(/^Category:\s*/i, '').trim(); const groups = planGroups(category, titleText, products.values()); if (!groups.length) return; const guide = document.createElement('nav'); guide.className = 'category-page-jumps'; guide.setAttribute('aria-label', 'Browse ' + titleText); const sections = document.createDocumentFragment(); for (const group of groups) { const id = toId(group.label); const jump = document.createElement('a'); jump.href = '#' + id; jump.textContent = group.label; guide.append(jump); const section = document.createElement('section'); section.className = 'category-page-group'; section.setAttribute('aria-labelledby', id); const heading = document.createElement('h2'); heading.id = id; heading.textContent = group.label; const list = grid.cloneNode(false); if (/(?:sight-word|dolch|fry)/.test(category)) group.products.sort((a, b) => wordOrder(a) - wordOrder(b)); for (const { card } of group.products) { for (const image of card.querySelectorAll('img')) { image.loading = 'lazy'; if (image.dataset.src && (!image.getAttribute('src') || image.getAttribute('src').startsWith('data:'))) { if (image.dataset.sizes) image.sizes = image.dataset.sizes; if (image.dataset.srcset) image.srcset = image.dataset.srcset; image.src = image.dataset.src; image.classList.remove('lazyload'); } } list.append(card); } section.append(heading, list); sections.append(section); } const description = root.querySelector('.term-description'); if (description) { for (const paragraph of description.querySelectorAll('p')) { if (!paragraph.textContent.trim() && !paragraph.querySelector('img, a')) paragraph.remove(); } if (category === 'daily-behavior-charts-point-sheets') { const paragraphs = [...description.querySelectorAll(':scope > p')]; for (const paragraph of paragraphs.slice(1, -1)) paragraph.remove(); } if (category === 'behavior-intervention-support') { const note = document.createElement('p'); const link = document.createElement('a'); link.href = '/product/check-in-check-out-sheets/'; link.textContent = 'Check-In/Check-Out Sheets'; note.append('For a daily emotional check-in and end-of-day reflection, see ', link, '.'); description.append(note); } description.after(guide); } else grid.before(guide); grid.replaceWith(sections); if (pagination) pagination.hidden = true; if (titleText) title.textContent = titleText; root.classList.add('store-category-enhanced'); const target = location.hash ? document.getElementById(location.hash.slice(1)) : null; if (target?.closest('.category-page-group')) requestAnimationFrame(() => target.scrollIntoView()); } function start() { enhanceCategory().catch(error => console.warn('Product category layout:', error.message)); } if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start, { once: true }); else start(); })();

Category: Bundles & Value Sets