Skip to content

Developers

Master the MD dev tools to add advanced features to your website.

How to Add a Table of Contents to WordPress Posts and Pages

Adding a table of contents to your blog posts and pages makes it easy for your readers to find the most relevant pieces of content on the page. Take a look at just a few posts around this site and you can see a gorgeous table of contents in action. Thanks to the beauty of[...]

De-register custom image upload sizes

Marketers Delight registers its own custom image sizes to help better format images in specific layout areas using the native add_image_size WordPress function. Each time you upload an image, WordPress creates a separate cropped version of each image and saves it to your uploads folder. Not every version of these images may be used in[...]

How to build custom popups with a click to trigger link

Popups are a useful element for capturing attention and displaying information in a “break out of the box” kind of way. From converting more leads to displaying supplementary content, popups are an element that should be in your toolbox no matter what kind of site you run. From a development standpoint, popups are not always[...]

Add custom items to post byline with admin controls

From MD > Site Design > Content you can control the different items that show in your post and page bylines with simple checkbox controls. Marketers Delight supports many byline items already, such as the latest post date, post author, comments count, post category, and others. To add your own custom byline items to byline[...]

Raw HTML Accordion Widget

With the Accordion Category Widget installed you can easily generate a link tree of posts listed by blog categories or from custom taxonomies. The widget comes as is, but you can recreate custom accordions with raw HTML using the following options on this page. The first option is raw HTML which you can simply paste[...]

How to Create a Simple Admin Settings Page With Custom Fields

With the MD API you can quickly and in a more manageable way extend the WordPress admin panel and create new settings pages and meta boxes. In this example we are creating a basic admin page that will appear under the “Settings” tab in the WordPress admin panel. Simply copy the starter example to your[...]

5 Quick Ways You Can Improve Your Sites Design Right Now With the MD Child Theme

[toc] After working with all kinds of different CMS‘s from around the web, I’ve come to the conclusion that building larger, content heavy sites with WordPress Child Themes is my favorite way to achieve just about any results I want. Child Themes give you stunning control over the look, feel, and layout of your website[...]

Template functions every MD theme developer should know

The hidden power of Marketers Delight comes with its rich development tools, and there’s no better way to dive in than with template functions. Here’s the best you need to know: 1. Get admin settings data The custom options MD stores from the admin screen can be found in the md_setting() function. To access option[...]

How to Create a Scrolling “Sticky” Header

Use this simple child theme modification to add a sticky scrolling effect to your site’s header. This is a simple solution that requires no jQuery and uses MD’s extremely lightweight JavaScript API to make this simple effect possible on your website. The Sticky Header feature is slated to make it into a future MD release,[...]

How to Add a Top Bar Navigation With Menu Item Controls

Use this code snippet to add an integrated topbar menu to every page of your site. The template area is open for all kinds of customization and the menu easily hooks into the existing WordPress Menus editor for easy access once installed and configured properly.

Build Your Blog With MD Part 1: An Introduction & Philosophy

I’ve decided to create a post series here on Kolakube to teach you how to customize Marketers Delight with a WordPress Child Theme. The benefits of using a Child Theme to customize your site is that you have full access to all the templates and files that make up Marketers Delight under-the-hood. This means you[...]

How to build custom headline areas

This quick episode of MD Live shows you how to override the default MD headline area and blend your own custom HTML block into your site header. For advanced customization reasons, you may want more control over how the headline of your articles show on your site. The best way to get a grip over[...]

Add New Footer Columns

Need more content in your footer? Expand on MD's 3 column footer system with the md_filter_footer_columns filter.

How to Add Comment Tabs for Multiple Comments Plugins

Most comments plugins take over the default comments section, but sometimes you want to offer multiple comments sections for your forums, Disqus, and other kinds of discussion features. With a few simple actions in MD you can bypass this limitation and embed conversation platforms from others sites without losing your hard earned blog comments.