@ -26,20 +26,20 @@ function portage_customize_register( $wp_customize ) {
$wp_customize -> get_setting ( 'header_textcolor' ) -> transport = 'postMessage' ;
$wp_customize -> add_panel ( 'atticusfinch ' , array (
'title' => __ ( 'Portage Theme Options' , 'atticus-finch ' ),
'description' => __ ( 'The Portage theme has many options. Vist the theme\'s <a href="http://www.example.com/">home page</a> for complete instructions.' , 'atticus-finch ' ),
$wp_customize -> add_panel ( 'portage ' , array (
'title' => __ ( 'Portage Theme Options' , 'portage ' ),
'description' => __ ( 'The Portage theme has many options. Vist the theme\'s <a href="http://www.example.com/">home page</a> for complete instructions.' , 'portage ' ),
'priority' => 05 ,
) );
// Widget Areas
$wp_customize -> add_section ( 'portage_widget_areas' , array (
'title' => __ ( 'Widget Areas' , 'atticus-finch ' ),
'title' => __ ( 'Widget Areas' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 30 ,
'description' => __ ( 'Select which action hook widget areas you would like to activate.' , 'atticus-finch ' ),
'panel' => 'atticusfinch ' ,
'description' => __ ( 'Select which action hook widget areas you would like to activate.' , 'portage ' ),
'panel' => 'portage ' ,
) );
@ -52,7 +52,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_header' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Header' , 'atticus-finch ' ),
'label' => __ ( 'Before Header' , 'portage ' ),
) );
@ -65,7 +65,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_after_top_menu' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'After Top Menu' , 'atticus-finch ' ),
'label' => __ ( 'After Top Menu' , 'portage ' ),
) );
@ -78,7 +78,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_social_media' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Social Media' , 'atticus-finch ' ),
'label' => __ ( 'Before Social Media' , 'portage ' ),
) );
@ -91,7 +91,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_primary_menu' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Primary Menu' , 'atticus-finch ' ),
'label' => __ ( 'Before Primary Menu' , 'portage ' ),
) );
@ -104,7 +104,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_after_header' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'After Header' , 'atticus-finch ' ),
'label' => __ ( 'After Header' , 'portage ' ),
) );
@ -117,7 +117,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_container_top' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Top of Container' , 'atticus-finch ' ),
'label' => __ ( 'Top of Container' , 'portage ' ),
) );
@ -130,7 +130,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_post_title' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Post Title' , 'atticus-finch ' ),
'label' => __ ( 'Before Post Title' , 'portage ' ),
) );
/*
@ -145,7 +145,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_post_content' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Post Content' , 'atticus-finch ' ),
'label' => __ ( 'Before Post Content' , 'portage ' ),
) );
*/
@ -159,7 +159,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_post_top' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Top of Post' , 'atticus-finch ' ),
'label' => __ ( 'Top of Post' , 'portage ' ),
) );
@ -172,7 +172,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_post_bottom' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Bottom of Post' , 'atticus-finch ' ),
'label' => __ ( 'Bottom of Post' , 'portage ' ),
) );
@ -185,7 +185,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_after_post_content' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'After Post Content' , 'atticus-finch ' ),
'label' => __ ( 'After Post Content' , 'portage ' ),
) );
@ -198,7 +198,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_post_meta' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Post Meta' , 'atticus-finch ' ),
'label' => __ ( 'Before Post Meta' , 'portage ' ),
) );
@ -211,7 +211,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_after_post_meta' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'After Post Meta' , 'atticus-finch ' ),
'label' => __ ( 'After Post Meta' , 'portage ' ),
) );
@ -224,7 +224,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_comments' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Comments' , 'atticus-finch ' ),
'label' => __ ( 'Before Comments' , 'portage ' ),
) );
@ -237,7 +237,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_after_comments' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'After Comments' , 'atticus-finch ' ),
'label' => __ ( 'After Comments' , 'portage ' ),
) );
@ -250,7 +250,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_comment_form' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Comment Form' , 'atticus-finch ' ),
'label' => __ ( 'Before Comment Form' , 'portage ' ),
) );
@ -263,7 +263,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_after_comment_form' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'After Comment Form' , 'atticus-finch ' ),
'label' => __ ( 'After Comment Form' , 'portage ' ),
) );
@ -276,7 +276,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_container_bottom' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Bottom of Container' , 'atticus-finch ' ),
'label' => __ ( 'Bottom of Container' , 'portage ' ),
) );
@ -289,7 +289,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_before_footer_menu' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Before Footer Menu' , 'atticus-finch ' ),
'label' => __ ( 'Before Footer Menu' , 'portage ' ),
) );
@ -302,7 +302,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_footer_top' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Top of Footer' , 'atticus-finch ' ),
'label' => __ ( 'Top of Footer' , 'portage ' ),
) );
@ -315,7 +315,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_footer_bottom' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'Bottom of Footer' , 'atticus-finch ' ),
'label' => __ ( 'Bottom of Footer' , 'portage ' ),
) );
@ -328,17 +328,17 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_after_footer' , array (
'section' => 'portage_widget_areas' ,
'type' => 'checkbox' ,
'label' => __ ( 'After Footer' , 'atticus-finch ' ),
'label' => __ ( 'After Footer' , 'portage ' ),
) );
// Post Format Title Options
$wp_customize -> add_section ( 'portage_post_format_title_options' , array (
'title' => __ ( 'Post Format Title Options' , 'atticus-finch ' ),
'title' => __ ( 'Post Format Title Options' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 10 ,
'description' => __ ( 'Select whether titles should appear for various post formats.' , 'atticus-finch ' ),
'panel' => 'atticusfinch ' ,
'description' => __ ( 'Select whether titles should appear for various post formats.' , 'portage ' ),
'panel' => 'portage ' ,
) );
$wp_customize -> add_setting ( 'portage_aside_title' , array (
@ -350,7 +350,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_aside_title' , array (
'section' => 'portage_post_format_title_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display title for asides' , 'atticus-finch ' ),
'label' => __ ( 'Display title for asides' , 'portage ' ),
) );
@ -363,7 +363,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_link_title' , array (
'section' => 'portage_post_format_title_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display title for links' , 'atticus-finch ' ),
'label' => __ ( 'Display title for links' , 'portage ' ),
) );
@ -376,7 +376,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_quote_title' , array (
'section' => 'portage_post_format_title_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display title for quotes' , 'atticus-finch ' ),
'label' => __ ( 'Display title for quotes' , 'portage ' ),
) );
@ -389,17 +389,17 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_status_title' , array (
'section' => 'portage_post_format_title_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display title for statuses' , 'atticus-finch ' ),
'label' => __ ( 'Display title for statuses' , 'portage ' ),
) );
// Post Format Excerpt Options
$wp_customize -> add_section ( 'portage_post_format_excerpt_options' , array (
'title' => __ ( 'Post Format Excerpt Options' , 'atticus-finch ' ),
'title' => __ ( 'Post Format Excerpt Options' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 20 ,
'description' => __ ( 'By default, the aside, link, quote, and statu post format will display full content on the home page. You can choose to show excerpts instead.' , 'atticus-finch ' ),
'panel' => 'atticusfinch ' ,
'description' => __ ( 'By default, the aside, link, quote, and statu post format will display full content on the home page. You can choose to show excerpts instead.' , 'portage ' ),
'panel' => 'portage ' ,
) );
$wp_customize -> add_setting ( 'portage_aside_excerpt' , array (
@ -411,7 +411,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_aside_excerpt' , array (
'section' => 'portage_post_format_excerpt_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display excerpt for asides' , 'atticus-finch ' ),
'label' => __ ( 'Display excerpt for asides' , 'portage ' ),
) );
@ -424,7 +424,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_link_excerpt' , array (
'section' => 'portage_post_format_excerpt_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display excerpt for links' , 'atticus-finch ' ),
'label' => __ ( 'Display excerpt for links' , 'portage ' ),
) );
@ -437,7 +437,7 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_quote_excerpt' , array (
'section' => 'portage_post_format_excerpt_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display excerpt for quotes' , 'atticus-finch ' ),
'label' => __ ( 'Display excerpt for quotes' , 'portage ' ),
) );
@ -450,11 +450,11 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_status_excerpt' , array (
'section' => 'portage_post_format_excerpt_options' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display excerpt for statuses' , 'atticus-finch ' ),
'label' => __ ( 'Display excerpt for statuses' , 'portage ' ),
) );
$default_readmore = __ ( '…read more…' , 'atticus-finch ' );
$default_readmore = __ ( '…read more…' , 'portage ' );
$wp_customize -> add_setting ( 'portage_readmore' , array (
'type' => 'theme_mod' ,
'transport' => 'postMessage' ,
@ -465,17 +465,17 @@ $wp_customize->add_panel( 'atticusfinch', array(
$wp_customize -> add_control ( 'portage_readmore' , array (
'section' => 'portage_post_format_excerpt_options' ,
'type' => 'text' ,
'label' => __ ( 'Text for ‘read more’ link (in all excerpts)' , 'atticus-finch ' ),
'label' => __ ( 'Text for ‘read more’ link (in all excerpts)' , 'portage ' ),
) );
// Copyright Information
$wp_customize -> add_section ( 'portage_copyright' , array (
'title' => __ ( 'Copyright Information' , 'atticus-finch ' ),
'title' => __ ( 'Copyright Information' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 50 ,
'description' => __ ( 'Copyright information will appear in the footer, and at the bottom of printed pages. (Make sure you have not disabled this function under "Miscellaneous Options")' , 'atticus-finch ' ),
'panel' => 'atticusfinch ' ,
'description' => __ ( 'Copyright information will appear in the footer, and at the bottom of printed pages. (Make sure you have not disabled this function under "Miscellaneous Options")' , 'portage ' ),
'panel' => 'portage ' ,
) );
$wp_customize -> add_setting ( 'portage_copyright' , array (
@ -490,16 +490,16 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
'section' => 'portage_copyright' ,
'default' => $default_copyright ,
'type' => 'textarea' ,
'label' => __ ( 'Enter your copyright information. (HTML is allowed.)' , 'atticus-finch ' ),
'label' => __ ( 'Enter your copyright information. (HTML is allowed.)' , 'portage ' ),
) );
// Print Options
$wp_customize -> add_section ( 'portage_print' , array (
'title' => __ ( 'Print Options' , 'atticus-finch ' ),
'title' => __ ( 'Print Options' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 40 ,
'panel' => 'atticusfinch ' ,
'panel' => 'portage ' ,
) );
@ -512,7 +512,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_print_url' , array (
'section' => 'portage_print' ,
'type' => 'checkbox' ,
'label' => __ ( 'Print URL information at end of post' , 'atticus-finch ' ),
'label' => __ ( 'Print URL information at end of post' , 'portage ' ),
) );
@ -525,16 +525,16 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_print_copyright' , array (
'section' => 'portage_print' ,
'type' => 'checkbox' ,
'label' => __ ( 'Print copyright information at end of post' , 'atticus-finch ' ),
'label' => __ ( 'Print copyright information at end of post' , 'portage ' ),
) );
// Social Media Options
$wp_customize -> add_section ( 'portage_social_media' , array (
'title' => __ ( 'Social Media Options' , 'atticus-finch ' ),
'title' => __ ( 'Social Media Options' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 90 ,
'panel' => 'atticusfinch ' ,
'panel' => 'portage ' ,
) );
$wp_customize -> add_setting ( 'portage_rss' , array (
@ -546,7 +546,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_rss' , array (
'section' => 'portage_social_media' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display link to RSS feed' , 'atticus-finch ' ),
'label' => __ ( 'Display link to RSS feed' , 'portage ' ),
) );
@ -559,7 +559,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_twitter' , array (
'section' => 'portage_social_media' ,
'type' => 'url' ,
'label' => __ ( 'Enter Twitter URL' , 'atticus-finch ' ),
'label' => __ ( 'Enter Twitter URL' , 'portage ' ),
) );
@ -572,7 +572,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_twitter2' , array (
'section' => 'portage_social_media' ,
'type' => 'url' ,
'label' => __ ( 'Enter second Twitter URL' , 'atticus-finch ' ),
'label' => __ ( 'Enter second Twitter URL' , 'portage ' ),
) );
@ -585,7 +585,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_facebook' , array (
'section' => 'portage_social_media' ,
'type' => 'url' ,
'label' => __ ( 'Enter Facebook URL' , 'atticus-finch ' ),
'label' => __ ( 'Enter Facebook URL' , 'portage ' ),
) );
@ -598,7 +598,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_instagram' , array (
'section' => 'portage_social_media' ,
'type' => 'text' ,
'label' => __ ( 'Enter Instagram URL' , 'atticus-finch ' ),
'label' => __ ( 'Enter Instagram URL' , 'portage ' ),
) );
@ -611,7 +611,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_youtube' , array (
'section' => 'portage_social_media' ,
'type' => 'url' ,
'label' => __ ( 'Enter YouTube URL' , 'atticus-finch ' ),
'label' => __ ( 'Enter YouTube URL' , 'portage ' ),
) );
@ -624,7 +624,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_pinterest' , array (
'section' => 'portage_social_media' ,
'type' => 'url' ,
'label' => __ ( 'Enter Pinterest Profile URL' , 'atticus-finch ' ),
'label' => __ ( 'Enter Pinterest Profile URL' , 'portage ' ),
) );
@ -637,7 +637,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_amazon' , array (
'section' => 'portage_social_media' ,
'type' => 'url' ,
'label' => __ ( 'Enter Amazon Wish List URL' , 'atticus-finch ' ),
'label' => __ ( 'Enter Amazon Wish List URL' , 'portage ' ),
) );
@ -645,11 +645,11 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
// Mobile Menu Options
$wp_customize -> add_section ( 'portage_mobile_menu_options' , array (
'title' => __ ( 'Mobile Menu Options' , 'atticus-finch ' ),
'title' => __ ( 'Mobile Menu Options' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 110 ,
'description' => __ ( 'Menu settings for mobile appearance. <b>Note:</b> The breakpoint settings will override the "mobile breakpoint" setting.' , 'atticus-finch ' ),
'panel' => 'atticusfinch ' ,
'description' => __ ( 'Menu settings for mobile appearance. <b>Note:</b> The breakpoint settings will override the "mobile breakpoint" setting.' , 'portage ' ),
'panel' => 'portage ' ,
) );
// Top Menu Options
@ -662,7 +662,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_top_menu_name' , array (
'section' => 'portage_mobile_menu_options' ,
'type' => 'text' ,
'label' => __ ( 'Mobile display name for top menu' , 'atticus-finch ' ),
'label' => __ ( 'Mobile display name for top menu' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_top_menu_type' , array (
@ -680,7 +680,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
'dropdown' => 'Flat Menu' ,
'multitoggle' => 'Dropdown Menu' ,
),
'label' => __ ( 'Display the top menu as' , 'atticus-finch ' ),
'label' => __ ( 'Display the top menu as' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_top_menu_breakpoint' , array (
@ -693,7 +693,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_top_menu_breakpoint' , array (
'section' => 'portage_mobile_menu_options' ,
'type' => 'integer' ,
'label' => __ ( 'Breakpoint to display top menu as mobile' , 'atticus-finch ' ),
'label' => __ ( 'Breakpoint to display top menu as mobile' , 'portage ' ),
) );
// Main Menu Options
@ -706,7 +706,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_main_menu_name' , array (
'section' => 'portage_mobile_menu_options' ,
'type' => 'text' ,
'label' => __ ( 'Mobile display name for main menu' , 'atticus-finch ' ),
'label' => __ ( 'Mobile display name for main menu' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_main_menu_type' , array (
@ -724,7 +724,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
'dropdown' => 'Flat Menu' ,
'multitoggle' => 'Dropdown Menu' ,
),
'label' => __ ( 'Display the menu menu as' , 'atticus-finch ' ),
'label' => __ ( 'Display the menu menu as' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_main_menu_breakpoint' , array (
@ -737,7 +737,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_main_menu_breakpoint' , array (
'section' => 'portage_mobile_menu_options' ,
'type' => 'integer' ,
'label' => __ ( 'Breakpoint to display main menu as mobile' , 'atticus-finch ' ),
'label' => __ ( 'Breakpoint to display main menu as mobile' , 'portage ' ),
) );
// Footer Menu Options
@ -750,7 +750,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_footer_menu_name' , array (
'section' => 'portage_mobile_menu_options' ,
'type' => 'text' ,
'label' => __ ( 'Mobile display name for footer menu' , 'atticus-finch ' ),
'label' => __ ( 'Mobile display name for footer menu' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_footer_menu_type' , array (
@ -768,7 +768,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
'dropdown' => 'Flat Menu' ,
'multitoggle' => 'Dropdown Menu' ,
),
'label' => __ ( 'Display the footer menu as' , 'atticus-finch ' ),
'label' => __ ( 'Display the footer menu as' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_footer_menu_breakpoint' , array (
@ -781,16 +781,16 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_footer_menu_breakpoint' , array (
'section' => 'portage_mobile_menu_options' ,
'type' => 'integer' ,
'label' => __ ( 'Breakpoint to display footer menu as mobile' , 'atticus-finch ' ),
'label' => __ ( 'Breakpoint to display footer menu as mobile' , 'portage ' ),
) );
// Mobile Options Options
$wp_customize -> add_section ( 'portage_mobile' , array (
'title' => __ ( 'Mobile Options' , 'atticus-finch ' ),
'title' => __ ( 'Mobile Options' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 100 ,
'panel' => 'atticusfinch ' ,
'panel' => 'portage ' ,
'description' => 'Fine-tune your mobile appearance' ,
) );
@ -804,7 +804,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_mobile_breakpoint' , array (
'section' => 'portage_mobile' ,
'type' => 'text' ,
'label' => __ ( 'Breakpoint to display mobile version of theme' , 'atticus-finch ' ),
'label' => __ ( 'Breakpoint to display mobile version of theme' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_post_top_link' , array (
@ -817,7 +817,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_post_top_link' , array (
'section' => 'portage_mobile' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display \'Return to Top\' link after post content' , 'atticus-finch ' ),
'label' => __ ( 'Display \'Return to Top\' link after post content' , 'portage ' ),
) );
$wp_customize -> add_setting ( 'portage_footer_top_link' , array (
@ -830,16 +830,16 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_footer_top_link' , array (
'section' => 'portage_mobile' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display \'Return to Top\' link before footer content' , 'atticus-finch ' ),
'label' => __ ( 'Display \'Return to Top\' link before footer content' , 'portage ' ),
) );
// Miscellaneous Options
$wp_customize -> add_section ( 'portage_misc' , array (
'title' => __ ( 'Miscellaneous Options' , 'atticus-finch ' ),
'title' => __ ( 'Miscellaneous Options' , 'portage ' ),
'capability' => 'edit_theme_options' ,
'priority' => 200 ,
'panel' => 'atticusfinch ' ,
'panel' => 'portage ' ,
) );
$wp_customize -> add_setting ( 'portage_display_copyright' , array (
@ -852,7 +852,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_display_copyright' , array (
'section' => 'portage_misc' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display copyright information in footer' , 'atticus-finch ' ),
'label' => __ ( 'Display copyright information in footer' , 'portage ' ),
) );
@ -866,7 +866,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_display_credits' , array (
'section' => 'portage_misc' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display developer credits in footer' , 'atticus-finch ' ),
'label' => __ ( 'Display developer credits in footer' , 'portage ' ),
) );
@ -880,7 +880,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_edit_post_link' , array (
'section' => 'portage_misc' ,
'type' => 'checkbox' ,
'label' => __ ( 'Display "Edit this post" link if user is logged in' , 'atticus-finch ' ),
'label' => __ ( 'Display "Edit this post" link if user is logged in' , 'portage ' ),
) );
@ -894,7 +894,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
$wp_customize -> add_control ( 'portage_excerpt_length' , array (
'section' => 'portage_misc' ,
'type' => 'text' ,
'label' => __ ( 'Excerpt length in number of words (maximum = 100)' , 'atticus-finch ' ),
'label' => __ ( 'Excerpt length in number of words (maximum = 100)' , 'portage ' ),
) );
// Preview some of our options