Skip to content

Commit e13196f

Browse files
committed
refactor
1 parent 496d876 commit e13196f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

function-definitions.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ function multiloquent_featured_image_in_feed($content)
6767
*/
6868
function multiloquent_customize_register($wp_customize)
6969
{
70-
multiloquent_register_and_generate_custom_control('paralax_featured', 'homepage paralax featured posts', 'default', 'paralax_featured', $wp_customize, 'multiloquent_settings');
70+
$wp_customize->add_section('multiloquent_settings', array(
71+
'title' => __('Multiloquent Settings', 'multiloquent'),
72+
'priority' => 30
73+
));
74+
multiloquent_register_and_generate_custom_control('paralax_featured', 'paralax_featured', 'default', 'Excerpt or tags in featured posts', $wp_customize, 'multiloquent_settings');
7175
multiloquent_register_and_generate_custom_control('bootswatch', 'bootswatch', 'default', 'bootswatch', $wp_customize, 'colors');
7276
multiloquent_register_and_generate_custom_control('colour', 'mulitloquent_navbar', '#F8F8F8', 'Main Elements Background Color', $wp_customize, 'colors');
7377
multiloquent_register_and_generate_custom_control('colour', 'mulitloquent_navbar_text', '#777777', 'Main Elements Text Color', $wp_customize, 'colors');

0 commit comments

Comments
 (0)