- Create a file called
print.cssand put it in your themes directory, where yourstyles.cssis (usually blog\wp-content\themes\k2). - Then open
header.phpin your themes directory - Jump to line 15.
- After this line insert the following code:
- Modify your
print.csslike you want. - Thats it. To test your design click print preview in your browser.
<link rel="stylesheet" type="text/css" media="screen" href="http://www.yourdomain.com/blog/wp-content/themes/k2/style.css" />
<link rel="stylesheet" type="text/css" media="print" href="http://www.yourdomain.com/blog/wp-content/themes/k2/print.css" />
Works with Wordpress 2.0.3 - 2.0.5 and K2 Beta Two r167. Should be working with other themes too.
If you like my print design you can download my print.css here. Download: print.css
Suchen
Immer aktuell mit dem RSS 2.0 Feed von "Rund um unsere Welten".

Tags
AJAX Belize Blogs Bücher Cameron Highlands Chinese Wedding CSS Domes Fotografie Fotos Fun Fussball Google Greasemonkey Gujarat Heldrungen HiFi Indien JavaScript Kabarett Kambodscha Langkawi Leipzig Madhya Pradesh Maharashtra Malaysia Musik Nationalparks Passwörter Perak Photoshop Plugins Poetry Slam Rajasthan Reisen Rezepte Sabah Sarawak Software Surfen Tauchen Teheran Thailand Tiere Tiger Tischtennis Tutorials Uboot Uttar Pradesh Uttaranchal Videos Web Webdesign Werbung Wordpress Zitate




Kein Kommentar zu “How to add print.css support into your Wordpress K2 Theme”
Please Wait
Hinterlasse doch eine Nachricht.