How Do I Make a Two Column List in WordPress?

Creating a two column list in WordPress is easy. To start, open your theme’s functions.php file and add the following line of code:

function twoColumnList() {

wp_list_ columns(‘name’, ‘description’);

}

Next, add the following code to your theme’s header.php file:

require_once(‘./wp-includes/template-loader.php’);

include(‘./wp-content/themes/{theme_name}/header.php’);

Now, you need to create a custom list item template. To do this, open your theme’s functions.php file and add the following line of code:

$list_item_template = ‘

  • {name}
  • ‘;

    Finally, you need to add a line of code to your theme’s style.css file to load the list item template:

    .twoColumnList {

    display: inline-block;

    Now, when you create a new list item in WordPress, the name and description will be displayed in the second column.