2019 08 28 word mods

This commit is contained in:
infeeeee
2019-09-03 00:08:51 +02:00
parent 74a33168d7
commit cd3124784f
18 changed files with 681 additions and 401 deletions

View File

@@ -63,6 +63,17 @@ function dis2019_customizer_settings($wp_customize)
'type' => 'number',
)));
$wp_customize->add_setting('dis-2019-related-posts');
$wp_customize->add_control(new WP_Customize_Control($wp_customize, 'dis-2019-related-posts',
array(
'label' => __('Number of related articles', 'dis2019'),
'section' => 'dis-2019',
'description' => __('Same value applies to mobile and desktop. Use any integer', 'dis2019'),
'settings' => 'dis-2019-related-posts',
'type' => 'number',
)));
//__('Choose from most used writer', 'dis2019')
// get_theme_mod( 'dis-2019-posts-on-home' );
}