WordPress Integration
WordPress offers several ways to embed timers, from simple block-based approaches to custom HTML insertion. This guide covers all methods for both modern and classic WordPress installations.
Method 1: WordPress Block Editor (Gutenberg)
Modern WordPress uses the block editor (Gutenberg), which provides a visual interface for building pages and posts.
Step-by-Step Guide
Step 1: Create Your Timer
- Go to the Editor
- Design and configure your timer
- Copy the timer URL from the Renderer section
- Keep it handy for the next steps
Step 2: Create iFrame Code
Build your iFrame embed code using your timer URL:
Step 3: Add Custom HTML Block
- Open the page or post where you want the timer
- Click the "+" button to add a new block
- Search for "Custom HTML"
- Select the "Custom HTML" block
Step 4: Paste Your Code
- Click inside the Custom HTML block
- Paste your complete iFrame code
- The block shows "Custom HTML" while editing
- Click "Preview" to see the timer in action
Step 5: Publish
- Click "Update" or "Publish" in the top-right
- View your page to verify the timer appears correctly
- Test on mobile devices or using responsive preview
Block Editor Tips
| Tip | How | Benefit |
|---|---|---|
| Center Timer | Use "Align Center" button | Professional appearance |
| Full Width | Select "Full Width" alignment | Maximize impact |
| Add Spacing | Insert Spacer blocks above/below | Better visual separation |
| Group with Content | Use Group block | Keep timer with related content |
| Reusable Block | Save as Reusable Block | Use same timer on multiple pages |
Method 2: Classic Editor
If your WordPress site uses the Classic Editor, you can add timers through the HTML editor.
Step-by-Step Guide
- Open Your Page/Post in the Classic Editor
- Click the "Text" Tab (switches from Visual to HTML mode)
- Find the Location where you want the timer in your HTML
- Paste Your iFrame Code at that location
- Switch to "Visual" Tab to preview (optional)
- Update/Publish your page
Classic Editor Code Example
Method 3: Page Builder Plugins
Many WordPress sites use page builders for visual design. Here's how to add timers to popular page builders:
Elementor
| Step | Action |
|---|---|
| 1 | Open page in Elementor editor |
| 2 | Search for "HTML" widget in left panel |
| 3 | Drag HTML widget to desired location |
| 4 | Paste iFrame code into the HTML Code field |
| 5 | Adjust widget width/alignment as needed |
| 6 | Click "Update" to save |
Elementor Pro Tip:
Divi Builder
| Step | Action |
|---|---|
| 1 | Enable Visual Builder on your page |
| 2 | Click "+" to add a new module |
| 3 | Search for and select "Code" module |
| 4 | Paste iFrame code in the code field |
| 5 | Configure module spacing/alignment |
| 6 | Click checkmark to save |
WPBakery Page Builder
| Step | Action |
|---|---|
| 1 | Open page in WPBakery editor |
| 2 | Click "Add Element" |
| 3 | Select "Raw HTML" or "Raw JS" |
| 4 | Paste iFrame code |
| 5 | Save and update page |
Beaver Builder
| Step | Action |
|---|---|
| 1 | Launch Beaver Builder on your page |
| 2 | Open Modules tab |
| 3 | Drag "HTML" module to your layout |
| 4 | Paste iFrame code in HTML field |
| 5 | Click "Done" and publish |
Page Builder Comparison
| Page Builder | Module Name | Custom Styling | Responsive Control | Difficulty |
|---|---|---|---|---|
| Elementor | HTML Widget | ★★★★★ | ★★★★★ | Easy |
| Divi | Code Module | ★★★★★ | ★★★★☆ | Easy |
| WPBakery | Raw HTML | ★★★☆☆ | ★★★☆☆ | Easy |
| Beaver Builder | HTML Module | ★★★★☆ | ★★★★☆ | Easy |
| Oxygen | Code Block | ★★★★★ | ★★★★★ | Medium |
Method 4: Widget Areas (Sidebar/Footer)
For timers that appear across multiple pages (sidebars, footers, headers):
Step-by-Step Guide
- Go to Dashboard → Appearance → Widgets
- Find Target Widget Area (e.g., "Sidebar", "Footer")
- Click "+" to Add Block or "Add a Widget"
- Search for "Custom HTML"
- Add Custom HTML Widget
- Paste Your iFrame Code
- Add Title (optional, e.g., "Event Countdown")
- Click "Update" or "Save"
Widget Sizing Recommendations
| Widget Location | Recommended Width | Recommended Height | Notes |
|---|---|---|---|
| Sidebar | 100% | 300-400px | Compact, vertical-friendly |
| Footer | 100% | 200-300px | Wide, short format |
| Header | 100% | 150-200px | Very compact |
| Below Content | 100% | 400-600px | Full-featured display |
Method 5: Shortcodes for Reusability
Create a custom shortcode to use the same timer across multiple pages easily.
Creating a Shortcode
Add to your theme's functions.php or create a custom plugin:
Using Your Shortcode
Once added, use the shortcode in any page, post, or widget:
Basic Usage:
With Custom Dimensions:
Multiple Timers:
Shortcode Benefits
| Benefit | Description |
|---|---|
| Reusability | Use same timer on unlimited pages |
| Easy Updates | Change code once, updates everywhere |
| Clean Content | Simple shortcode instead of long HTML |
| Parameter Control | Customize dimensions per page |
| Non-technical | Easier for content editors to use |
Plugin Compatibility
Common Plugin Issues
| Plugin Type | Potential Issue | Solution |
|---|---|---|
| Security Plugins | May block iFrames | Whitelist gettickr.app domain |
| Caching Plugins | May cache old timer | Exclude timer pages from cache |
| Minification | May break iFrame code | Exclude Custom HTML blocks |
| Lazy Load | May delay timer loading | Exclude timer iFrames |
Allowing iFrames in Security Plugins
Wordfence:
- Go to Wordfence → Firewall → All Firewall Options
- Add
gettickr.appto whitelisted domains - Save settings
iThemes Security:
- Go to Security → Settings → Advanced
- Disable "Filter Suspicious Query Strings in the URL" for specific pages
- Or whitelist gettickr.app
Troubleshooting WordPress Integration
Timer Not Appearing
| Symptom | Cause | Solution |
|---|---|---|
| Blank space where timer is | Incorrect URL | Verify timer URL is correct |
| Code appears as text | Pasted in Visual mode | Use Text/HTML tab or Custom HTML block |
| Nothing at all | Security plugin blocking | Whitelist gettickr.app |
| Error message | Timer doesn't exist | Check timer URL in browser |
Display Issues
| Symptom | Cause | Solution |
|---|---|---|
| Timer too small | Wrong dimensions | Increase width/height values |
| Timer cut off | Container too small | Use 100% width or larger container |
| Overlaps other content | Missing container div | Wrap in div with proper spacing |
| Not centered | No centering CSS | Add margin: 0 auto; display: block; |
Mobile Issues
| Symptom | Cause | Solution |
|---|---|---|
| Too wide on mobile | Fixed pixel width | Use 100% width or max-width |
| Text too small | Timer design issue | Redesign timer with larger fonts |
| Doesn't fit screen | Fixed height too large | Use responsive wrapper or media queries |
WordPress Multisite
For WordPress Multisite installations:
Network Admin Steps:
- Network Admin → Settings
- Enable "Unfiltered HTML" for site admins (if needed)
- Individual sites can then add timer iFrames normally
Next Steps
- iFrame Integration - Detailed iFrame documentation
- Customize Timer Design - Match your WordPress theme
- Shopify Integration - WooCommerce is similar to Shopify
- Remote Control - Control timers while managing your WordPress site