It’s MD update season and today I am happy to announce the release of Marketers Delight 5.2.2 which comes with a slew of bug fixes, improvements, and an important new feature release.
As the standalone version of Marketers Delight nearly turns 6 years old, today’s update further solidifies the stability and ease of growth that has been baked into this platform from all those years of development.
The star of this release is the new Breadcrumbs feature, which I will show you below, but as I sit to write this I can’t help but feel immense gratitude for all the years of refinement that makes sending powerful new releases like this to your site as easy as a few clicks.
Not only that, but the ease of developing MD has gone up over the years and it is so tightly integrated that adding new features like today can not only quickly blend into the interface, but offer no performance hit to your site.
It’s all of the other minor tweaks and adjustments made under-the-hood in MD5.2.2 and the over 100+ other releases over the years that have made today, and the future possible.
Now, enough of my soap box, let’s see what’s new in Marketers Delight 5.2.2!
Add Hyper Aware Breadcrumbs Navigation to Your Website
You’ve probably already noticed, the breadcrumbs at the top of this article add quite a bit of context to your current whereabouts on the Marketers Delight website, and now yours too.
Breadcrumbs are a staple feature of a deeply rich content site, and the reason behind the name is because they lead your visitors through your site almost as if they were following a trail of breadcrumbs…
In the screenshot above you can see an example from one of my Stream posts. The breadcrumb tells the whole story that you are on the MD website, on the Stream section within the Quick thoughts category.
At any time you can click to “move back” and find more content presumably related to the same current page. That’s quite a story to tell for such a simple list of links.
MD breadcrumbs cover just about every page scenario on your website:
- Blog and front page
- Blog posts
- Blog categories
- Blog tags
- Child pages (one level deep)
- Custom post types
- Custom post type single entries
- Custom taxonomies
- Custom terms
- Author pages
- Search results page
- 404 error page
Little did I know during recent rant about SEO plugins, I was taking one step forward towards developing this feature I had always traditionally left to breadcrumbs.
Between the trajectory of recent MD Dropins such as the Docs and the Glossary, as well as working with clients, I found myself rebuilding and reusing a breadcrumbs template that finally became clear it was time to make its way official into Marketers Delight.
Now that Breadcrumbs are now baked into MD, you’re going to love how easy it is to work with them. Here’s MD breadcrumbs from every angle:
Enable Breadcrumbs in MD > Site Design > Content Box
There is a new option in the MD Site Design panel that makes enabling breadcrumbs as easy as a click.
Fine-tuned control from the post and category editor
Like most MD features, you can toggle breadcrumbs on a page-by-page basis from the Post or Category editor. You can also add MD’s meta controls to custom post types using the md_post_type_meta filter.
Use breadcrumbs in development
By default breadcrumbs are hooked to
md_hook_content and can be removed with the following action:
remove_action( 'md_hook_content', 'md_breadcrumbs', 5 );
Conversely, you can add it anywhere and to any hook by using
add_action instead of
A new helper function named
md_has_breadcrumbs() has been introduced to check if the current page should load breadcrumbs. This function checks a post/page/category meta as well as the global setting.
Finally, the entire breadcrumbs template markup can now be found in the
/templates/breadcrumbs.php file. Using the WordPress child theme system, you can completely override this template by copying its contents into your own
/templates/breadcrumbs.php file in your child theme.
Also in MD5.2.2: Style Updates, Security Enhancements, and Other Bug Fixes
Marketers Delight 5.2.2 comes with a slew of other fixes and improvements. You can view the full list on the changelog but here are the notables:
Improved Mobile Spacing, Reduced Layout CSS Weight and Complexity
Maximizing page speed and performance without sacrificing flexibility for customization has always been a top priority, and MD5.2.2 continues to deliver on this promise while shipping new features.
You may not notice much visually but MD5.2.2 delivers a more optimized and consistent CSS framework. This makes spacing various layouts for mobile much easier, with far less need to write custom CSS—even in your own custom components.
Tip: if you have made custom spacing changes to elements within the main .content-box class, check your site on mobile after the update to ensure you don’t have double spacing. If so, find the extra spacing CSS you wrote and delete it—MD will now handle content box spacing way better!
Security and Plugin Compatibility Fixes
Lately there have been some ugly error messages being reported at the MD Forums that have to do with using
the_content filters in WordPress.
These were always caused by a plugin (hi, WooCommerce) so I decided to replace all instances of these filters where they didn’t make sense in MD.
Without going into too much detail, MD was using these filters respectively to output Titles and Text description content throughout its features to apply certain formatting and character escaping to these text areas.
Now in MD5.2.2 any instance of:
apply_filters( 'the_content', $var );
Have been replaced with:
wpautop( $var );
Any instance of:
apply_filters( 'the_title', $var );
Have been replace with:
md_text_field( $var );
md_text_field() function is new in MD5.2.2 and uses
wp_kses()in combination with a list of approved HTML tags to safely render user-generated content, like short titles.
These functions are both necessary to ensure proper text formatting on the frontend of your website and also prevents any suspicious or unsafe code that somehow got saved to the database from rendering on your page.
Admin UI Improvements
A few changes were made across different MD admin settings pages, notably the Share and Optins screens which will fix a couple of out of place and “squished” admin controls.
MD Docs adds the now native breadcrumbs functionality and removes some old CSS in favor of MD’s default styles.
The Glossary gets a minor CSS cleanup as well to avoid any double-spacing on mobile.
Read the Dropin install guide to learn how to update. Essentially, just follow the same steps you did to install and overwrite the folders with the new versions.
See the full changelog
See the MD5.2.2 changelog for a full list of updates made in this release.
Loading new replies...