/** * Inspiro functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Inspiro * @since Inspiro 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Define Constants */ define( 'INSPIRO_THEME_VERSION', '2.0.7' ); define( 'INSPIRO_THEME_DIR', trailingslashit( get_template_directory() ) ); define( 'INSPIRO_THEME_URI', trailingslashit( esc_url( get_template_directory_uri() ) ) ); define( 'INSPIRO_THEME_ASSETS_URI', INSPIRO_THEME_URI . 'dist' ); // Marketing define( 'INSPIRO_MARKETING_UTM_CODE_STARTER_SITE', '?utm_source=wpadmin&utm_medium=starter-sites&utm_campaign=upgrade-premium' ); define( 'INSPIRO_MARKETING_UTM_CODE_FOOTER_MENU', '?utm_source=wpadmin&utm_medium=footer-menu&utm_campaign=upgrade-premium' ); // This theme requires WordPress 5.3 or later. if ( version_compare( $GLOBALS['wp_version'], '5.3', '<' ) ) { require INSPIRO_THEME_DIR . 'inc/back-compat.php'; } /** * Recommended Plugins */ require INSPIRO_THEME_DIR . 'inc/classes/class-tgm-plugin-activation.php'; /** * Setup helper functions. */ require INSPIRO_THEME_DIR . 'inc/common-functions.php'; /** * Setup theme media. */ require INSPIRO_THEME_DIR . 'inc/theme-media.php'; /** * Enqueues scripts and styles */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-enqueue-scripts.php'; /** * Setup custom wp-admin options pages */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-custom-wp-admin-menu.php'; /** * Additional features to include custom WP pointer function */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-wp-admin-menu-pointer.php'; /** * Functions and definitions. */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-after-setup-theme.php'; /** * Handle SVG icons. */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-svg-icons.php'; /** * Implement the Custom Header feature. */ require INSPIRO_THEME_DIR . 'inc/custom-header.php'; /** * Custom template tags for this theme. */ require INSPIRO_THEME_DIR . 'inc/template-tags.php'; /** * Additional features to allow styling of the templates. */ require INSPIRO_THEME_DIR . 'inc/template-functions.php'; /** * Custom Template WC functions */ require INSPIRO_THEME_DIR . 'inc/wc-custom-functions.php'; /** * Editor Fonts */ require INSPIRO_THEME_DIR . 'inc/editor-fonts.php'; /** * Custom template shortcode tags for this theme */ // require INSPIRO_THEME_DIR . 'inc/shortcodes.php'; /** * Customizer additions. */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-font-family-manager.php'; require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-fonts-manager.php'; // Include Customizer Guided Tour if ( is_admin() ) { // && is_customize_preview(), AJAX don't work with is_customize_preview() included require INSPIRO_THEME_DIR . 'inc/classes/inspiro-customizer-guided-tour.php'; } require INSPIRO_THEME_DIR . 'inc/customizer-functions.php'; require INSPIRO_THEME_DIR . 'inc/customizer/class-inspiro-customizer-control-base.php'; require INSPIRO_THEME_DIR . 'inc/customizer/class-inspiro-customizer.php'; /** * SVG icons functions and filters. */ require INSPIRO_THEME_DIR . 'inc/icon-functions.php'; /** * Theme admin notices and info page */ if ( is_admin() ) { require INSPIRO_THEME_DIR . 'inc/admin-notice.php'; require INSPIRO_THEME_DIR . 'inc/admin/admin-api.php'; // temporary marketing black friday functionality require INSPIRO_THEME_DIR . 'inc/marketing-functions.php'; if ( current_user_can( 'manage_options' ) ) { require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-notices.php'; require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-notice-review.php'; } } /** * Theme Upgrader */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-theme-upgrader.php'; /** * Inline theme css generated dynamically */ require INSPIRO_THEME_DIR . 'inc/dynamic-css/body.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/logo.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/headings.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/hero-header-title.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/hero-header-desc.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/hero-header-button.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/main-menu.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/mobile-menu.php';{"id":363,"date":"2025-02-24T13:14:30","date_gmt":"2025-02-24T13:14:30","guid":{"rendered":"https:\/\/polmard.com\/?page_id=363"},"modified":"2025-06-19T14:38:26","modified_gmt":"2025-06-19T14:38:26","slug":"nos-horaires","status":"publish","type":"page","link":"https:\/\/polmard.com\/?page_id=363","title":{"rendered":"Nos horaires"},"content":{"rendered":"\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

Restaurant<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t\t
\n\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tLundi<\/span>\n\t\t\t\t\t\t\t\tFerm\u00e9<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tMardi<\/span>\n\t\t\t\t\t\t\t\t12h00 - 14h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tMercredi<\/span>\n\t\t\t\t\t\t\t\t12h00 - 14h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tJeudi<\/span>\n\t\t\t\t\t\t\t\t12h00 - 14h00 - 19h00 - 21h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tVendredi<\/span>\n\t\t\t\t\t\t\t\t12h00 - 14h00 - 19h00 - 21h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tSamedi<\/span>\n\t\t\t\t\t\t\t\t12h00 - 14h00 - 19h00 - 21h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tDimanche<\/span>\n\t\t\t\t\t\t\t\tFerm\u00e9<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n <\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Restaurant\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

Boucherie<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t\t
\n\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Boucherie\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tLundi<\/span>\n\t\t\t\t\t\t\t\tFerm\u00e9<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tMardi<\/span>\n\t\t\t\t\t\t\t\t8h30 - 19h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tMercredi<\/span>\n\t\t\t\t\t\t\t\t8h30 - 19h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tJeudi<\/span>\n\t\t\t\t\t\t\t\t8h30 - 19h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tVendredi<\/span>\n\t\t\t\t\t\t\t\t8h30 - 19h00<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tSamedi<\/span>\n\t\t\t\t\t\t\t\t8h30 - 18h30<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tDimanche<\/span>\n\t\t\t\t\t\t\t\tFerm\u00e9<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n <\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t
<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"

Restaurant Lundi Ferm\u00e9 Mardi 12h00 – 14h00 Mercredi 12h00 – 14h00 Jeudi 12h00 – 14h00 – 19h00 – 21h00 Vendredi 12h00 – 14h00 – 19h00 – 21h00 Samedi 12h00 – 14h00 – 19h00 – 21h00 Dimanche Ferm\u00e9 Boucherie Lundi Ferm\u00e9 Mardi 8h30 – 19h00 Mercredi 8h30 – 19h00 Jeudi 8h30 – 19h00 Vendredi 8h30 – […]<\/p>\n","protected":false},"author":1,"featured_media":395,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_theme","meta":{"footnotes":""},"class_list":["post-363","page","type-page","status-publish","has-post-thumbnail","hentry"],"featured_media_urls":{"thumbnail":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-150x150.jpeg",150,150,true],"medium":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-300x169.jpeg",300,169,true],"medium_large":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant.jpeg",768,432,false],"large":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant.jpeg",960,540,false],"etfrtb_logo":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-200x113.jpeg",200,113,true],"1536x1536":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant.jpeg",960,540,false],"2048x2048":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant.jpeg",960,540,false],"woocommerce_thumbnail":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-300x300.jpeg",300,300,true],"woocommerce_single":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-600x338.jpeg",600,338,true],"woocommerce_gallery_thumbnail":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-100x100.jpeg",100,100,true],"portfolio_item-thumbnail":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-600x400.jpeg",600,400,true],"portfolio_item-thumbnail@2x":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant.jpeg",960,540,false],"portfolio_item-masonry":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-600x338.jpeg",600,338,true],"portfolio_item-masonry@2x":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant.jpeg",960,540,false],"portfolio_item-thumbnail_cinema":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-800x335.jpeg",800,335,true],"portfolio_item-thumbnail_portrait":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-600x540.jpeg",600,540,true],"portfolio_item-thumbnail_portrait@2x":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant.jpeg",960,540,false],"portfolio_item-thumbnail_square":["https:\/\/polmard.com\/wp-content\/uploads\/2025\/02\/devanture-restaurant-800x540.jpeg",800,540,true]},"_links":{"self":[{"href":"https:\/\/polmard.com\/index.php?rest_route=\/wp\/v2\/pages\/363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/polmard.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/polmard.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/polmard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/polmard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=363"}],"version-history":[{"count":21,"href":"https:\/\/polmard.com\/index.php?rest_route=\/wp\/v2\/pages\/363\/revisions"}],"predecessor-version":[{"id":842,"href":"https:\/\/polmard.com\/index.php?rest_route=\/wp\/v2\/pages\/363\/revisions\/842"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/polmard.com\/index.php?rest_route=\/wp\/v2\/media\/395"}],"wp:attachment":[{"href":"https:\/\/polmard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}