'attesa_templates', 'numberposts' => -1, 'post_status' => 'publish' ) ); if ( ! empty ( $get_templates ) ) { foreach ( $get_templates as $template ) { $templates[ $template->ID ] = $template->post_title; } } return $templates; } /* Get the footer with optional Attesa Templates */ function attesaextra_get_footer() { if(attesa_check_bar('footer')): if (attesa_options('_footer_choose', 'default') == 'default' ): ?>
', '' ); ?>
', '' ); } } else { if ( 'post' === get_post_type() ) : $attesa_featImageTitle = apply_filters( 'attesa_title_featured_image_style', attesa_options('_featimage_style_posts_title', 'insidecontent') ); $attesa_featImage = apply_filters( 'attesa_post_featured_image_style', attesa_options('_featimage_style_posts', 'content') ); ?>
', '' ); } else { the_title( '

', '

' ); } } } /* Check if WPML String Translation plugin is active */ if ( ! function_exists( 'attesaextra_is_wpml_string_translation_active' ) ) { function is_wpml_string_translation_active() { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); return is_plugin_active( 'wpml-string-translation/plugin.php' ); } }