https://wordbenchkobe.connpass.com/event/92266/
Health Check プラグインをみんなで翻訳してみよう
https://wordpress.org/plugins/health-check/
//- +prefectures(true || false) | |
mixin prefectures(required) | |
select(name='都道府県', required=required) | |
option(value='', selected='selected') | |
| 【選択して下さい】 | |
optgroup(label='北海道・東北地方') | |
option(value='北海道') | |
| 北海道 | |
option(value='青森県') | |
| 青森県 |
https://wordbenchkobe.connpass.com/event/92266/
Health Check プラグインをみんなで翻訳してみよう
https://wordpress.org/plugins/health-check/
#!/bin/bash | |
#shopt -s expand_aliases | |
#source ~/.bash_profile | |
## 日本語化する? | |
echo "日本語化する? [Y/N]" | |
read ANSWER | |
case $ANSWER in | |
"" | "Y" | "y" | "yes" | "Yes" | "YES" ) |
//- +year_month_day(ture || false, start_year, end_year) | |
mixin year_month_day(required, start_year, end_year) | |
select(name='year', required=required) | |
option(value='', selected='selected') - | |
- var y = start_year | |
while y <= end_year | |
option(value=y + '年')=y++ + '年' | |
select(name='month', required=required) | |
option(value='', selected='selected') - | |
- var m = 1 |
※161102 以下記事に最新の方法が記載されてます。
http://blog.cntlog.net/?p=1494
core@wocker ~ $ wocker run --name CONTAINER
core@wocker ~ $ wocker exec -it CONTAINER bash
root@*****:/var/www/wordpress# wp db import --allow-root
<?php | |
/** | |
* @package Structured Data of JSON-LD | |
* @version 2.0 | |
*/ | |
/* | |
Plugin Name: Structured Data of JSON-LD | |
Plugin URI: http://wordpress.org/plugins/ejls-easy-json-ld-setter/ | |
Description: Set Structured Data of "JSON-LD" to your WebSite.schema type that you can use is "Article","Person","WebSite" and "searchAction". | |
Author: Hidetaka Okamoto |
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. --> | |
<!-- It contains information about your site's posts, pages, comments, categories, and other content. --> | |
<!-- You may use this file to transfer that content from one site to another. --> | |
<!-- This file is not intended to serve as a complete backup of your site. --> | |
<!-- To import this information into a WordPress site follow these steps: --> | |
<!-- 1. Log in to that site as an administrator. --> | |
<!-- 2. Go to Tools: Import in the WordPress admin panel. --> | |
<!-- 3. Install the "WordPress" importer from the list. --> |
img { | |
max-width: 100%; | |
height: auto; | |
} | |
.aligncenter { | |
display: block; | |
margin: 0 auto; | |
} | |
.alignright { | |
float: right; |
select(name="birthday_year", required) | |
option(value='', selected='selected') - | |
- var n = 1990 | |
while n <= 2016 | |
option(value=n + '年') | |
=n++ | |
| 年 | |
select(name="birthday_month", required) | |
option(value='', selected='selected') - |