Mocursor Smart TOC
Mocursor Smart TOC is a lightweight, feature-packed Gutenberg block that automatically generates a linked table of contents from the headings in your posts and pages. Simply drop it into your content — it just works. Also available as a [mctoc] shortcode for classic editor users. The block is fully dynamic, accessible, lightweight, and theme-aware. It uses WordPress design tokens and CSS custom properties so it inherits your theme’s colors, fonts, and spacing automatically. Shortcode Support The Mocursor Smart TOC block is also available as a [mctoc] shortcode for use in the classic editor, widgets, or theme templates. Basic usage: [mctoc] With options: [mctoc title="On This Page" include_h2="true" include_h3="true" include_h4="false" numbering="nested" collapsed="true" sticky="true" offset="100" skip="1" exclude_headings="Related Posts,Comments" back_to_top="true" align="right" justify=""] Available shortcode attributes: title — TOC heading text (default: “Table of Contents”) include_h2 — Include H2 headings: “true” or “false” (default: “true”) include_h3 — Include H3 headings: “true” or “false” (default: “true”) include_h4 — Include H4 headings: “true” or “false” (default: “true”) exclude_headings — Comma-separated heading texts to exclude numbering — Numbering style: “none”, “decimal”, or “nested” (default: “none”) collapsed — Start collapsed: “true” or “false” (default: “false”) sticky — Enable sticky mode: “true” or “false” (default: “false”) offset — Scroll offset in pixels for fixed headers (default: 80) skip — Number of headings to skip from the start (default: 0) back_to_top — Show “Back to Top” link: “true” or “false” (default: “false”) align — Floating block alignment: “left”, “center”, or “right”. Left/right allow nearby content to wrap beside the TOC. justify — No-wrap TOC position: “left”, “center”, or “right”. Surrounding content stays above and below the TOC. Ideal Use Cases Mocursor Smart TOC is perfect for: Long-form blog posts — Help readers navigate 2,000+ word articles with ease. Documentation and knowledge bases — Technical docs, how-to guides, and reference pages. Online courses and tutorials — Give learners a clear roadmap of every lesson section. Legal, policy, and compliance pages — Terms of service, privacy policies, and similar documents. Product and feature pages — Long product descriptions with multiple sections. Recipe and travel blogs — Readers can jump to the section they care about. Wiki-style internal sites — Any WordPress site used as an internal wiki or resource library. Accessibility-focused sites — The TOC gives keyboard and screen reader users a reliable way to navigate. Classic editor users — The shortcode works perfectly in the classic editor. Why Choose Mocursor Smart TOC? Zero configuration needed — Drop the block in and it works immediately. 100% Gutenberg-native + Shortcode — Built as a real Gutenberg block with a classic shortcode fallback. Dynamic and always up to date — Server-rendered, always matches the current content. Incredibly lightweight — No JavaScript frameworks. Pure vanilla JS for all interactivity. Deeply customizable — Rich inspector controls for heading levels, numbering, collapsibility, sticky mode, and more. Accessible by default — Proper ARIA attributes, keyboard navigation, semantic HTML, and focus management. Theme-aware — Uses WordPress design tokens and CSS custom properties. No lock-in — Deactivate the plugin and your content is untouched. Privacy-friendly — No external requests, no tracking, no analytics, no cookies. Open source — Licensed under GPLv2. Block Features Automatic heading detection for H2, H3, and H4 Heading level filtering with individual checkboxes Exclude specific headings by text Skip first N headings option Three numbering styles: None, Decimal, Nested Collapsible TOC with configurable default state Smooth scrolling with configurable offset Active heading highlight via IntersectionObserver Back to Top link Sticky mode Live editor preview Full block editor design controls (colors, typography, spacing, borders) Left, center, and right floating alignment using native block controls Left, center, and right no-wrap justification for positioning without shifting surrounding content beside the TOC Shortcode support with full attribute control How to Use Method 1: Block Editor Install and activate the plugin. Open any post or page in the block editor. Click the block inserter (+), search for “Mocursor Smart TOC”, and insert the block. For a floating layout where text can wrap beside the TOC, use the block toolbar alignment (left, center, or right). For positioning without text wrapping, open Layout → Justify TOC (No Text Wrap) and choose Left, Center, or Right. Publish — the TOC renders with smooth scrolling and active heading tracking. Method 2: Shortcode In any post, page, or widget, type [mctoc]. Optionally use floating alignment: [mctoc title="Contents" numbering="decimal" align="left"]. Or use no-wrap positioning: [mctoc title="Contents" numbering="decimal" justify="right"]. Method 3: PHP Template Tips: Place the TOC inside a Group block with a max-width for a contained look. Enable sticky mode for sidebar layouts. Use the shortcode in classic editor widgets or template files.
PressPrimer Quiz – AI Quiz Maker, Exam Builder & LMS Assessment Plugin
PressPrimer Quiz is a professional assessment plugin that bridges the gap between basic quiz plugins and expensive enterprise platforms. Create beautiful, engaging quizzes with AI-powered question generation, deep LMS integration, and the reporting features serious educators need—all without monthly fees or per-student pricing. This isn’t a crippled trial. The free version is genuinely useful forever with unlimited quizzes, unlimited questions, AI generation, LMS integration, and six professional themes. We earn upgrades by delivering specialized features, not by hobbling what you get for free. Why Choose PressPrimer Quiz? Most WordPress quiz plugins are built for BuzzFeed-style trivia and basic scoring, not serious assessment. Quiz features in LMS plugins are often afterthoughts with limited reporting, basic features, and dated interfaces. Enterprise quiz platforms can cost thousands per year. PressPrimer Quiz delivers enterprise-grade assessment and includes all of the critical features you get in premium plugins at no cost: AI-Powered Question Generation – Use your own OpenAI or Anthropic (Claude) API key to generate questions from text, PDFs, or Word documents. No credits to buy, no middleware fees, no limits. Deep LMS Integration – Native integration with popular WordPress LMS plugins, including LearnDash, Tutor LMS, LifterLMS, and LearnPress. Quizzes appear in lessons or topics, trigger completions, and respect enrollment—automatically. Modern, Beautiful Design – Six professional themes. Real Reporting – Score distribution, category breakdowns, time analytics, confidence reporting, and attempt history. Built to Prevent Cheating – Server-side answer validation means correct answers are never exposed in page source. You can also limit attempts and force delays between retries. Server-Side Resume That Works Everywhere – Every answer is instantly saved to the server. Students can pause on their phone and resume on their laptop without losing a single response. Designed for Real Assessment – Four multiple-answer scoring modes for every context and institutional grading system. Embed images directly in question stems and answer options with a drag-and-drop uploader. Free Features That Cost Money Elsewhere PressPrimer Quiz includes features in the free version that competitors charge for: Front-end dashboard – Add a “My Results” area to any page with the [pressprimer_quiz_dashboard] shortcode or block Math & equation rendering – Write LaTeX in questions and answers, rendered with bundled KaTeX Quiz templates – Save and reuse quiz settings Question banks – Organize and reuse questions across quizzes Dynamic quiz generation – Pull random questions based on category, difficulty, and question bank Guest support – Optional GDPR-compliant email capture for non-registered users Four multiple-answer scoring modes – Right Minus Wrong, Proportional, Partial No Wrong, and All-or-Nothing Per-question and per-answer feedback – Explain correct and incorrect answers, with score-banded result messages and optional confidence ratings Images in questions and answers – Drag-and-drop uploader with a click-to-zoom lightbox on the front end Question pool – Limit the number of questions shown per attempt so each student gets a random subset from the full list Random distractor subsets – Maximum Answers Per Question shows each student a random subset of distractors while always showing every correct answer Practice Mode – Mark any quiz as practice for unlimited, untimed runs with immediate feedback that never count toward scores or pass rates Question exposure control – “Prefer Unseen Questions” keeps dynamic and pooled quiz retakes fresh by choosing questions a student hasn’t seen first Confidence Check – Three-level confidence ratings per answer, with a results summary that flags confident-but-wrong and unsure-but-correct questions Customizable Appearance – Adjust fonts, colors, spacing, and other visual styles; includes Condensed Mode for streamlined quizzes with reduced vertical spacing Per-quiz display settings – Choose display options (description, score, pass/fail status, category breakdown, retake button, and more) for every quiz Results emails – Customizable email templates with a per-question answer recap token and your own footer text Uncanny Automator integration – Triggers for quiz completion, pass, fail, and guest email capture with marketing consent, with a comprehensive set of tokens for use in automations Perfect For Course creators using LearnDash, TutorLMS, LearnPress, or LifterLMS who need better quizzes than built-in tools Corporate trainers running compliance assessments at scale University departments with thousands of students needing detailed analytics Test prep programs requiring support for question pools with thousands of items Testing providers who need enterprise reliability without enterprise pricing Course entrepreneurs selling premium educational content Focused on What Matters for Learning PressPrimer Quiz concentrates on multiple choice, multiple answer, and true/false question types to deliver the best possible experience for learning and performance assessment. By focusing on these core formats, we deliver enterprise-quality features, including massive question banks, anti-cheat protection, detailed analytics, and bulletproof reliability. Built-in Integrations PressPrimer Quiz automatically detects and integrates with popular WordPress LMS plugins: LearnDash: Attach quizzes to courses, lessons or topics. Passing a quiz can automatically mark the lesson or topic complete. Works with enrolled students and Group Leader roles. Tutor LMS: Attach quizzes to lessons via the course builder. Passing a quiz can auto-complete the lesson and course. Works with public courses, enrolled students, and instructor roles. LifterLMS: Attach quizzes to lessons via meta box. Passing a quiz can auto-complete the lesson and course. Works with open/free courses, enrolled students, and instructor roles. LearnPress: Attach quizzes to lessons via the lesson settings panel. Link passing a quiz to lesson and course completion. Works with open courses, enrolled students, and instructor roles. Uncanny Automator: Four triggers available: User completes a quiz, user passes a quiz, user fails a quiz, and a guest email is captured with marketing consent. The guest-capture trigger runs in “Everyone” recipes (available in both free Uncanny Automator and Automator Pro) and only fires when the guest explicitly opts in to marketing, so consented leads can be routed to any Automator-connected tool. All integrations are bundled in the free version. Premium Features Unlock additional premium features at pressprimer.com. The tiers build on each other — School includes everything in Educator, and Enterprise includes everything in School. Educator Groups & Assignments – Organize students into groups, assign quizzes with due dates, and track completion progress Front-End Dashboard for Teachers & Students – Groups, assignments, and the full reporting suite on a front-end page, with an option to keep instructors and students out of wp-admin entirely Contacts & Email Campaigns – A deduplicated view of guest emails captured from your quizzes, with consent state, CSV export, and erasure. Send campaigns to opted-in contacts, groups, or roles, with sender identification and one-click unsubscribe in every email. It’s a basic CRM built right into your quiz platform. Import/Export – Move questions between sites or migrate from other quiz plugins with CSV, JSON, and XML support Pre-/Post-Test Analysis – Link quizzes as pre/post pairs and measure learning gain with score and category comparison charts Quiz Detail Reports – Per-quiz analytics dashboard with score distribution, category performance, question difficulty analysis, and score trends over time Assignment Reminder Emails – Automated reminder emails for students approaching assignment deadlines, with configurable timing windows and customizable templates AI Distractor Generation – Generate plausible wrong answers for multiple choice questions using OpenAI or Anthropic (Claude), with individual review and bulk generation across entire question banks School Student Study Plans – Students build their own scheduled practice plans from teacher-granted question banks, with sessions weighted toward their weak areas, streaks, and an exam-readiness trend Mastery Tracking – Per-category mastery scores built from every answer, with a student mastery map and an admin rebuild tool Spaced Repetition – Schedule review sessions using the SM-2 and FSRS algorithms with a student dashboard, email reminders, and educator tracking Group Performance Reports – Compare groups side by side, drill into individual member results, and track weekly score trends Question Quality Analytics – Identify problem questions with detailed analysis Curve Grading – Apply grading curves to quiz scores with multiple methods, right from the dashboard or wp-admin LearnDash & LifterLMS Quiz Import – Migrate entire quizzes with questions from LearnDash or LifterLMS, individually or in batches xAPI/LRS Integration – Send detailed learning data to your Learning Record Store for compliance and analytics WP Fusion Integration – Apply CRM tags on quiz registration, completion, pass, or fail across 60+ CRMs through WP Fusion Enterprise Quiz Proctoring – Monitor tab switches and fullscreen exits during quiz attempts with configurable flag thresholds, incident reports, per-quiz overrides, and desktop-only enforcement — including review views on the front-end dashboard Integrity Analytics – Flag completed attempts with statistically unusual patterns (timing, answer similarity, shared devices, concurrent sessions) for review Branching Logic – Create rules that skip or jump to questions based on student answers, with path-through-quiz visualization in reports White-Label Branding – Remove all PressPrimer branding across the admin and the front-end dashboard, and customize with your own logos, colors, and plugin name Audit Logging – Read-only log of every quiz, question, settings, and attempt change for compliance and accountability Question Recovery & Version History – Restore deleted questions and track every edit with one-click rollback to previous versions Scale-Ready Architecture Built for serious deployment: Custom database tables handle 10,000+ questions and 100,000+ attempts Object caching support for high-traffic sites WCAG 2.1 AA accessibility compliance Full internationalization with RTL support Documentation & Support Knowledge Base Source Code & Development The full uncompressed source code for all JavaScript and CSS files is available in our public GitHub repository: GitHub Repository The /src directory contains all unminified source files. The plugin uses webpack for building production assets. To rebuild from source: Clone the repository Run npm install to install dependencies Run npm run build to compile assets Third-Party Libraries Math notation rendering uses KaTeX (version 0.17.0, MIT license), bundled locally in assets/vendor/katex/ — there are no external or CDN requests. The official minified distribution is included; it is obtained via npm install katex@0.17.0 and the files are copied from the package’s dist/ directory (katex.min.js, katex.min.css, contrib/auto-render.min.js, and the woff2/woff fonts). The complete, unminified source for this exact version is available in the KaTeX GitHub repository at the v0.17.0 release, and in the katex@0.17.0 npm package’s dist/ directory, which ships the unminified katex.js and katex.css alongside the minified files bundled here. KaTeX is loaded only when the Math Notation setting is enabled and a quiz actually contains math notation. External Services This plugin connects to external third-party services. Use of these services is optional and requires explicit user configuration. OpenAI API This plugin offers optional AI-powered question generation using the OpenAI API. This feature is disabled by default and only activates when an administrator or authorized user enters their own OpenAI API key in the plugin settings. What data is sent: * Text content pasted by the user for question generation * Content extracted from PDF or Word documents uploaded by the user * Configuration parameters (number of questions, difficulty level, question types) When data is sent: * Only when a user explicitly clicks “Generate Questions” in the AI generation interface * Data is never sent automatically or in the background What data is NOT sent: * Student quiz answers or attempt data * User personal information * Site configuration or other plugin data Service provider: OpenAI, L.L.C. * Terms of Use * Privacy Policy * API Data Usage Policy Note: You are responsible for your own use of the OpenAI API and must agree to OpenAI’s terms when obtaining an API key. API usage costs are billed directly by OpenAI to the API key holder. Anthropic API This plugin also offers optional AI-powered question generation using the Anthropic (Claude) API. This feature is disabled by default and only activates when an administrator or authorized user enters their own Anthropic API key and selects Anthropic as the AI provider. What data is sent: * Text content pasted by the user for question generation * Content extracted from PDF or Word documents uploaded by the user * Configuration parameters (number of questions, difficulty level, question types) When data is sent: * Only when a user explicitly clicks “Generate Questions” in the AI generation interface * Data is never sent automatically or in the background What data is NOT sent: * Student quiz answers or attempt data * User personal information * Site configuration or other plugin data Service provider: Anthropic, PBC * Terms of Service * Privacy Policy * Usage Policy Note: You are responsible for your own use of the Anthropic API and must agree to Anthropic’s terms when obtaining an API key. API usage costs are billed directly by Anthropic to the API key holder.