前提・実現したいこと
子テーマを有効にしたところ、レイアウトが崩れてしまいました。
一部のCSSが読み込まれないエラーが発生しているようなのですが、改善方法がわかりかねております。
ご助力頂きたいです。
発生している問題・エラーメッセージ
http://www.sample.co.jp/wp/wp-content/themes/agent_tcd033-child/agent.css 404 (Not Found) (index):57 GET http://www.sample.co.jp/wp/wp-content/themes/agent_tcd033-child/comment-style.css 404 (Not Found) (index):53 GET http://www.sample.co.jp/wp/wp-content/themes/agent_tcd033-child/agent.css 404 (Not Found) (index):57 GET http://www.sample.co.jp/wp/wp-content/themes/agent_tcd033-child/comment-style.css 404 (Not Found)
該当のソースコード
style.css
/* Theme Name:agent_tcd033-child Template:agent_tcd033 Version:1.23 */
functions.php
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style') ); }
試したこと
fanction.phpの記述やstyle.cssを変えたりはしましたが、レイアウト崩れを起こしたままで解決しませんでした。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。