wordpress-memo
Search
⌃
K
wordpress 構築 memo
ファイル構造
よく使う関数
index.php
子テーマで CSS, temp.php, function.php を上書き する
完全に一から template を作る
カスタムフィールから画像を読み込ませる
開発環境の問題点の整理
データの永続化 docker volume 周り
外タレ記事読み込み
Powered By
GitBook
子テーマで CSS, temp.php, function.php を上書きする
/wp-content/themes/任意の子テーマフォルダ を作る
その中の style.css に Template: 対象の親テーマフォルダ名 を配置する
style.css で @import url('../simplesimple/style.css'); で親の CSS を読み込んだ上で、さらに上書きしていく。
index.php, single.php とかも上書きできる
上書きしたいファイルだけ用意すればいい。
Previous
index.php
Next
完全に一から template を作る
Last modified
5yr ago