Compare commits
	
		
			No commits in common. "6a75da7aae80e6a33a9d16600a6b8a92cc12cb1e" and "0b592dbf6c31ce8d0aa873abe3a9e804715f0df8" have entirely different histories.
		
	
	
		
			6a75da7aae
			...
			0b592dbf6c
		
	
		
| @ -1,6 +1,6 @@ | ||||
| <?php | ||||
| /** | ||||
|  * Portage theme functions and definitions | ||||
|  * Atticus Finch functions and definitions | ||||
|  * | ||||
|  * @package Portage | ||||
|  */ | ||||
| @ -17,7 +17,7 @@ function portage_setup() { | ||||
| 	/* | ||||
| 	 * Make theme available for translation. | ||||
| 	 * Translations can be filed in the /languages/ directory. | ||||
| 	 * If you're building a theme based on Portage, use a find and replace | ||||
| 	 * If you're building a theme based on Atticus Finch, use a find and replace | ||||
| 	 * to change 'portage' to the name of your theme in all the template files | ||||
| 	 */ | ||||
| 	load_theme_textdomain( 'portage', get_template_directory() . '/lang' ); | ||||
|  | ||||
| @ -26,20 +26,20 @@ function portage_customize_register( $wp_customize ) { | ||||
| 	$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; | ||||
| 
 | ||||
| 
 | ||||
| $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' ), | ||||
| $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' ), | ||||
| 	'priority' => 05,  | ||||
| ) ); | ||||
| 
 | ||||
| 
 | ||||
| // Widget Areas
 | ||||
| 	$wp_customize->add_section( 'portage_widget_areas', array( | ||||
| 		'title'          => __( 'Widget Areas', 'portage' ), | ||||
| 		'title'          => __( 'Widget Areas', 'atticus-finch' ), | ||||
| 		'capability'     => 'edit_theme_options', | ||||
| 		'priority'       => 30, | ||||
| 		'description'    => __( 'Select which action hook widget areas you would like to activate.', 'portage' ), | ||||
| 		'panel' => 'portage', | ||||
| 		'description'    => __( 'Select which action hook widget areas you would like to activate.', 'atticus-finch' ), | ||||
| 		'panel' => 'atticusfinch', | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -52,7 +52,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_header', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Header', 'portage' ), | ||||
| 		'label'    => __( 'Before Header', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -65,7 +65,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_after_top_menu', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'After Top Menu', 'portage' ), | ||||
| 		'label'    => __( 'After Top Menu', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -78,7 +78,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_social_media', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Social Media', 'portage' ), | ||||
| 		'label'    => __( 'Before Social Media', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -91,7 +91,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_primary_menu', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Primary Menu', 'portage' ), | ||||
| 		'label'    => __( 'Before Primary Menu', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -104,7 +104,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_after_header', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'After Header', 'portage' ), | ||||
| 		'label'    => __( 'After Header', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -117,7 +117,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_container_top', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Top of Container', 'portage' ), | ||||
| 		'label'    => __( 'Top of Container', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -130,7 +130,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_post_title', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Post Title', 'portage' ), | ||||
| 		'label'    => __( 'Before Post Title', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| /* | ||||
| @ -145,7 +145,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_post_content', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Post Content', 'portage' ), | ||||
| 		'label'    => __( 'Before Post Content', 'atticus-finch' ), | ||||
| 	) ); | ||||
| */ | ||||
| 
 | ||||
| @ -159,7 +159,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_post_top', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Top of Post', 'portage' ), | ||||
| 		'label'    => __( 'Top of Post', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -172,7 +172,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_post_bottom', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Bottom of Post', 'portage' ), | ||||
| 		'label'    => __( 'Bottom of Post', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -185,7 +185,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_after_post_content', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'After Post Content', 'portage' ), | ||||
| 		'label'    => __( 'After Post Content', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -198,7 +198,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_post_meta', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Post Meta', 'portage' ), | ||||
| 		'label'    => __( 'Before Post Meta', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -211,7 +211,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_after_post_meta', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'After Post Meta', 'portage' ), | ||||
| 		'label'    => __( 'After Post Meta', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -224,7 +224,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_comments', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Comments', 'portage' ), | ||||
| 		'label'    => __( 'Before Comments', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -237,7 +237,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_after_comments', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'After Comments', 'portage' ), | ||||
| 		'label'    => __( 'After Comments', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -250,7 +250,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_comment_form', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Comment Form', 'portage' ), | ||||
| 		'label'    => __( 'Before Comment Form', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -263,7 +263,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_after_comment_form', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'After Comment Form', 'portage' ), | ||||
| 		'label'    => __( 'After Comment Form', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -276,7 +276,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_container_bottom', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Bottom of Container', 'portage' ), | ||||
| 		'label'    => __( 'Bottom of Container', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -289,7 +289,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_before_footer_menu', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Before Footer Menu', 'portage' ), | ||||
| 		'label'    => __( 'Before Footer Menu', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -302,7 +302,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_footer_top', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Top of Footer', 'portage' ), | ||||
| 		'label'    => __( 'Top of Footer', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -315,7 +315,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_footer_bottom', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Bottom of Footer', 'portage' ), | ||||
| 		'label'    => __( 'Bottom of Footer', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -328,17 +328,17 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_after_footer', array( | ||||
| 		'section'  => 'portage_widget_areas', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'After Footer', 'portage' ), | ||||
| 		'label'    => __( 'After Footer', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| // Post Format Title Options
 | ||||
| 	$wp_customize->add_section( 'portage_post_format_title_options', array( | ||||
| 		'title'          => __( 'Post Format Title Options', 'portage' ), | ||||
| 		'title'          => __( 'Post Format Title Options', 'atticus-finch' ), | ||||
| 		'capability'     => 'edit_theme_options', | ||||
| 		'priority'       => 10, | ||||
| 		'description'    => __('Select whether titles should appear for various post formats.', 'portage'), | ||||
| 		'panel' => 'portage', | ||||
| 		'description'    => __('Select whether titles should appear for various post formats.', 'atticus-finch'), | ||||
| 		'panel' => 'atticusfinch', | ||||
| 	) ); | ||||
| 
 | ||||
| 	$wp_customize->add_setting( 'portage_aside_title', array( | ||||
| @ -350,7 +350,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_aside_title', array( | ||||
| 		'section'  => 'portage_post_format_title_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display title for asides', 'portage' ), | ||||
| 		'label'    => __( 'Display title for asides', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -363,7 +363,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_link_title', array( | ||||
| 		'section'  => 'portage_post_format_title_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display title for links', 'portage' ), | ||||
| 		'label'    => __( 'Display title for links', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -376,7 +376,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_quote_title', array( | ||||
| 		'section'  => 'portage_post_format_title_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display title for quotes', 'portage' ), | ||||
| 		'label'    => __( 'Display title for quotes', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -389,17 +389,17 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_status_title', array( | ||||
| 		'section'  => 'portage_post_format_title_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display title for statuses', 'portage' ), | ||||
| 		'label'    => __( 'Display title for statuses', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| // Post Format Excerpt Options
 | ||||
| 	$wp_customize->add_section( 'portage_post_format_excerpt_options', array( | ||||
| 		'title'          => __( 'Post Format Excerpt Options', 'portage' ), | ||||
| 		'title'          => __( 'Post Format Excerpt Options', 'atticus-finch' ), | ||||
| 		'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.', 'portage'), | ||||
| 		'panel' => 'portage', | ||||
| 		'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', | ||||
| 	) ); | ||||
| 
 | ||||
| 	$wp_customize->add_setting( 'portage_aside_excerpt', array( | ||||
| @ -411,7 +411,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_aside_excerpt', array( | ||||
| 		'section'  => 'portage_post_format_excerpt_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display excerpt for asides', 'portage' ), | ||||
| 		'label'    => __( 'Display excerpt for asides', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -424,7 +424,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_link_excerpt', array( | ||||
| 		'section'  => 'portage_post_format_excerpt_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display excerpt for links', 'portage' ), | ||||
| 		'label'    => __( 'Display excerpt for links', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -437,7 +437,7 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_quote_excerpt', array( | ||||
| 		'section'  => 'portage_post_format_excerpt_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display excerpt for quotes', 'portage' ), | ||||
| 		'label'    => __( 'Display excerpt for quotes', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -450,11 +450,11 @@ $wp_customize->add_panel( 'portage', array( | ||||
| 	$wp_customize->add_control( 'portage_status_excerpt', array( | ||||
| 		'section'  => 'portage_post_format_excerpt_options', | ||||
| 		'type'     => 'checkbox', | ||||
| 		'label'    => __( 'Display excerpt for statuses', 'portage' ), | ||||
| 		'label'    => __( 'Display excerpt for statuses', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| 	$default_readmore = __( '…read more…', 'portage' ); | ||||
| 	$default_readmore = __( '…read more…', 'atticus-finch' ); | ||||
| 	$wp_customize->add_setting( 'portage_readmore', array( | ||||
| 		'type'               => 'theme_mod', | ||||
| 		'transport'          => 'postMessage', | ||||
| @ -465,17 +465,17 @@ $wp_customize->add_panel( 'portage', 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)', 'portage'), | ||||
| 		'label'       => __( 'Text for ‘read more’ link (in all excerpts)', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| // Copyright Information
 | ||||
| 	$wp_customize->add_section( 'portage_copyright', array( | ||||
| 		'title'          => __( 'Copyright Information', 'portage' ), | ||||
| 		'title'          => __( 'Copyright Information', 'atticus-finch' ), | ||||
| 		'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")', 'portage' ), | ||||
| 		'panel'          => 'portage', | ||||
| 		'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', | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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.)', 'portage' ), | ||||
| 		'label'    => __( 'Enter your copyright information. (HTML is allowed.)', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| // Print Options
 | ||||
| 	$wp_customize->add_section( 'portage_print', array ( | ||||
| 		'title'          => __( 'Print Options', 'portage' ), | ||||
| 		'title'          => __( 'Print Options', 'atticus-finch' ), | ||||
| 		'capability'     => 'edit_theme_options', | ||||
| 		'priority'       => 40, | ||||
| 		'panel'          => 'portage', | ||||
| 		'panel'          => 'atticusfinch', | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage' ), | ||||
| 		'label'        => __( 'Print URL information at end of post', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage' ), | ||||
| 		'label'        => __( 'Print copyright information at end of post', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| // Social Media Options
 | ||||
| 	$wp_customize->add_section( 'portage_social_media', array( | ||||
| 		'title'          => __( 'Social Media Options', 'portage' ), | ||||
| 		'title'          => __( 'Social Media Options', 'atticus-finch' ), | ||||
| 		'capability'     => 'edit_theme_options', | ||||
| 		'priority'       => 90, | ||||
| 		'panel'          => 'portage', | ||||
| 		'panel'          => 'atticusfinch', | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'             => __( 'Display link to RSS feed', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage'), | ||||
| 		'label'             => __( 'Enter Twitter URL', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage'), | ||||
| 		'label'             => __( 'Enter second Twitter URL', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage'), | ||||
| 		'label'             => __( 'Enter Facebook URL', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage'), | ||||
| 		'label'             => __( 'Enter Instagram URL', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage'), | ||||
| 		'label'             => __( 'Enter YouTube URL', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage'), | ||||
| 		'label'             => __( 'Enter Pinterest Profile URL', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage'), | ||||
| 		'label'             => __( 'Enter Amazon Wish List URL', 'atticus-finch'), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage' ), | ||||
| 		'title'          => __( 'Mobile Menu Options', 'atticus-finch' ), | ||||
| 		'capability'     => 'edit_theme_options', | ||||
| 		'priority'       => 110, | ||||
| 		'description'    => __('Menu settings for mobile appearance. <b>Note:</b> The breakpoint settings will override the "mobile breakpoint" setting.', 'portage'), | ||||
| 		'panel' => 'portage', | ||||
| 		'description'    => __('Menu settings for mobile appearance. <b>Note:</b> The breakpoint settings will override the "mobile breakpoint" setting.', 'atticus-finch'), | ||||
| 		'panel' => 'atticusfinch', | ||||
| 	) ); | ||||
| 
 | ||||
| 	// 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', 'portage' ), | ||||
| 		'label'    => __( 'Mobile display name for top menu', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'    => __( 'Display the top menu as', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'    => __( 'Breakpoint to display top menu as mobile', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	// 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', 'portage' ), | ||||
| 		'label'    => __( 'Mobile display name for main menu', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'    => __( 'Display the menu menu as', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'    => __( 'Breakpoint to display main menu as mobile', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	// 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', 'portage' ), | ||||
| 		'label'    => __( 'Mobile display name for footer menu', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'    => __( 'Display the footer menu as', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'    => __( 'Breakpoint to display footer menu as mobile', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| // Mobile Options Options
 | ||||
| 	$wp_customize->add_section( 'portage_mobile', array( | ||||
| 		'title'          => __( 'Mobile Options', 'portage' ), | ||||
| 		'title'          => __( 'Mobile Options', 'atticus-finch' ), | ||||
| 		'capability'     => 'edit_theme_options', | ||||
| 		'priority'       => 100, | ||||
| 		'panel'          => 'portage', | ||||
| 		'panel'          => 'atticusfinch', | ||||
| 		'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', 'portage' ), | ||||
| 		'label'     => __( 'Breakpoint to display mobile version of theme', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'     => __( 'Display \'Return to Top\' link after post content', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'     => __( 'Display \'Return to Top\' link before footer content', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| // Miscellaneous Options
 | ||||
| 	$wp_customize->add_section( 'portage_misc', array( | ||||
| 		'title'          => __( 'Miscellaneous Options', 'portage' ), | ||||
| 		'title'          => __( 'Miscellaneous Options', 'atticus-finch' ), | ||||
| 		'capability'     => 'edit_theme_options', | ||||
| 		'priority'       => 200, | ||||
| 		'panel'          => 'portage', | ||||
| 		'panel'          => 'atticusfinch', | ||||
| 	) ); | ||||
| 
 | ||||
| 	$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', 'portage' ), | ||||
| 		'label'     => __( 'Display copyright information in footer', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage' ), | ||||
| 		'label'     => __( 'Display developer credits in footer', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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', 'portage' ), | ||||
| 		'label'       => __( 'Display "Edit this post" link if user is logged in', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| 
 | ||||
| @ -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)', 'portage' ), | ||||
| 		'label'     => __( 'Excerpt length in number of words (maximum = 100)', 'atticus-finch' ), | ||||
| 	) ); | ||||
| 
 | ||||
| // Preview some of our options 
 | ||||
|  | ||||
| @ -18,25 +18,25 @@ function portage_posted_on() { | ||||
| 	$modd = get_the_modified_date(); | ||||
| 
 | ||||
| 	if ( $modd == $date ) { | ||||
| 		printf(__( '<time class="entry-date published updated" datetime="%s">', 'portage' ), esc_attr( get_the_date( 'c' ) ) ); | ||||
| 		printf(__( '<time class="entry-date published updated" datetime="%s">', 'atticus-finch' ), esc_attr( get_the_date( 'c' ) ) ); | ||||
| 		echo '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">'; | ||||
| 		printf(__( 'Posted on %s', 'portage' ), get_the_date() ); | ||||
| 		printf(__( 'Posted on %s', 'atticus-finch' ), get_the_date() ); | ||||
| 		$date; | ||||
| 		echo '</a></time>'; | ||||
| 			} else { | ||||
| 		printf(__( '<time class="entry-date published updated" datetime="%s">', 'portage' ), esc_attr( get_the_date( 'c' ) ) ); | ||||
| 		printf(__( '<time class="entry-date published updated" datetime="%s">', 'atticus-finch' ), esc_attr( get_the_date( 'c' ) ) ); | ||||
| 		echo '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">'; | ||||
| 		printf(__( 'Posted on %s', 'portage' ), get_the_date() ); | ||||
| 		printf(__( 'Posted on %s', 'atticus-finch' ), get_the_date() ); | ||||
| 		$date; | ||||
| 		echo '</a>; '; | ||||
| 		printf(__( '<time class="updated" datetime="%s">', 'portage') , esc_attr( get_the_modified_date( 'c' ) ) ); | ||||
| 		printf(__( 'modified on %s', 'portage' ), get_the_modified_date() ); | ||||
| 		printf(__( '<time class="updated" datetime="%s">', 'atticus-finch') , esc_attr( get_the_modified_date( 'c' ) ) ); | ||||
| 		printf(__( 'modified on %s', 'atticus-finch' ), get_the_modified_date() ); | ||||
| 		echo '</time> '; | ||||
| 
 | ||||
| 	} | ||||
| 
 | ||||
| 	$byline = sprintf( | ||||
| 		esc_html_x( 'by %s', 'post author', 'portage' ), | ||||
| 		esc_html_x( 'by %s', 'post author', 'atticus-finch' ), | ||||
| 		'<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>' | ||||
| 	); | ||||
| 
 | ||||
| @ -116,7 +116,7 @@ function portage_comment_display() { | ||||
| 	} else { echo ' | ||||
| 	<div id="comments"> | ||||
| 		<div id="respond"> | ||||
| 			<p>' . __( 'Sorry, but comments are closed.', 'portage' ) . '</p> | ||||
| 			<p>' . __( 'Sorry, but comments are closed.', 'atticus-finch' ) . '</p> | ||||
| 		</div> | ||||
| 	</div>'; | ||||
| 	} | ||||
| @ -135,7 +135,7 @@ function portage_pub() { | ||||
| 	$portage_author_link = get_author_posts_url( get_the_author_meta( 'ID' ) ); | ||||
| 	$portage_author_href = '<a href="' . $portage_author_link . '">' . get_the_author() . '</a>'; | ||||
| 	echo '<a href="' . get_permalink() . '">'; | ||||
| 	printf( __( 'Published on: %1$s by %2$s', 'portage' ), portage_date(), $portage_author_href ); | ||||
| 	printf( __( 'Published on: %1$s by %2$s', 'atticus-finch' ), portage_date(), $portage_author_href ); | ||||
| 	echo '</a>'; | ||||
| } | ||||
| 
 | ||||
| @ -143,7 +143,7 @@ function portage_pub() { | ||||
| // Display category info as a translatable string in 'content-entry-meta.php'
 | ||||
| function portage_cat() { | ||||
| 	$gbcat = get_the_category_list( ', ' ); | ||||
| 	printf( __( 'Categorized under: %s', 'portage'), $gbcat ); | ||||
| 	printf( __( 'Categorized under: %s', 'atticus-finch'), $gbcat ); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| @ -151,9 +151,9 @@ function portage_cat() { | ||||
| function portage_tags() { | ||||
| 	$tags_array = has_tag(); | ||||
| 	if (!empty($tags_array)) {  | ||||
| 		printf( __( 'Tagged with: %s', 'portage'), get_the_tag_list('', ', ', '' ) ); | ||||
| 		printf( __( 'Tagged with: %s', 'atticus-finch'), get_the_tag_list('', ', ', '' ) ); | ||||
| 		} else { | ||||
| 		_e( 'This post has no tags.', 'portage' ); | ||||
| 		_e( 'This post has no tags.', 'atticus-finch' ); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| @ -162,9 +162,9 @@ function portage_tags() { | ||||
| function portage_next_post_link() { | ||||
| 	$portage_npl = get_next_post_link(); | ||||
| 	if ( empty ( $portage_npl ) ) { | ||||
| 		echo '<p>' . __( 'You are reading the newest post.', 'portage' ) . '</p>'; | ||||
| 		echo '<p>' . __( 'You are reading the newest post.', 'atticus-finch' ) . '</p>'; | ||||
| 	} else { | ||||
| 		echo '<p>' . __( 'Read a newer post:', 'portage' ) . '</p>'; | ||||
| 		echo '<p>' . __( 'Read a newer post:', 'atticus-finch' ) . '</p>'; | ||||
| 		next_post_link(); | ||||
| 	} | ||||
| } | ||||
| @ -174,9 +174,9 @@ function portage_next_post_link() { | ||||
| function portage_prev_post_link() { | ||||
| 	$portage_ppl = get_previous_post_link(); | ||||
| 	if ( empty ( $portage_ppl ) ) { | ||||
| 		echo '<p>>' . __( 'You are reading the oldest post.', 'portage' ) . '</p>'; | ||||
| 		echo '<p>>' . __( 'You are reading the oldest post.', 'atticus-finch' ) . '</p>'; | ||||
| 	} else { | ||||
| 		echo '<p>' . __( 'Read an older post:', 'portage' ) . '</p>'; | ||||
| 		echo '<p>' . __( 'Read an older post:', 'atticus-finch' ) . '</p>'; | ||||
| 		previous_post_link(); | ||||
| 	} | ||||
| } | ||||
| @ -185,7 +185,7 @@ function portage_prev_post_link() { | ||||
| // Add the URL information when printing
 | ||||
| function portage_print_url() { | ||||
| 	echo '<p class="printonly printurl">'; | ||||
| 	printf(__( 'Link for this article:', 'portage' ) ); | ||||
| 	printf(__( 'Link for this article:', 'atticus-finch' ) ); | ||||
| 	echo '<br /><span class="printurl-url">' . get_the_permalink() . '<span></p>'; | ||||
| } | ||||
| 
 | ||||
| @ -193,7 +193,7 @@ function portage_print_url() { | ||||
| // Add a "Read More" box on excerpts
 | ||||
| function portage_read_more() { | ||||
| 	echo '<p class="read-more"><a href="' . get_the_permalink() . '">'; | ||||
| 	printf(__( 'Read the complete article…', 'portage' ) ); | ||||
| 	printf(__( 'Read the complete article…', 'atticus-finch' ) ); | ||||
| 	echo '</a></p>'; | ||||
| } | ||||
| 
 | ||||
| @ -201,14 +201,14 @@ function portage_read_more() { | ||||
| // Take care of wp_link_pages
 | ||||
| function portage_link_pages() { | ||||
| 	$defaults = array( | ||||
| 		'before'           => '<div id="link-pages">' . __( 'This post has multiple pages:', 'portage' ), | ||||
| 		'before'           => '<div id="link-pages">' . __( 'This post has multiple pages:', 'atticus-finch' ), | ||||
| 		'after'            => '</div>', | ||||
| 		'link_before'      => '', | ||||
| 		'link_after'       => '', | ||||
| 		'next_or_number'   => 'number', | ||||
| 		'separator'        => ' ', | ||||
| 		'nextpagelink'     => __( 'Next page', 'portage' ), | ||||
| 		'previouspagelink' => __( 'Previous page', 'portage' ), | ||||
| 		'nextpagelink'     => __( 'Next page', 'atticus-finch' ), | ||||
| 		'previouspagelink' => __( 'Previous page', 'atticus-finch' ), | ||||
| 		'pagelink'         => '%', | ||||
| 		'echo'             => 1 | ||||
| 	); | ||||
| @ -225,7 +225,7 @@ function portage_print_options() { | ||||
| 	} | ||||
| 	if ( get_theme_mod( 'portage_print_url' ) == '1' ) { | ||||
| 		echo '<span class="printonly printurl">'; | ||||
| 		printf(__( 'Permalink for this article:', 'portage' ) ); | ||||
| 		printf(__( 'Permalink for this article:', 'atticus-finch' ) ); | ||||
| 		echo '<br /><span class="printurl-url">' . get_the_permalink() . '<span></span>'; | ||||
| 	} | ||||
| } | ||||
| @ -255,7 +255,7 @@ function portage_display_footer_credits() { | ||||
| 		$afwp = '<a href="http://wordpress.org/">WordPress</a>'; | ||||
| 		$afaf = '<a href="http://d12webdesign.com/">Portage Theme</a>'; | ||||
| 		echo '<div id="credits">'; | ||||
| 		printf(__( 'Powered by %1$s and the %2$s.', 'portage' ), $afwp, $afaf ); | ||||
| 		printf(__( 'Powered by %1$s and the %2$s.', 'atticus-finch' ), $afwp, $afaf ); | ||||
| 		echo '</div>'; | ||||
| 	} | ||||
| 	endif; | ||||
| @ -319,7 +319,7 @@ function portage_social_media_display() { | ||||
| function portage_footer_top_link() { | ||||
| 	if ( get_theme_mod( 'portage_footer_top_link' ) == 1 ) { | ||||
| 		echo '<a href="#" class="top-button">'; | ||||
| 		_e( 'Return to Top', 'portage' ); | ||||
| 		_e( 'Return to Top', 'atticus-finch' ); | ||||
| 		echo '</a>'; | ||||
| 	} else { | ||||
| 		return; | ||||
| @ -329,7 +329,7 @@ function portage_footer_top_link() { | ||||
| function portage_post_top_link() { | ||||
| 	if ( get_theme_mod( 'portage_post_top_link' ) == 1 ) { | ||||
| 		echo '<a href="#" class="top-button">'; | ||||
| 		_e( 'Return to Top', 'portage' ); | ||||
| 		_e( 'Return to Top', 'atticus-finch' ); | ||||
| 		echo '</a>'; | ||||
| 	} else { | ||||
| 		return; | ||||
|  | ||||
| @ -8,7 +8,7 @@ if ( get_theme_mod( 'portage_before_header') == '1' ) : | ||||
| add_action('portage_before_header', 'portage_before_header_fc' ); | ||||
| function portage_before_header_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_header' ) ) { | ||||
| 	echo '<div id="portage_before_header" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_header" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_header' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -19,7 +19,7 @@ if ( get_theme_mod( 'portage_after_top_menu') == '1' ) : | ||||
| add_action('portage_after_top_menu', 'portage_after_top_menu_FC' ); | ||||
| function portage_after_top_menu_FC(){ | ||||
| 	if ( is_active_sidebar( 'portage_after_top_menu' ) ) { | ||||
| 	echo '<div id="portage_after_top_menu" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_after_top_menu" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_after_top_menu' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -30,7 +30,7 @@ if ( get_theme_mod( 'portage_before_social_media') == '1' ) : | ||||
| add_action('portage_before_social_media', 'portage_before_social_media_fc' ); | ||||
| function portage_before_social_media_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_social_media' ) ) { | ||||
| 	echo '<div id="portage_before_social_media" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_social_media" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_social_media' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -41,7 +41,7 @@ if ( get_theme_mod( 'portage_before_primary_menu') == '1' ) : | ||||
| add_action('portage_before_primary_menu', 'portage_before_primary_menu_fc' ); | ||||
| function portage_before_primary_menu_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_primary_menu' ) ) { | ||||
| 	echo '<div id="portage_before_primary_menu" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_primary_menu" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_primary_menu' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -52,7 +52,7 @@ if ( get_theme_mod( 'portage_after_header') == '1' ) : | ||||
| add_action('portage_after_header', 'portage_after_header_fc' ); | ||||
| function portage_after_header_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_after_header' ) ) { | ||||
| 	echo '<div id="portage_after_header" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_after_header" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_after_header' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -65,7 +65,7 @@ if ( get_theme_mod( 'portage_container_top') == '1' ) : | ||||
| add_action('portage_container_top', 'portage_container_top_fc' ); | ||||
| function portage_container_top_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_container_top' ) ) { | ||||
| 	echo '<div id="portage_container_top" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_container_top" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_container_top' ); | ||||
| 	echo '</div><div class="clear"></div>'; | ||||
| 	} | ||||
| @ -78,7 +78,7 @@ if ( get_theme_mod( 'portage_before_post_title') == '1' ) : | ||||
| add_action('portage_before_post_title', 'portage_before_post_title_fc' ); | ||||
| function portage_before_post_title_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_post_title' ) ) { | ||||
| 	echo '<div id="portage_before_post_title" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_post_title" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_post_title' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -89,7 +89,7 @@ if ( get_theme_mod( 'portage_before_post_content') == '1' ) : | ||||
| add_action('portage_before_post_content', 'portage_before_post_content_fc' ); | ||||
| function portage_before_post_content_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_post_content' ) ) { | ||||
| 	echo '<div id="portage_before_post_content" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_post_content" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_post_content' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -100,7 +100,7 @@ if ( get_theme_mod( 'portage_post_top') == '1' ) : | ||||
| add_action('portage_post_top', 'portage_post_top_fc' ); | ||||
| function portage_post_top_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_post_top' ) ) { | ||||
| 	echo '<div id="portage_post_top" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_post_top" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_post_top' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -111,7 +111,7 @@ if ( get_theme_mod( 'portage_post_bottom') == '1' ) : | ||||
| add_action('portage_post_bottom', 'portage_post_bottom_fc' ); | ||||
| function portage_post_bottom_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_post_bottom' ) ) { | ||||
| 	echo '<div id="portage_post_bottom" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_post_bottom" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_post_bottom' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -122,7 +122,7 @@ if ( get_theme_mod( 'portage_after_post_content') == '1' ) : | ||||
| add_action('portage_after_post_content', 'portage_after_post_content_fc' ); | ||||
| function portage_after_post_content_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_after_post_content' ) ) { | ||||
| 	echo '<div id="portage_after_post_content" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_after_post_content" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_after_post_content' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -133,7 +133,7 @@ if ( get_theme_mod( 'portage_before_post_meta') == '1' ) : | ||||
| add_action('portage_before_post_meta', 'portage_before_post_meta_fc' ); | ||||
| function portage_before_post_meta_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_post_meta' ) ) { | ||||
| 	echo '<div id="portage_before_post_meta" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_post_meta" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_post_meta' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -144,7 +144,7 @@ if ( get_theme_mod( 'portage_after_post_meta') == '1' ) : | ||||
| add_action('portage_after_post_meta', 'portage_after_post_meta_fc' ); | ||||
| function portage_after_post_meta_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_after_post_meta' ) ) { | ||||
| 	echo '<div id="portage_after_post_meta" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_after_post_meta" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_after_post_meta' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -157,7 +157,7 @@ if ( get_theme_mod( 'portage_before_comments') == '1' ) : | ||||
| add_action('portage_before_comments', 'portage_before_comments_fc' ); | ||||
| function portage_before_comments_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_comments' ) ) { | ||||
| 	echo '<div id="portage_before_comments" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_comments" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_comments' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -168,7 +168,7 @@ if ( get_theme_mod( 'portage_after_comments') == '1' ) : | ||||
| add_action('portage_after_comments', 'portage_after_comments_fc' ); | ||||
| function portage_after_comments_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_after_comments' ) ) { | ||||
| 	echo '<div id="portage_after_comments" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_after_comments" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_after_comments' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -180,7 +180,7 @@ add_action('portage_before_comment_form', 'portage_before_comment_form_fc' ); | ||||
| function portage_before_comment_form_fc(){ | ||||
| 	if ( comments_open() ) : { | ||||
| 		if ( is_active_sidebar( 'portage_before_comment_form' ) ) { | ||||
| 		echo '<div id="portage_before_comment_form" class="portage-action-hook">'; | ||||
| 		echo '<div id="portage_before_comment_form" class="atticus-finch-action-hook">'; | ||||
| 		dynamic_sidebar( 'portage_before_comment_form' ); | ||||
| 		echo '</div>'; | ||||
| 		} | ||||
| @ -194,7 +194,7 @@ add_action('portage_after_comment_form', 'portage_after_comment_form_fc' ); | ||||
| function portage_after_comment_form_fc(){ | ||||
| 	if (comments_open() ) : { | ||||
| 		if ( is_active_sidebar( 'portage_after_comment_form' ) ) { | ||||
| 		echo '<div id="portage_after_comment_form" class="portage-action-hook">'; | ||||
| 		echo '<div id="portage_after_comment_form" class="atticus-finch-action-hook">'; | ||||
| 		dynamic_sidebar( 'portage_after_comment_form' ); | ||||
| 		echo '</div>'; | ||||
| 		} | ||||
| @ -209,7 +209,7 @@ if ( get_theme_mod( 'portage_container_bottom') == '1' ) : | ||||
| add_action('portage_container_bottom', 'portage_container_bottom_fc' ); | ||||
| function portage_container_bottom_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_container_bottom' ) ) { | ||||
| 	echo '<div class="clear"></div><div id="portage_container_bottom" class="portage-action-hook">'; | ||||
| 	echo '<div class="clear"></div><div id="portage_container_bottom" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_container_bottom' ); | ||||
| 	echo '</div><div class="clear"></div>'; | ||||
| 	} | ||||
| @ -220,7 +220,7 @@ if ( get_theme_mod( 'portage_before_footer_menu') == '1' ) : | ||||
| add_action('portage_before_footer_menu', 'portage_before_footer_menu_fc' ); | ||||
| function portage_before_footer_menu_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_before_footer_menu' ) ) { | ||||
| 	echo '<div id="portage_before_footer_menu" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_before_footer_menu" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_before_footer_menu' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -231,7 +231,7 @@ if ( get_theme_mod( 'portage_footer_top') == '1' ) : | ||||
| add_action('portage_footer_top', 'portage_footer_top_fc' ); | ||||
| function portage_footer_top_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_footer_top' ) ) { | ||||
| 	echo '<div id="portage_footer_top" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_footer_top" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_footer_top' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -242,7 +242,7 @@ if ( get_theme_mod( 'portage_footer_bottom') == '1' ) : | ||||
| add_action('portage_footer_bottom', 'portage_footer_bottom_fc' ); | ||||
| function portage_footer_bottom_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_footer_bottom' ) ) { | ||||
| 	echo '<div id="portage_footer_bottom" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_footer_bottom" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_footer_bottom' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -253,7 +253,7 @@ if ( get_theme_mod( 'portage_after_footer') == '1' ) : | ||||
| add_action('portage_after_footer', 'portage_after_footer_fc' ); | ||||
| function portage_after_footer_fc(){ | ||||
| 	if ( is_active_sidebar( 'portage_after_footer' ) ) { | ||||
| 	echo '<div id="portage_after_footer" class="portage-action-hook">'; | ||||
| 	echo '<div id="portage_after_footer" class="atticus-finch-action-hook">'; | ||||
| 	dynamic_sidebar( 'portage_after_footer' ); | ||||
| 	echo '</div>'; | ||||
| 	} | ||||
| @ -270,8 +270,8 @@ if ( get_theme_mod( 'portage_before_header') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Header', | ||||
| 		'id'            => 'portage_before_header', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages just above the header and the "above header menu" (if you are using one).', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-header-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages just above the header and the "above header menu" (if you are using one).', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-header-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -282,8 +282,8 @@ if ( get_theme_mod( 'portage_after_top_menu') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'After Top Menu', | ||||
| 		'id'            => 'portage_after_top_menu', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages below the top menu and above the site name.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-after-top-menu-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages below the top menu and above the site name.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-after-top-menu-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -294,8 +294,8 @@ if ( get_theme_mod( 'portage_before_social_media') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Social Media', | ||||
| 		'id'            => 'portage_before_social_media', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages to the left of the title and to the right of the social media menu.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-social-media-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages to the left of the title and to the right of the social media menu.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-social-media-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -306,8 +306,8 @@ if ( get_theme_mod( 'portage_before_primary_menu') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Primary Menu', | ||||
| 		'id'            => 'portage_before_primary_menu', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages above the primary menu.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-primary-menu-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages above the primary menu.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-primary-menu-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -318,8 +318,8 @@ if ( get_theme_mod( 'portage_after_header') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'After Header', | ||||
| 		'id'            => 'portage_after_header', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the header and before the main content and sidebar.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-after-header-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the header and before the main content and sidebar.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-after-header-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -332,8 +332,8 @@ if ( get_theme_mod( 'portage_container_top') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Top of Container', | ||||
| 		'id'            => 'portage_container_top', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages above the sidebar and content.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-container-top-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages above the sidebar and content.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-container-top-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -346,8 +346,8 @@ if ( get_theme_mod( 'portage_before_post_title') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Post Title', | ||||
| 		'id'            => 'portage_before_post_title', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the post title.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-post-title-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the post title.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-post-title-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -358,8 +358,8 @@ if ( get_theme_mod( 'portage_before_post_content') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Post Content', | ||||
| 		'id'            => 'portage_before_post_content', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the title and before the post content.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-post-content-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the title and before the post content.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-post-content-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -370,8 +370,8 @@ if ( get_theme_mod( 'portage_post_top') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Top of Post', | ||||
| 		'id'            => 'portage_post_top', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the top of the post.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-post-top-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the top of the post.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-post-top-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -382,8 +382,8 @@ if ( get_theme_mod( 'portage_post_bottom') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Bottom of Post', | ||||
| 		'id'            => 'portage_post_bottom', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the bottom of the post.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-post-bottom-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the bottom of the post.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-post-bottom-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -394,8 +394,8 @@ if ( get_theme_mod( 'portage_after_post_content') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'After Post Content', | ||||
| 		'id'            => 'portage_after_post_content', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the post content.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-after-post-content-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the post content.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-after-post-content-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -406,8 +406,8 @@ if ( get_theme_mod( 'portage_before_post_meta') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Post Meta', | ||||
| 		'id'            => 'portage_before_post_meta', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the post meta.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-post-meta-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the post meta.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-post-meta-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -418,8 +418,8 @@ if ( get_theme_mod( 'portage_after_post_meta') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'After Post Meta', | ||||
| 		'id'            => 'portage_after_post_meta', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the post meta.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-after-post-meta-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the post meta.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-after-post-meta-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -432,8 +432,8 @@ if ( get_theme_mod( 'portage_before_comments') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Comments', | ||||
| 		'id'            => 'portage_before_comments', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the comments.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-comments-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the comments.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-comments-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -444,8 +444,8 @@ if ( get_theme_mod( 'portage_after_comments') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'After Comments', | ||||
| 		'id'            => 'portage_after_comments', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the comments.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-after-comments-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the comments.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-after-comments-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -456,8 +456,8 @@ if ( get_theme_mod( 'portage_before_comment_form') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Comment Form', | ||||
| 		'id'            => 'portage_before_comment_form', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the comment form.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-comment-form-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the comment form.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-comment-form-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -468,8 +468,8 @@ if ( get_theme_mod( 'portage_after_comment_form') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'After Comment Form', | ||||
| 		'id'            => 'portage_after_comment_form', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the comment form.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-after-comment-form-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the comment form.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-after-comment-form-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -482,8 +482,8 @@ if ( get_theme_mod( 'portage_container_bottom') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Bottom of Container', | ||||
| 		'id'            => 'portage_container_bottom', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the footer.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-container-bottom-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the footer.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-container-bottom-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -494,8 +494,8 @@ if ( get_theme_mod( 'portage_before_footer_menu') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Before Footer Menu', | ||||
| 		'id'            => 'portage_before_footer_menu', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the footer menu.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-before-footer-menu-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages before the footer menu.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-before-footer-menu-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -506,8 +506,8 @@ if ( get_theme_mod( 'portage_footer_top') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Footer Top', | ||||
| 		'id'            => 'portage_footer_top', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the top of the footer.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-footer-top-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the top of the footer.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-footer-top-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -518,8 +518,8 @@ if ( get_theme_mod( 'portage_footer_bottom') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'Footer Bottom', | ||||
| 		'id'            => 'portage_footer_bottom', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the bottom of the footer.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-footer-bottom-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages at the bottom of the footer.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-footer-bottom-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
| @ -530,8 +530,8 @@ if ( get_theme_mod( 'portage_after_footer') == '1' ) : | ||||
| 	register_sidebar( array( | ||||
| 		'name'          => 'After Footer', | ||||
| 		'id'            => 'portage_after_footer', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the footer.', 'portage' ), | ||||
| 		'before_widget' => '<div class="portage-after-footer-widget">', | ||||
| 		'description'   => __( 'Widgets in this area will be shown on all posts and pages after the footer.', 'atticus-finch' ), | ||||
| 		'before_widget' => '<div class="atticus-finch-after-footer-widget">', | ||||
| 		'after_widget'  => '</div>', | ||||
| 		'before_title'  => '<h3>', | ||||
| 		'after_title'   => '</h3>', | ||||
|  | ||||
| @ -112,7 +112,7 @@ body > header { | ||||
| /* 2a. Sidebar hover effect       */ | ||||
| 
 | ||||
| #sidebar { | ||||
| 	opacity: 0.15; | ||||
| 	opacity: 0.2; | ||||
| 	transition: opacity 1.5s; | ||||
| 	} | ||||
| 
 | ||||
| @ -608,11 +608,10 @@ ul#footermenu-ul { | ||||
| 
 | ||||
| #social-media-menu { | ||||
| 	clear: both; | ||||
| 	padding: 0; | ||||
| 	margin-bottom: 6px; | ||||
| 	padding: 0 0 0 30px; | ||||
| 	height: 60px; | ||||
| 	max-height: 48px; | ||||
| 	width: max-content; | ||||
| 	margin: 0.8em auto 0.4em auto; | ||||
| } | ||||
| 
 | ||||
| #social-media-menu a { | ||||
|  | ||||
| @ -777,8 +777,6 @@ | ||||
| #footermenu { | ||||
|   font-family: sans-serif; | ||||
|   background: #333333; | ||||
|   width: max-content; | ||||
|   margin: 0 auto; | ||||
| } | ||||
| #footermenu > ul > li { | ||||
|   float: left; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user