@@ -14,8 +14,13 @@ function __construct() {
1414 Container::make ('theme_options ' , self ::$ settings ['data ' ]['Name ' ])
1515 ->set_page_parent ('options-general.php ' )
1616 ->add_tab (__ ('General ' ), array (
17- Field::make ('text ' , self ::$ prefix .'email ' , 'Your E-mail Address ' )->help_text ('Example help text. ' ),
18- Field::make ('text ' , self ::$ prefix .'phone ' , 'Phone Number ' ),
17+ Field::make ('text ' , self ::$ prefix .'front_page_title ' , 'Front Page Title Tag ' )
18+ ->help_text ('Setting this will override the <tt><title></tt> tag on the front page. ' ),
19+ Field::make ('text ' , self ::$ prefix .'email ' , 'Your E-mail Address ' )
20+ ->set_attribute ('type ' , 'email ' )
21+ ->help_text ('This input is an HTML5 <tt>email</tt> type. ' ),
22+ Field::make ('text ' , self ::$ prefix .'phone ' , 'Phone Number ' )
23+ ->set_attribute ('type ' , 'tel ' ),
1924 Field::make ('date_time ' , self ::$ prefix .'date_time ' , 'Date & Time ' ),
2025 Field::make ('checkbox ' , self ::$ prefix .'checkbox ' , 'Disable New Registrations ' )->set_option_value (1 )->set_default_value (1 ),
2126 Field::make ('radio ' , self ::$ prefix .'radio ' , 'Subtitle text style ' )
@@ -25,13 +30,13 @@ function __construct() {
2530 'del ' => 'Strike ' ,
2631 )
2732 ),
28- Field::make ('complex ' , self ::$ prefix .'slides ' )->add_fields (array (
33+ Field::make ('complex ' , self ::$ prefix .'slides ' , self :: $ settings [ ' data ' ][ ' Name ' ] . ' ' . __ ( ' Slides ' , self :: $ textdomain ) )->add_fields (array (
2934 Field::make ('text ' , 'title ' ),
3035 Field::make ('image ' , 'photo ' ),
3136 )),
3237 Field::make ("select " , self ::$ prefix ."select " , "Best Music " )
3338 ->add_options (array (
34- 'winning ' => 'Matchbox Twenty ' ,
39+ 'winning ' => 'Andy Grammer ' ,
3540 'losing ' => 'Nickelback ' ,
3641 'superstar ' => 'Anything Armin van Buuren spins '
3742 ))
0 commit comments