解決 PHP 5.3.0 + WordPress 造成 It is not safe to rely on the system’s timezone settings.

Author: Eric  //  Category: Free Teaching

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /Path_to_your/www/wp-includes/functions.php on line 35

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /Path_to_your/www/wp-includes/functions.php on line 43

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /Path_to_your/www/wp-includes/functions.php on line 35

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /Path_to_your/www/wp-includes/functions.php on line 43

Read more...

改變註冊 WordPress 後通知密碼的方式

Author: Eric  //  Category: Free Teaching

00. 因為有些人使用的是免費空間而造成無法成功寄信 or 有些新註冊的使用者, 因種種的原因而收不到 WordPress 註冊後所寄送的密碼, 而造成雙方的損失。您損失了新的 Fans, 而新註冊的使用者折騰了一番, 卻還不能登入, 被拒之於門外。


Read more...

在文章標題添加圖片

Author: Eric  //  Category: Free Teaching

1. 如果想要讓圖片顯示在首頁的文章標題

  a. 打開 ./wp-content/themes/Your_Theme_Name/index.php
  b. 找到

<?php the_title(); ?> 

  c. 選擇下面任一種 code 加上

2. 如果想要讓圖片顯示在內文的文章標題

  a. 打開 ./wp-content/themes/Your_Theme_Name/single.php
  b. 找到

<?php the_title(); ?> 

  c. 選擇下面任一種 code 加上
Read more...

This theme is released under creative commons licence, all links in the footer should remain intact.

Author: Eric  //  Category: Free Teaching

00. 剛才要幫忙解決移除佈景側欄的問題就下載了對方使用的 interior-theme-10 風格, 一解壓縮並於後台啟用, 都還沒做任何修改, 結果 WordPress 前後台都出現下面那一段話。 "This theme is released under creative commons licence, all links in the footer should remain intact."
Read more...

Pages: Prev 1 2 3 4 5 6 7 8 9 10 11 Next