Zenphoto Themes
Sunday, October 22nd, 2006Just a link:
ZenphotoThemes.com
Just a link:
ZenphotoThemes.com
ผู้เขียนลองสร้างโฮมเพจเอง วิธี? ง่ายมาก ใช้ text editor สร้างไฟล์ที่มีข้อความดังนี้:
<?php get_header(); ?>
ข้อความที่ต้องการแสดงที่หน้าโฮมเพจ
<?php get_footer(); ?>
ถ้าต้องการให้โฮมเพจมี sidebar ด้วย ก็เพิ่มอีกหนึ่งบรรทัด
<?php get_header(); ?>
ข้อความที่ต้องการแสดงที่หน้าโฮมเพจ
<?php get_sidebar(); ?>
<?php get_footer(); ?>
บันทึกไฟล์ด้วยชื่อ home.php เก็บไว้ในแฟ้มของ theme ที่ใช้งาน เท่านี้ก็เสร็จ
Just a link:
http://www.lofitribe.com/themes/
Widgets supported themes for Wordpress 2.0.4
ลองแก้ sidebar ของ Kubrick เองโดยไม่ใช้ widget เริ่มจากใส่ข้อมูลของผู้เขียน หรือบล็อกเกอร์ เปิด sidebar.php ด้วย theme editor จะเห็นข้อความนี้
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<li><h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
</li>
–>
ให้เขียนข้อมูลของตัวเองลงไปแทนที่ข้อความ ‘A little something about you…’ แล้วลบแท็ก comment ออก เป็นอันเสร็จ (ผู้เขียนเปลี่ยนคำว่า Author เป็น Blogger ด้วย จะได้เข้ากันกับ ThaiBlogger)
<li><h2>Blogger</h2>
<p>Nip is keen on reading, collecting DVDs, fan of 24 and Sorry I love you, still loves songs from 90s, guitar, tennis, my dogs, Web surfing, and blogging.</p>
</li>
ในที่สุดก็หาพบว่า รหัสของ StatCounter นี่เอง ที่ทำให้ sidebar ของ Kubrick กระโดดลงไปอยู่ด้านล่าง (เมื่อดูด้วย IE) ตอนนี้ เลยเอาออกไปก่อน
สำหรับ Kubrick (WordPress Default 1.6 ) การหมุนเปลี่ยน header จะต้องแก้รหัสที่ไฟล์ style.css โดยแก้จาก
#header {
background: #73a0c5 url(’images/kubrickheader.jpg’) no-repeat bottom center;
}
เปลี่ยนเป็น
#header {
background: #73a0c5 url(’images/rotate/rotate.php’) no-repeat bottom center;
}
ดูเพิ่มเติม:
http://www.thaiblogger.org/2006/08/30/to-rotate-headers.html
Just a link:
http://wordpresstheme.com/