Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_theme_support( 'editor-font-sizes', array(
array(
'name' => __( 'small', 'ea_genesis_child' ),
'shortName' => __( 'S', 'ea_genesis_child' ),
'size' => 12,
'slug' => 'small'
),
array(
'name' => __( 'regular', 'ea_genesis_child' ),
'shortName' => __( 'M', 'ea_genesis_child' ),
'size' => 16,
'slug' => 'regular'
),
array(
'name' => __( 'large', 'ea_genesis_child' ),
'shortName' => __( 'L', 'ea_genesis_child' ),
'size' => 20,
'slug' => 'large'
),
/*
array(
'name' => __( 'larger', 'ea_genesis_child' ),
'shortName' => __( 'XL', 'ea_genesis_child' ),
'size' => 24,
'slug' => 'larger'
)
*/
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment