PHP

Paste to child theme's functions.php

Click to copy
function md_child_theme_footer_columns() {
	return array( 1, 2, 3, 4 );
}
add_filter( 'md_filter_footer_columns', 'md_child_theme_footer_columns' );

Add New Footer Columns

WordPress Footer WidgetsBy default, MD uses a smart 3 column footer widget system. You can choose to use only 1 or 2 of those columns and the layout will adjust automatically to fit the size of the footer area.

With the new md_filter_footer_columns filter, you can now expand that system to as many footer columns as you need. Simply append new columns to the filter and it will:

  1. Creates a new “Footer {x}” widget area in the Appearance > Widgets
  2. Adds space for the new footer column(s) in your existing footer

The snippet on this page will expand the footer columns area to four (4) columns from the default three (3).

Start Building Websites That Delight

You can use the Marketers Delight WordPress Theme on unlimited sites. New features & updates are delivered to sites with your active license key.

Add to Cart