| Conditions | 4 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | function alnp_include_theme_support() { |
||
| 44 | $themes_supported = alnp_themes_supported(); |
||
| 45 | |||
| 46 | if ( is_alnp_active_theme( $themes_supported ) ) { |
||
| 47 | foreach( $themes_supported as $theme ) { |
||
| 48 | if ( get_template() == $theme ) { |
||
| 49 | include_once( dirname( __FILE__ ) . '/theme-support/class-alnp-' . $theme . '.php' ); |
||
| 50 | } |
||
| 51 | } |
||
| 52 | } |
||
| 53 | |||
| 54 | include_once( dirname( __FILE__ ) . '/theme-support/class-alnp-theme-support.php' ); |
||
| 55 | } // END alnp_include_theme_support() |
||
| 56 |