date_default_timezone_set('Asia/Tokyo');$css_path = get_stylesheet_directory().'/style.css';$css_version = date('Ymd-His',filemtime($css_path));wp_enqueue_stylesheet( ’style.css' , ge
2019年12月
Wordpress
WordPressのスタイルシートの更新日時を取得してパラメータを付 与する
未分類
投稿内でget_template_partするショートコード
[get_template_part name=“hogehoge”]function wp_gtp($atts) {$shortcode_output = NULL;extract(shortcode_atts(array('name' => '',), $atts));ob_start();get_template_part($name);$te
未分類
kusanagiのWordPressにStack Driverを入れる方法
PHP 用 Stackdriver Debugger の設定https://cloud.google.com/debugger/docs/setup/php?hl=ja今回は「ローカルと他の場所」の手順に従って実行していきます。