- Added: IAB categories support for custom taxonomies.
- Added: New
mai_publisher_location_choices
filter. - Changed: Updated Sourcepoint to latest scripts.
- Changed: Now updating
mai_views_updated
time before hitting api’s. - Changed: Now updating
mai_views_updated
time with 2x interval if getting stats fails. - Changed: Simplified
get_acf_request()
to match Mai Engine and latest ACF changes. - Changed: Only track stats/views on singular if it’s Jetpack since Jetpack doesn't handle archive stats.
- Fixed: Check for Jetpack at runtime before updating stats.
- Fixed: Error when
get_queried_object()
doesn't return an object.
- Fixed: Remove pbjs debugging per Magnite's request. They have their own built in debugging.
- Added: Support for prebid via Magnite.
- Added: Now using Laravel Mix for a build process.
- Changed: Load apstag right away if it’s enabled. No need to wait for googletag.
- Changed: Ad type default label is now Programmatic.
- Chnaged: Standard ad type option was removed.
- Changed: Now only tracking first item in the Mai Analytics Tracker block when there are multiple top level elements inside. This should avoid skewed counts from multiple items having the same name.
- Changed: Log full event in console when debugging.
- Added: New global setting to enable console logging.
- Added: Now preconnecting gpt, sourcepoint, and connatix when they are loaded.
- Changed: New Sourcepoint stub files.
- Changed: Removed
maipub_get_processed_ad_content()
function. - Changed: Encode and process ad content on the fly, just as it's rendered.
- Fixed: Do not include Ninja Forms scripts when manipulating the DOM via DOMDocument. This makes sure HTML or special characters inside scripts are skipped. This fixes Ninja Forms not loading.
- Fixed: Safer handling of WooCommerce Memberships plans, including only checking when user is logged in.
- Fixed: Wrong variable name was throwing error when using Cool Stuff video from Conntatix.
- Added: New load delay setting to move event from
DOMContentLoaded
to windowload
, with a timed delay. This is for testing with CMP's like Sourcepoint.
- Added: New
mai_publisher_options
filter to modify options/settings on the fly.
- Changed: Added
mai-publisher-gpt
id to gpt.js script tag for easier debugging when viewing webpage source code. - Changed: No longer parsing shortcodes, embeds, and dynamic blocks getting word count for dimension 8.
- Changed: Reorder Sourcepoint settings for consistency with their portal settings.
- Fixed: Node order was reveresed when loading after an element in the DOM.
- Fixed: Better handling of current page ID when not using static pages for Posts/Homepage.
- Fixed: Some select fields were unable to be cleared.
- Fixed: Terms saved in archive include/exclude terms were not always loaded in the field when refreshing.
- Added: New Mai Client GAM Ad Unit block.
- Added: Header/Footer scripts fields per ad.
- Added: Author archive support.
- Added: More data and info into ad placeholders.
- Added: New
mai_publisher_gam_ads
filter to modify GAM ads data on-the-fly. - Added: New
mai_publisher_default_ads
filter to modify the default ads form ads.json. - Changed: Now the GAM Hashed Domain is built off the GAM Domain instead of the home url.
- Changed: Ad placeholders are now fixed width to help debug wrongly sized ads.
- Changed: Update dependencies.
- Changed: Remove the rest of the legacy ad code.
- Changed: Better styling for ads when in debug mode.
- Fixed: Only run ad block field filters in the back end or when doing ajax.
- Fixed: Better handling of front page when it's set to display posts.
- Changed: Ads are now centered (again) by default inside entries/rows.
- Changed: Use
wptexturize()
instead ofmb_convert_encoding()
. - Fixed: Mai GAM Ad Unit block inside Mai Ad block not rendering correctly in the editor.
- Fixed: Single ads showing as inactive in the back end when only set to show on specific posts/pages.
- Fixed: All Post Types setting for archive ads was not working correctly.
- Added: New
mai_publisher_load_gpt
filter to disable gpt from loading via the plugin. - Changed: Removed deprecated ad sizes from config.
- Changed: Disable content encoded. It was causing issues, and we're relying on content being properly encoded while running this late.
- Fixed: Compatibility issue with Mai Custom Content Areas when inserting a CCA and Mai Post Grid ads in archive entries.
- Added: Integrates Sourcepoint.
- Fixed: Error trying to load dev dependencies on production sites.
- Added: Better support for in content ads on LearnDash content pages.
- Added: Spatie Ray for local/dev debugging before the WordPress plugin is loaded.
- Changed: Vertically center native ads when not boxed in Mai Post Grid.
- Fixed: Aspect ratio not working correctly on Mai Post Grid ads.
- Fixed: Enabling Amazon ads was breaking native/fluid ads.
- Fixed: Mai Publisher settings showing above default block settings on Mai Term Grid.
- Fixed: Only show the parent network code when the child code is the same. This is for owned domains.
- Added: After footer location was added to Single Content and Content Archives settings.
- Added: New
leaderboard-small
ad unit size. - Added: New
mai_publisher_header_scripts
header scripts filter. - Added: New
mai_publisher_ad_unit
andmai_publisher_ad_video
filters on ad/video block final HTML. - Added: New
mai_publisher_entries_ads
filter for ads in archives and Mai Post Grid in Mai Theme v2. - Added: New
mai_publisher_load_connatix
filter to override if connatix header script should load or not. - Added: BTF ads are now only fetched rendered as they scroll into view.
- Added: Better debugging when
?dfpdeb
and/or new?maideb
query param are used. - Changed: GAM domain and hashed domain are now editable.
- Changed: Better mobile size limits for some ads.
- Changed: Optimized load order for ad script fetching/rendering.
- Changed: Settings page heading CSS tweaks.
- Fixed: Layout CSS tweaks for WPRM recipes.
- Fixed: IATB sitewide category is now passed if there is no per-category category set.
- Changed: Ads with taxonomy conditions now include the descendant terms as well, when the taxonomy is hierarchical.
- Fixed: Error showing version/status on settings page when using Matomo v5.
- Changed: Taxonomy term checks now check for descendants as well. Now, if "Recipes" is a taxonomy condition and a post is only in a child category of "Entrees", the conditional still still be met.
- Fixed: The "All Taxonomies" setting was not working correctly.
- Added: New
mai_publisher_dom
andmai_publisher_html
filters to hijack the fullDOMDocument
andHTML
after things have run. - Added: Check for ads in JS incase other JS is hijacking (like our split-testing).
- Changed: Added id to connatix header script.
- Fixed: Only refresh our ad slots, no longer globally refreshing all GAM ads on the page.
- Fixed: The DOM parser was affecting robots.txt files in some instances.
- Added: New admin menu link under Mai Theme.
- Changed: In archive/grid count setting is now "position" and uses the value as the actual entry/row position in the loop.
- Changed: Moved Mai Publisher admin menu link lower.
- Changed: Adds
entry
class to native ads if in a boxed configuration. - Changed: Better aspect-ratio handling for CLS with native ads.
- Changed: Now using ACF clone fields for some entries fields.
- Changed: Added a div id to our ads script.
- Changed: Attempt to check if gpt.js is already loaded to avoid duplicates.
- Changed: Removed version number from gpt.js for better browser caching.
- Fixed: Only refresh our registered ad slots.
- Fixed: Better handling of placeholders for native ads.
- Fixed: More thorough handling of admin columns data.
- Fixed: Correctly pass custom video name to data-unit attribute for slot name, tracking, etc.
- Fixed: Warning with
WP_HTML_Tag_Processor
and multiple while loops.
- Fixed: Sticky footer was causing horizontal scroll.
- Added: Requires Mai Engine 2.32.3 to use in entries/grid settings.
- Added: Mai Engine support to insert ad units in between Mai Post/Term Grid entries.
- Added: Initial compatibility with native ads.
- Added: New
maipub_do_ad_unit()
helper function that uses newMai_Publisher_Ad_Unit
class. - Changed: In entries ads are no longer inserted directly via the DOM.
- Changed: Ad type options for native top/left/right/video.
- Fixed: Targets were not correctly passing to ads.
- Fixed: Video name is now correctly passed for analytics tracking.
- Fixed: Connatix video taking over the screen when the Customizer is open.
- Fixed: Encoded special characters were displaying on the front end in some configurations.
- Initial, internal, and official release.