Marketers Delight 5.5 43 changes
Released: July 12, 2022
- NEW: Header styles improved, click-to-toggle sub menus on mobile
- NEW: MD Dynamic JS compiles your lightweight
scripts.js
file to only print the scripts your site uses - NEW: Set logged-in/logged-out header menu in Appearance > Menus
- NEW: Moves "Site Design" admin links to the MD dashboard for faster admin navigation
- NEW: MD > Settings > Site Tools > Optimize WP now also removes inline CSS added from Block Editor if setting enabled
- NEW: MD now only ships with the following drop-ins on install: Optins, Share, Scripts Manager, Stream. Download all drop-ins from your MD account area
- Adds "Header text color" control to MD > Settings > Colors
- Adds "Main Menu link hover" control to MD > Settings > Colors
- Simplifies the label of admin settings in MD > Settings > Colors
- Organizes MD > Colors > Main menu controls for easier color picking
- Easily copy any installed font icon's unicode in MD > Settings > Icons
- HTML Markup: Adds
the_content
ID to main content container per page. Returns the equivalent ofthe_content()
- Stylesheet: Loads child theme stylesheet after drop-in files for complete customization and overrides
- Scripts: Revised sticky and scroll scripts for more accurate timing
- Style: Made spacing between teasers loop items smaller for better flow on mobile
- Share 1.0.2: Changes default share icons order, now includes comments button by default
- Share 1.0.2: Hides comments button on non-single pages
- Share 1.0.2: Fixes incorrect post ID when a post is liked from a category or archives page
- WooCommerce 1.0.3: Moves admin settings page to MD > Integrations settings page
- WooCommerce 1.0.3: Unloads admin settings if WooCommerce plugin is uninstalled/inactive
- Adds site title to
title
tag of site logo - When certain features are disabled, customization options in Edit Post > Layout > Add/Remove X" will be adjusted accordingly
- Developers: Load new HTML blocks directly before
#the_content
with the new hookadd_action( 'md_hook_before_the_content', 'your_function_name );
hook - Developers: When applicable, loads MD admin scripts hooked to
admin_print_footer_scripts
further down the page - Developers: Created new
templates/featured-image.php
for featured image markup. Can override by copying file path and contents in to child theme - Developers: Write your own dynamic JavaScript from the
js.php
file in any drop-in folder - Developers: New variables for use in
css.php
files:$admin_bar_height
,$admin_bar_height_mobile
,$submenu_width
- Developers: Add
'inline' => true
to your custom admin checkbox controls to display checkboxes in one line - Developers: Restrict custom meta box to post ID with
post_id
parameter inmd_api->register()
- Developers: New admin hook:
add_action( 'md_hook_content_settings', 'your_function_name' );
- Developers: Run
md_compile();
PHP function duringwp_enqueue_scripts
to re-compilestyle.css
andscripts.js
- Developers: Add your own precise JavaScript scroll event to a class extension of
md_api->onscroll
- Code cleanup: Moves leftover code from MD core to the Optins 1.0.4 drop-in
- Code cleanup: Re-organized
/lib/admin/
settings folders - Scripts: Adds
Secure
attribute on cookie creation to remove browser console deprecation errors - Footnotes 1.0.2: Updates JS handling for new MD JS Manager
- Admin Bar 1.1.2: Updates former "Site Design" control to link to main MD settings page
- Footnotes 1.0.2: Updates JS handling for new MD JS Manager
- Share 1.0.2: Updates JS handling for new MD JS Manager
- Optins 1.0.2: Updates JS handling for new MD JS Manager
- Optins 1.0.2: Fixes JS error message when pressing ESC key without popup in view.
- Beacon Menu 1.0.2: Minor drop-down menu spacing adjustments
- Beacon Menu 1.0.2: Moves settings to MD > Settings > Header > Beacon Menu