Complementor/Prime number checker
Content / widget · Elementor module

Prime Number Checker Widget Plugin for Elementor

Let visitors type a whole number up to 18 digits and see live whether it is prime, with the smallest factor, the prime factorisation and the nearest primes.

Included in All AccessClassic Elementor widgetFrom $29 USD / year
Complementor / Prime number checkerProduct preview
Text, style and layout controls inside Elementor
01 / Interactive demonstration

Try it

These are the actual published outputs of the widget. Type a whole number into any of them; the answer updates as you type.

02 / Inside WordPress

Prime number checker controls in Elementor

Content sets whether the prime factorisation and the nearest primes are shown, and every label and message, including the prime, not prime and 0-or-1 messages with a {n} placeholder. The Style tab covers the field, the result box with separate prime and not prime colours, labels and messages, and the Copy and Clear buttons.

03 / Website use cases

Where to use prime number checker

Maths pages, puzzle sites and classrooms often ask whether a number is prime, and a yes or no on its own does not explain much. Prime number checker sits on your own page: visitors type a whole number up to 18 digits and see whether it is prime, the smallest factor when it is not, the full prime factorisation, the number of divisors and the nearest primes, all updated as they type. Nothing is sent anywhere.

01

Maths lessons

Let students test numbers and see their prime factors.

02

Puzzle and trivia sites

Check whether a date, year or code is prime.

03

Homework help pages

Give readers a quick check next to your explanation.

04 / Installation and setup

How to add a prime number checker in Elementor

Start with Complementor installed and your license connected. Enable this module in the WordPress library, then configure it in Elementor.

  1. Install Complementor, connect your license and enable Prime number checker in the Complementor library.

  2. Add the widget to a page.

  3. Choose whether to show the prime factorisation and the nearest primes.

  4. Optionally add a starting number and edit the messages.

  5. Style it and type a number.

05 / Content and style controls

Customize prime number checker in Elementor

Configure the settings available for this module to suit the page you are building.

  • Exact answers up to 18 digits.

  • Smallest factor with the product.

  • Prime factorisation and divisor count.

  • Previous and next primes.

  • Editable messages with {n}.

  • Separate prime and not prime colours.

06 / Choose the right approach

Prime number checker and Elementor alternatives

Compare the existing Elementor workflow with this Complementor module before choosing your setup.

A prime table

Covers only small numbers and gives no factors.

Online maths sites

They take visitors away from your page.

07 / Requirements and compatibility

Prime number checker compatibility with Elementor

WordPress 6.5+PHP 8.0+Elementor 3.25+
  • Requires Elementor; works without WooCommerce.
  • Checks one number at a time; it does not list all primes in a range.
  • Whole numbers from 0 up to 18 digits.

Complementor uses classic Elementor APIs. Atomic-native controls are not implemented. Check your theme, cache and integrations on a staging site before release.

08 / Common setup problems

Troubleshoot prime number checker

Check these settings if the published page behaves differently from the editor.

Why is 1 not prime?

A prime has exactly two divisors, 1 and itself. 1 has only one, so the widget calls it neither prime nor composite.

Why is the next prime missing for very large numbers?

The next prime would have 19 digits, which is past the limit.

Why does a long number show a message?

Numbers can have at most 18 digits.

Why does the answer appear after a short pause?

The check waits until you stop typing, so large numbers do not slow the page.

09 / Frequently asked questions

Prime number checker plugin questions

Does it need Elementor Pro?

No. It works with the free version of Elementor.

Is the answer certain or just likely?

Certain. The test used is exact for every number up to 18 digits.

Can I change the wording?

Yes. The prime, not prime and 0-or-1 messages are editable, with {n} for the number.

Does it show all the factors?

It shows the prime factorisation, such as 2³ × 3² × 5, and the number of divisors.

Does it need JavaScript?

Yes. Without it a short message is shown instead.

10 / Annual All Access subscription

Get prime number checker with Complementor

This module is included with all 1007 current Complementor solutions. Choose your production website allowance; every plan includes the same modules.

All Access · 1 site

One website

$29USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 1 site ↗

Renews at $29 USD each year.

All Access · 5 sites

A few websites

$49USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 5 sites ↗

Renews at $49 USD each year.

All Access · 25 sites

More websites

$99USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 25 sites ↗

Renews at $99 USD each year.

Applicable taxes extra. Annual subscriptions renew automatically unless canceled in your customer account. Elementor Pro is required for Exclude current post. Read the terms and 14-day technical-issue refund policy.