質問編集履歴

5

文言の追加

2016/09/15 03:02

投稿

pan_nyaa
pan_nyaa

スコア10

test CHANGED
File without changes
test CHANGED
@@ -22,4 +22,26 @@
22
22
 
23
23
 
24
24
 
25
+
26
+
27
+
28
+
25
29
  動的に生成したファイルはhttpsを通らないのでしょうか?
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+ ::該当のCSSを読み込ませている箇所は
38
+
39
+ ```HTML
40
+
41
+ <link rel='stylesheet' id='plain-blog-style-css' href='https://panyaa.herokuapp.com/wp-content/themes/plain-blog/style.css?ver=4.6.1' type='text/css' media='all' />
42
+
43
+ ```
44
+
45
+ となっております。
46
+
47
+ CSSファイルをそのまま読み込ませた場合にはHTTPS関連のエラーは発生しませんが、PHPで動的生成するとエラーになってしまいます。

4

ソースコードです

2016/09/15 03:01

投稿

pan_nyaa
pan_nyaa

スコア10

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- [**index.php**](https://github.com/PanNyaa/panyaa.herokuapp.com/blob/master/wp-content/themes/plain-blog/style.css/index.php)
9
+ [**index.php**](https://github.com/PanNyaa/panyaa.herokuapp.com/blob/master/wp-content/themes/plain-blog/style.css/index.php) ????ソースコードです
10
10
 
11
11
 
12
12
 

3

リンク個所を目立たせました

2016/09/15 02:56

投稿

pan_nyaa
pan_nyaa

スコア10

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- PHPでCSSの動的生成をしてみたかったので、wordpressのテーマ内にある既存のstyle.cssを削除、style.css というディレクトリを作成し、その中にcssを記述した[index.php](https://github.com/PanNyaa/panyaa.herokuapp.com/blob/master/wp-content/themes/plain-blog/style.css/index.php)を置くことで、他ファイル内のCSSへのパス変更をせずに普段通り ~~~/style.css にアクセスすることでcssの動的生成を可能にしました。
5
+ PHPでCSSの動的生成をしてみたかったので、wordpressのテーマ内にある既存のstyle.cssを削除、style.css というディレクトリを作成し、その中にcssを記述した
6
+
7
+
8
+
9
+ [**index.php**](https://github.com/PanNyaa/panyaa.herokuapp.com/blob/master/wp-content/themes/plain-blog/style.css/index.php)
10
+
11
+
12
+
13
+ を置くことで、他ファイル内のCSSへのパス変更をせずに普段通り ~~~/style.css にアクセスすることでcssの動的生成を可能にしました。
6
14
 
7
15
 
8
16
 

2

コードへのリンク追加

2016/09/15 02:55

投稿

pan_nyaa
pan_nyaa

スコア10

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- PHPでCSSの動的生成をしてみたかったので、wordpressのテーマ内にある既存のstyle.cssを削除、style.css というディレクトリを作成し、その中にcssを記述したindex.phpを置くことで、他ファイル内のCSSへのパス変更をせずに普段通り ~~~/style.css にアクセスすることでcssの動的生成を可能にしました。
5
+ PHPでCSSの動的生成をしてみたかったので、wordpressのテーマ内にある既存のstyle.cssを削除、style.css というディレクトリを作成し、その中にcssを記述した[index.php](https://github.com/PanNyaa/panyaa.herokuapp.com/blob/master/wp-content/themes/plain-blog/style.css/index.php)を置くことで、他ファイル内のCSSへのパス変更をせずに普段通り ~~~/style.css にアクセスすることでcssの動的生成を可能にしました。
6
6
 
7
7
 
8
8
 

1

文言の追加

2016/09/15 02:12

投稿

pan_nyaa
pan_nyaa

スコア10

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- PHPでCSSの動的生成をしてみたかったので、wordpressのテーマ内にある既存のstyle.cssを削除、style.css というディレクトリを作成し、その中にcssを記述したindex.phpを置くことで、普段通り ~~~/style.css にアクセスすることでcssの動的生成を可能にしました。
5
+ PHPでCSSの動的生成をしてみたかったので、wordpressのテーマ内にある既存のstyle.cssを削除、style.css というディレクトリを作成し、その中にcssを記述したindex.phpを置くことで、他ファイル内のCSSへのパス変更をせずに普段通り ~~~/style.css にアクセスすることでcssの動的生成を可能にしました。
6
6
 
7
7
 
8
8