//MODO MANTENIMIENTO:
function mode_maintenance(){
if(!current_user_can('edit_themes') || !is_user_logged_in()){
wp_die('
SITIO WEB EN MANTENIMIENTO
Estamos en construcción, pronto recibirás nuevas noticias...
', 'Sitio en Mantenimiento', array( 'response' => 503 ));
}
}
add_action('init', 'mode_maintenance');
/**
* ColorMag functions related to defining constants, adding files and WordPress core functionality.
*
* Defining some constants, loading all the required files and Adding some core functionality.
*
* @uses add_theme_support() To add support for post thumbnails and automatic feed links.
* @uses register_nav_menu() To add support for navigation menu.
* @uses set_post_thumbnail_size() To set a custom post thumbnail size.
*
* @package ThemeGrill
* @subpackage ColorMag
* @since ColorMag 1.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Define Theme Constants.
*/
$theme = wp_get_theme( 'colormag' );
define( 'COLORMAG_THEME_VERSION', $theme['Version'] );
/**
* Define Directory Location Constants
*/
define( 'COLORMAG_PARENT_DIR', get_template_directory() );
define( 'COLORMAG_CHILD_DIR', get_stylesheet_directory() );
define( 'COLORMAG_INCLUDES_DIR', COLORMAG_PARENT_DIR . '/inc' );
define( 'COLORMAG_CSS_DIR', COLORMAG_PARENT_DIR . '/css' );
define( 'COLORMAG_JS_DIR', COLORMAG_PARENT_DIR . '/js' );
define( 'COLORMAG_LANGUAGES_DIR', COLORMAG_PARENT_DIR . '/languages' );
define( 'COLORMAG_ADMIN_DIR', COLORMAG_INCLUDES_DIR . '/admin' );
define( 'COLORMAG_WIDGETS_DIR', COLORMAG_INCLUDES_DIR . '/widgets' );
define( 'COLORMAG_CUSTOMIZER_DIR', COLORMAG_INCLUDES_DIR . '/customizer' );
define( 'COLORMAG_ELEMENTOR_DIR', COLORMAG_INCLUDES_DIR . '/elementor' );
define( 'COLORMAG_ELEMENTOR_WIDGETS_DIR', COLORMAG_ELEMENTOR_DIR . '/widgets' );
define( 'COLORMAG_ADMIN_IMAGES_DIR', COLORMAG_ADMIN_DIR . '/images' );
/**
* Define URL Location Constants
*/
define( 'COLORMAG_PARENT_URL', get_template_directory_uri() );
define( 'COLORMAG_CHILD_URL', get_stylesheet_directory_uri() );
define( 'COLORMAG_INCLUDES_URL', COLORMAG_PARENT_URL . '/inc' );
define( 'COLORMAG_CSS_URL', COLORMAG_PARENT_URL . '/css' );
define( 'COLORMAG_JS_URL', COLORMAG_PARENT_URL . '/js' );
define( 'COLORMAG_LANGUAGES_URL', COLORMAG_PARENT_URL . '/languages' );
define( 'COLORMAG_ADMIN_URL', COLORMAG_INCLUDES_URL . '/admin' );
define( 'COLORMAG_WIDGETS_URL', COLORMAG_INCLUDES_URL . '/widgets' );
define( 'COLORMAG_CUSTOMIZER_URL', COLORMAG_INCLUDES_URL . '/customizer' );
define( 'COLORMAG_ELEMENTOR_URL', COLORMAG_INCLUDES_URL . '/elementor' );
define( 'COLORMAG_ELEMENTOR_WIDGETS_URL', COLORMAG_ELEMENTOR_URL . '/widgets' );
define( 'COLORMAG_ADMIN_IMAGES_URL', COLORMAG_ADMIN_URL . '/images' );
/** ColorMag setup file, hooked for `after_setup_theme`. */
require COLORMAG_INCLUDES_DIR . '/colormag-setup.php';
/** ColorMag content width file. */
require COLORMAG_INCLUDES_DIR . '/colormag-content-width.php';
/** Helper functions. */
require COLORMAG_INCLUDES_DIR . '/helper-functions.php';
/** Template functions files. */
require COLORMAG_INCLUDES_DIR . '/template-tags.php';
require COLORMAG_INCLUDES_DIR . '/template-functions.php';
/** WP_Query functions files. */
require COLORMAG_INCLUDES_DIR . '/colormag-wp-query.php';
/** Dynamic class file include. */
require_once COLORMAG_INCLUDES_DIR . '/colormag-dynamic-classes.php';
/**
* Load required theme hook files.
*/
require_once COLORMAG_INCLUDES_DIR . '/hooks/hooks.php';
require_once COLORMAG_INCLUDES_DIR . '/hooks/header.php';
require_once COLORMAG_INCLUDES_DIR . '/hooks/content.php';
require_once COLORMAG_INCLUDES_DIR . '/hooks/footer.php';
/** Load functions */
require_once COLORMAG_INCLUDES_DIR . '/custom-header.php';
require_once COLORMAG_CUSTOMIZER_DIR . '/class-colormag-customizer.php';
require_once COLORMAG_INCLUDES_DIR . '/enqueue-scripts.php';
require_once COLORMAG_INCLUDES_DIR . '/class-colormag-dynamic-css.php';
/** Add the WooCommerce plugin support */
if ( class_exists( 'WooCommerce' ) ) {
require_once COLORMAG_INCLUDES_DIR . '/woocommerce.php';
}
/** Add the Elementor compatibility file */
if ( defined( 'ELEMENTOR_VERSION' ) ) {
require_once COLORMAG_ELEMENTOR_DIR . '/elementor.php';
require_once COLORMAG_ELEMENTOR_DIR . '/elementor-functions.php';
}
/** Add meta boxes. */
require_once COLORMAG_INCLUDES_DIR . '/meta-boxes/class-colormag-meta-boxes.php';
require_once COLORMAG_INCLUDES_DIR . '/meta-boxes/class-colormag-meta-box-page-settings.php';
/** Load migration scripts. */
require_once COLORMAG_INCLUDES_DIR . '/migration.php';
/** Load Widgets and Widgetized Area */
require_once COLORMAG_WIDGETS_DIR . '/widgets.php';
/**
* Load deprecated functions.
*/
require_once COLORMAG_INCLUDES_DIR . '/deprecated/deprecated-filters.php';
require_once COLORMAG_INCLUDES_DIR . '/deprecated/deprecated-functions.php';
require_once COLORMAG_INCLUDES_DIR . '/deprecated/deprecated-hooks.php';
/**
* Load Demo Importer Configs.
*/
if ( class_exists( 'TG_Demo_Importer' ) ) {
require get_template_directory() . '/inc/demo-config.php';
}
/**
* Calling in the admin area for the Welcome Page as well as for the new theme notice too.
*/
if ( is_admin() ) {
require get_template_directory() . '/inc/admin/class-colormag-admin.php';
require get_template_directory() . '/inc/admin/class-colormag-dashboard.php';
require get_template_directory() . '/inc/admin/class-colormag-notice.php';
require get_template_directory() . '/inc/admin/class-colormag-welcome-notice.php';
require get_template_directory() . '/inc/admin/class-colormag-upgrade-notice.php';
require get_template_directory() . '/inc/admin/class-colormag-theme-review-notice.php';
}
/**
* Detect plugin. For use on Front End only.
*/
include_once ABSPATH . 'wp-admin/includes/plugin.php';
España - EducaSpain
https://educaspain.com/tag/espana/
Red Internacional de Enseñanza del EspañolSun, 15 Aug 2021 16:00:13 +0000es
hourly
1 https://wordpress.org/?v=6.4.7https://educaspain.com/wp-content/uploads/2019/12/cropped-Cuadrado-600-px-32x32.jpgEspaña - EducaSpain
https://educaspain.com/tag/espana/
32321011154992 Profesores de español, Córdoba (España)
https://educaspain.com/caducado/empleo-caducado/2-profesores-de-espanol-cordoba-espana/
https://educaspain.com/caducado/empleo-caducado/2-profesores-de-espanol-cordoba-espana/#respondMon, 09 Aug 2021 16:09:00 +0000https://educaspain.com/?p=19573https://educaspain.com/caducado/empleo-caducado/2-profesores-de-espanol-cordoba-espana/feed/019573Profesor titular de ELE, Málaga (España)
https://educaspain.com/caducado/empleo-caducado/ail-malaga/
https://educaspain.com/caducado/empleo-caducado/ail-malaga/#respondThu, 05 Aug 2021 10:35:26 +0000https://educaspain.com/?p=19551https://educaspain.com/caducado/empleo-caducado/ail-malaga/feed/019551Primary teacher, Salou (España)
https://www.tes.com/jobs/vacancy/primary-teacher-in-spain-2020-spain-1345206#new_tab
https://www.tes.com/jobs/vacancy/primary-teacher-in-spain-2020-spain-1345206#new_tab#respondFri, 28 Aug 2020 09:20:15 +0000https://educaspain.com/?p=19085https://www.tes.com/jobs/vacancy/primary-teacher-in-spain-2020-spain-1345206#new_tab/feed/019085“Acabamos un curso con la sensación de haber tirado a la basura 10 meses de nuestra vida”
https://educaspain.com/noticias/acabamos-un-curso-con-la-sensacion-de-haber-tirado-a-la-basura-10-meses-de-nuestra-vida/
https://educaspain.com/noticias/acabamos-un-curso-con-la-sensacion-de-haber-tirado-a-la-basura-10-meses-de-nuestra-vida/#commentsThu, 25 Jun 2020 07:47:24 +0000https://educaspain.com/?p=18752https://educaspain.com/noticias/acabamos-un-curso-con-la-sensacion-de-haber-tirado-a-la-basura-10-meses-de-nuestra-vida/feed/318752Profesor ayudante doctor en UNED, España
https://educaspain.com/caducado/empleo-caducado/profesores-uned-2020/
https://educaspain.com/caducado/empleo-caducado/profesores-uned-2020/#respondFri, 12 Jun 2020 11:51:13 +0000https://educaspain.com/?p=18656https://educaspain.com/caducado/empleo-caducado/profesores-uned-2020/feed/018656I Congreso Anaya del Español
https://educaspain.com/eventos/congreso-anaya-espanol/
https://educaspain.com/eventos/congreso-anaya-espanol/#respondSat, 07 Mar 2020 10:28:56 +0000https://educaspain.com/?post_type=mec-events&p=14324 El 29 y 30 de mayo de 2020 se celebra el I Congreso Anaya del Español en Madrid (España), un encuentro para docentes de español como lengua extranjera]]>https://educaspain.com/eventos/congreso-anaya-espanol/feed/014324II Encuentro de profesores ELE en Salamanca
https://educaspain.com/eventos/ii-encuentro-dice-salamanca/
https://educaspain.com/eventos/ii-encuentro-dice-salamanca/#respondTue, 03 Mar 2020 10:49:15 +0000https://educaspain.com/?post_type=mec-events&p=14312 El 13 y 14 de abril de 2020 se celebra el II Encuentro de profesores ELE en Salamanca (España) organizado por la escuela DICE Salamanca.]]>https://educaspain.com/eventos/ii-encuentro-dice-salamanca/feed/014312VI Congreso Internacional del Español
https://educaspain.com/eventos/vicongreso-internacional-salamanca/
https://educaspain.com/eventos/vicongreso-internacional-salamanca/#respondTue, 03 Mar 2020 10:44:25 +0000https://educaspain.com/?post_type=mec-events&p=14310 Del 29 de junio al 1 de julio de 2020 se celebra el Congreso Internacional del Español en Castilla y León en Salamanca (España)]]>https://educaspain.com/eventos/vicongreso-internacional-salamanca/feed/014310XXXV Congreso Internacional de la Asociación de Jóvenes Lingüistas
https://educaspain.com/eventos/xxxv-congreso-jovenes-linguistas/
https://educaspain.com/eventos/xxxv-congreso-jovenes-linguistas/#respondTue, 03 Mar 2020 10:34:48 +0000https://educaspain.com/?post_type=mec-events&p=14306 El 11, 12 y 13 de noviembre de 2020 se celebra el XXXV Congreso Internacional de la Asociación de Jóvenes Lingüistas en la Universidad de Zaragoza (España).]]>https://educaspain.com/eventos/xxxv-congreso-jovenes-linguistas/feed/014306I Jornada ELE CLIC International House Cádiz
https://educaspain.com/eventos/clic-cadiz-2020/
https://educaspain.com/eventos/clic-cadiz-2020/#respondTue, 03 Mar 2020 10:30:41 +0000https://educaspain.com/?post_type=mec-events&p=14304 El 9 de mayo de 2020 se celebra la primera Jornada ELE CLIC International House en Cádiz (España).]]>https://educaspain.com/eventos/clic-cadiz-2020/feed/014304