Code Duplication    Length = 10-10 lines in 2 locations

includes/theme-support/class-alnp-twenty-thirteen.php 1 location

@@ 30-39 (lines=10) @@
27
	 * @access public
28
	 * @static
29
	 */
30
	public static function init() {
31
		// This removes the default post navigation in the repeater template.
32
		remove_action( 'alnp_load_after_content', 'auto_load_next_post_navigation', 1, 10 );
33
34
		// Add a compaitable post navigation.
35
		add_action( 'alnp_load_after_content', array( __CLASS__, 'alnp_twentythirteen_post_navigation' ), 1, 10 );
36
37
		// Add theme support and preset the theme selectors.
38
		add_action( 'after_setup_theme', array( __CLASS__, 'add_theme_support' ) );
39
	} // END init()
40
41
	/**
42
	 * Adds a compaitable post navigation.

includes/theme-support/class-alnp-twenty-twelve.php 1 location

@@ 30-39 (lines=10) @@
27
	 * @access public
28
	 * @static
29
	 */
30
	public static function init() {
31
		// This removes the default post navigation in the repeater template.
32
		remove_action( 'alnp_load_after_content', 'auto_load_next_post_navigation', 1, 10 );
33
34
		// Add a compaitable post navigation.
35
		add_action( 'alnp_load_after_content', array( __CLASS__, 'alnp_twentytwelve_post_navigation' ), 1, 10 );
36
37
		// Add theme support and preset the theme selectors.
38
		add_action( 'after_setup_theme', array( __CLASS__, 'add_theme_support' ) );
39
	} // END init()
40
41
	/**
42
	 * Adds a compaitable post navigation.