Popups Extended
Wordpress plugin extending popups.
★ 3stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/generoi/popups-extended/archive/refs/heads/master.zipReadme
popups-extended
A Wordpress plugin that extends popups primarily with Timber support, but also minor feature additions.
Features
- Foundation reveal HTML by default.
- Easily overridable php or twig templates.
wp-genero-analyticsintegration for conversions.- TinyMCE buttons for conversion buttons (tracked through
wp-genero-analytics). - Exit intent trigger using Bounceback.
- AJAX based Gravityforms get automatic integration while redirected forms have to be tracked through URL parameters.
- Popup background image option.
Overriding the popup.php template
The default template can be overridden in your theme using any of the following template suggestions:
popups/popup--<post_id>.twig
popups/popup-<post_id>.php
popups/popup.twig
popups/popup.php
API Filters
Templates
// Filter the Popup content
add_filter('spu/popup/content', function ($content, $post) {
}, 10, 2);
// Filter the popup template suggestions.
add_filter('spu_template_hierarchy', function ($templates) {
foreach ($templates as $idx => $template) {
$templates[$idx] = str_replace('popups/', '', $template);
}
return $templates;
}, 10, 2);
// Filter the resolved template path.
add_filter('spu_template', function ($template) {
});
// Filter the template to be included if available
add_filter('spu_template_include', function ($template) {
});
Popup options
// Filter the popup types
add_filter('popups-extended/types', function ($types) {
$types['popup'] = __('Popup');
$types['slidein'] = __('Slide-in');
return $types;
});
// Filter the themes.
add_filter('popups-extended/themes', function ($themes) {
$themes['primary'] = __('Primary');
return $themes;
});
// Filter the popup sizes.
add_filter('popups-extended/sizes', function ($sizes) {
unset($sizes['tiny']);
return $sizes;
});
// Filter the popup positions.
add_filter('popups-extended/positions', function ($positions) {
$positions['left'] = __('Left');
return $positions;
});Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v.1.0.0-alpha.11 | Apr 25, 2025 |
| v1.0.0-alpha.10 | Dec 1, 2021 |
| v1.0.0-alpha.9 | Jan 8, 2021 |
| v1.0.0-alpha.8 | Oct 9, 2019 |
| v1.0.0-alpha.7 | Sep 21, 2018 |
| v1.0.0-alpha.6 | Sep 18, 2018 |
| v1.0.0-alpha.5 | Sep 7, 2018 |
| v1.0.0-alpha.4 | Jan 12, 2018 |
| v1.0.0-alpha.3 | Jan 12, 2018 |
| v1.0.0-alpha.2 | Aug 22, 2017 |
| v1.0.0-alpha | Aug 7, 2017 |
| v0.0.5 | Jun 30, 2017 |
| v0.0.4 | Jun 14, 2017 |
| v0.0.3 | May 24, 2017 |
| v0.0.2 | May 23, 2017 |
| v0.0.1 | May 22, 2017 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.