Yearly archives

<h3>Yearly Archives</h3>

<ul>
<?php
$years = $wpdb->get_col(“SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = ‘publish’ ORDER BY post_date DESC”);
foreach($years as $year) : ?>
<li><a href=”<?php echo get_year_link($year); ?> “><?php echo $year; ?></a></li>
<?php endforeach; ?>

</ul>

Chechaco

Gallery of artifacts and songs of the Chechaco Builders, a Latvian University student group that  operated in 1967 to 2003.

Представленные в Галерее экспонаты являются результатом тщательных раскопок, произведенных чечаками в своих и чужих архивах, включая Латвийский Государственный архив. Раскопанные ценности были оцифрованы и упорядочены бригадой архивариусов в составе Владимира Фридмана, Марины Фроловой, Сергея Журавлева и других.

Design by Julia Rezinsky

Tools: WordPress, Gallery2, css

Photo Gallery
Photo Gallery
Chechaco Songs
Chechaco Songs
Front Page
Front Page

number of words in exceprt

/*
Plugin Name: Longer Excerpt
Plugin URI: http://miche.netsons.org/projects/longer-excerpt/
Description: This plugin allows you to choose how many words do you want to show in feeds, if you have set them to show only summaries of each post. Configure the desired number by editing this plugin: default in WP is 56, not much fair for readers; default in this plugin is 200. <a href=”http://miche.netsons.org/projects/longer-excerpt/”>More</a>…
Version: 0.1
Author: Andrea Micheloni
Author URI: http://miche.netsons.org/
License: CC BY-NC-SA
License URI: http://creativecommons.org/licenses/by-nc-sa/2.5/
*/
$tm_length=20;

//What do you want to put after the truncated entry?
//Default in WP normally is “[..]”

$tm_other='[…]’;

// *** END EDITING HERE, PLEASE 😀 ***

Good 404 error code

You
"); #email you about problem*/
$casemessage = "An administrator has been emailed
about this problem, too.";#set a friendly message
}
echo " ".$website.$_SERVER['REQUEST_URI']; ?>
and it doesn't exist. You can click back
and try again or search for what you're looking for:

WordPress image size max value

make change in php.ini file – cannot find this file for now 🙁

$type = getimagesize($file);

by otto – http://ottodestruct.com/,  thanks to post in http://lorelle.wordpress.com/2007/03/28/wordpress-thumbnail-size-limit-hack/

function raise_image_size_limit() {
return 8*1024*1024; // or whatever you want
}
add_filter('wp_thumbnail_creation_size_limit','raise_image_size_limit');

function custom_thumbnail_size() {
return 128; // or whatever you want
}
add_filter('wp_thumbnail_max_side_length','custom_thumbnail_size');

li margin padding

html>body .sidebar li {
margin-left:-4em; } /* not seen by IE6 */

html>body .sidebar li {
*margin-left:-1em; } /* seen by IE7 */

.menu1, .menu2 { background-position: 0 1em ; background-repeat:no-repeat; padding: .3em 0 .3em 1em ; margin: .8em 0; }
html>body .menu1 { background-position: 0 .6em ; }  /* not seen by IE6 */
html>body .menu1 { *background-position: 0 1em ; } /*  seen by IE7 */

http://www.evotech.net/blog/2007/04/ie7-only-css-hacks/#star

Pop-up Windows


multiple-choice-game.jpg