<?php
if ( ! defined( 'HOSTINGER_AI_WEBSITES_THEME_PATH' ) ) {
define( 'HOSTINGER_AI_WEBSITES_THEME_PATH', get_stylesheet_directory() );
}
if ( ! defined( 'HOSTINGER_AI_WEBSITES_ASSETS_URL' ) ) {
define( 'HOSTINGER_AI_WEBSITES_ASSETS_URL', get_stylesheet_directory_uri() . '/assets' );
}
if ( ! defined( 'HOSTINGER_AI_WEBSITES_WP_CONFIG_PATH' ) ) {
define( 'HOSTINGER_AI_WEBSITES_WP_CONFIG_PATH', ABSPATH . '.private/config.json' );
}
$hostinger_config = [];
if ( file_exists( HOSTINGER_AI_WEBSITES_WP_CONFIG_PATH ) ) {
$config_content = file_get_contents( HOSTINGER_AI_WEBSITES_WP_CONFIG_PATH );
$hostinger_config = json_decode( $config_content, true ) ?: [];
}
if ( ! defined( 'HOSTINGER_AI_WEBSITES_WP_TOKEN' ) ) {
$hostinger_dir_parts = explode( '/', __DIR__ );
$hostinger_server_root_path = '/' . $hostinger_dir_parts[1] . '/' . $hostinger_dir_parts[2];
define( 'HOSTINGER_AI_WEBSITES_WP_TOKEN', $hostinger_server_root_path . '/.api_token' );
}
if ( ! defined( 'HOSTINGER_AI_WEBSITES_REST_URI' ) ) {
$rest_uri = 'https://rest-hosting.hostinger.com';
if ( ! empty( $hostinger_config['base_rest_uri'] ) ) {
$rest_uri = $hostinger_config['base_rest_uri'];
}
define( 'HOSTINGER_AI_WEBSITES_REST_URI', $rest_uri );
}
if ( ! defined( 'HOSTINGER_WP_PROXY_API_URI' ) ) {
define( 'HOSTINGER_WP_PROXY_API_URI', 'https://wh-wordpress-proxy-api.hostinger.io' );
}
if ( ! defined( 'HOSTINGER_AI_WEBSITES_MINIMUM_PHP_VERSION' ) ) {
define( 'HOSTINGER_AI_WEBSITES_MINIMUM_PHP_VERSION', '8.0' );
}
if ( ! defined( 'HOSTINGER_AI_WEBSITES_REST_API_BASE' ) ) {
define( 'HOSTINGER_AI_WEBSITES_REST_API_BASE', 'hostinger-ai-plugin/v1' );
}
if ( ! version_compare( phpversion(), HOSTINGER_AI_WEBSITES_MINIMUM_PHP_VERSION, '>=' ) ) {
add_action( 'admin_notices', function () {
?>
<div class="notice notice-error is-dismissible hts-theme-settings">
<p>
<?php /* translators: %s php version */ ?>
<strong><?php echo __( 'Attention:', 'hostinger-ai-theme' ); ?></strong> <?php echo sprintf( __( 'The Hostinger Easy Onboarding plugin requires minimum PHP version of <b>%s</b>. ', 'hostinger-ai-theme' ), HOSTINGER_AI_WEBSITES_MINIMUM_PHP_VERSION ); ?>
</p>
<p>
<?php /* translators: %s php version */ ?>
<?php echo sprintf( __( 'You are running <b>%s</b> PHP version.', 'hostinger-ai-theme' ), phpversion() ); ?>
</p>
</div>
<?php
}
);
add_action( 'admin_head', function () { ?>
<style>
.notice.notice-error {
display: none !important;
}
.notice.notice-error.hts-theme-settings {
display: block !important;
}
</style>
<?php } );
} else {
$vendor_file = __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
if ( file_exists( $vendor_file ) ) {
require_once $vendor_file;
$boot = new \Hostinger\AiTheme\Boot();
$boot->run();
} else {
return;
}
}
猫の癒しと夜の孤独に寄り添う物語 | Miko Blog 日本語 - Miko Blog | Cat Fantasy Miko
Skip to content
猫の癒しと夜の孤独に寄り添う物語 | Miko Blog 日本語
Cat Fantasy Miko Blog
猫の癒しと夜の孤独に寄り添う物語
Mikoの日本語ブログ。猫の癒し、かわいい世界観、夜の孤独感に寄り添うオリジナルストーリー。
翻訳ではなく、日本の読者に合う「猫の癒し」「夜の孤独感」「かわいい世界観」を中心に作ります。
Market-tailored Miko stories
猫と癒し
Mikoを、静かな夜にそっと寄り添う猫の存在として表現します。
日本語の空気感
直訳ではなく、短く、柔らかく、余白のある日本語で書きます。
Miko世界への導線
壁紙、無料パック、公式サイトへ自然につなげます。
Emotion paths
Stressed, lonely, anxious, tired, lost, and happy. Each article will be written for the market where that emotional angle has the strongest audience and SEO value.
stressed lonely anxious tired lost happy