1
私の子テーマのスタイルシートは機能していないようです。私はスクリプトを最後にロードするために変更する必要があると思うが、私はどのように優先順位を変更するか分からない。このスクリプトは私の子供のテーマを最後にロードしていますか?
これのfunctions.phpファイル:
<?php
function thim_child_enqueue_styles() {
// Enqueue parent style
wp_enqueue_style('thim-parent-style', get_template_directory_uri() . '/style.css');
}
add_action('wp_enqueue_scripts', 'thim_child_enqueue_styles', 100);
ウェブサイトのURLからスタイルシートが正しくエンキューされていることがわかります。 –