📝Add Pi Games to Your WordPress Website

    WordPress powers millions of school websites. Choose the method that works best for you — all three take less than 2 minutes.

    Your Embed Code

    <iframe
      src="https://www.practicepi.com/embed/memorize?theme=light"
      width="100%"
      height="650"
      frameborder="0"
      style="border-radius:8px;display:block;"
      title="Pi Memorization Game - PracticePi"
      allowfullscreen>
    </iframe>

    Option A — Block Editor (Gutenberg)

    1

    Open your page or post

    Go to the WordPress admin and open the page or post where you want the game.

    2

    Add a "Custom HTML" block

    Click the + button to add a new block. Search for "Custom HTML" and click it to add.

    3

    Paste the embed code

    Paste the embed code from above into the Custom HTML block.

    4

    Preview and publish

    Click Preview to verify it works, then click Publish or Update.

    Option B — Classic Editor

    1

    Switch to Text tab

    Open your page in WordPress. Click the "Text" tab (not "Visual") in the editor toolbar.

    2

    Paste the code

    Paste the embed code where you want the game to appear on the page.

    3

    Preview and publish

    Switch back to "Visual" to preview, then click Publish or Update.

    Option C — WordPress Plugin (Easiest)

    1

    Install the PracticePi plugin

    Download and install our free WordPress plugin. Go to Plugins → Add New → Upload Plugin.

    Download Plugin
    2

    Use shortcodes

    Simply type a shortcode anywhere in your pages or posts:

    [practicepi game="memorize"]

    Options: game, theme, color, height, school

    3

    Publish

    Click Publish or Update. That's it!

    Troubleshooting

    The iframe is blocked or shows a white box

    Some security plugins (like Wordfence or iThemes Security) block iframes. Add practicepi.com to your iframe allowlist in the plugin settings.

    The shortcode shows as plain text

    Make sure the PracticePi plugin is installed and activated. Go to Plugins and check it's active.

    The game doesn't resize properly

    The plugin includes auto-resize. If using the iframe method, make sure the full embed code is pasted including the script tag.

    Frequently Asked Questions

    Is PracticePi free to embed?

    Yes, completely free for schools and teachers. No account or subscription required.

    Do I need to create an account to embed?

    No account needed to embed. Just copy the code and paste it into your website.

    Will the embedded game work on mobile?

    Yes, all PracticePi embeds are fully mobile responsive and work on phones, tablets, and desktops.

    Does PracticePi collect student data?

    No personal student data is collected. Game scores are anonymous. PracticePi is COPPA and FERPA compliant.

    What CMS platforms are supported?

    WordPress, eCatholic, Squarespace, Wix, Google Sites, Weebly, Webflow, Schoology, Canvas LMS, Notion, and any HTML website.

    Does the embed require maintenance?

    No. The content auto-updates with new daily facts and live leaderboards. No plugins to update or maintain.

    Need Help?

    We'll help you add PracticePi to your WordPress site for free.