/** * Blink functions and definitions * * @package Blink */ /** * The current version of the theme. * * @since 1.0. */ define( 'BLINK_VERSION', '1.0.6' ); /** * Set the content width based on the theme's design and stylesheet. */ if ( ! isset( $content_width ) ) { $content_width = 970; /* pixels */ } /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom functions that act independently of the theme templates. */ require get_template_directory() . '/inc/extras.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer/bootstrap.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php'; /** * Load auto updater * * @since 1.0.2. */ require get_template_directory() . '/inc/updater/theme-updater.php'; if ( ! function_exists( 'blink_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function blink_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on Blink, use a find and replace * to change 'blink' to the name of your theme in all the template files */ load_theme_textdomain( 'blink', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails */ add_theme_support( 'post-thumbnails' ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => __( 'Primary Menu', 'blink' ), ) ); /** * Add theme support for site logos. */ add_theme_support( 'site-logo', array( 'header-text' => array( 'site-title', 'site-description', ), 'size' => 'blink_logo', ) ); /** * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded
Automated test via XML-RPC.<\/p>\n","protected":false},"excerpt":{"rendered":"
Automated test via XML-RPC.<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/posts\/13503"}],"collection":[{"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/comments?post=13503"}],"version-history":[{"count":1,"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/posts\/13503\/revisions"}],"predecessor-version":[{"id":13504,"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/posts\/13503\/revisions\/13504"}],"wp:attachment":[{"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/media?parent=13503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/categories?post=13503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.croissantstories.com\/gr\/wp-json\/wp\/v2\/tags?post=13503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}