“All is a vanity and a striving after wind” ~Eccl 1:14
Not much personal information here yet.
Here is some boring info about this theme.
Figuring it out
Started by modifying one of the installed Wordpress themes. But it was lacking features. Then switched between others, really liking Gridlock. Especially because of the sIFR. But still missing some features I wanted. The popular K2 theme had a lot of nice features that I wanted, but not the look, so I installed the Gridlock style for K2. Modified the style sheet a lot. Then changed K2 header files and sidebar to include the features and look I desired. Added a few plugins — “Search Everything” for searching pages and comments, and “Preserve Code Formatting”. Also added “Articles” plugin. Added sIFR back in to get that nice GridLock look.
Then i installed WPG2 so I could connect wordpress with gallery2 better. I did not like how the images were linked to wordpress, so I followed these instructions to link the images directly to Gallery2. They are posted here for future reference:
How to make WPG2 point to standalone Gallery
source: http://www.galleryembedded.com/forums/viewtopic.php?t=2108
By default, WPG2 will point to embedded Gallery at /wp-gallery2.php. In some cases, you might prefer to maintain your standalone Gallery instead. In other words, the links on your inserted images and random block images point to your standalone Gallery.
To do this, use the Manual Configuration Form. In the ‘URI to Gallery2 Embed Page’ field, enter the link to your standalone Gallery (e.g. /gallery2/main.php) instead of the normal embedded one (/wp-gallery2.php).
Adding Login/Logout Link to Sidebar
Did not want all the meta links that come with K2 in my sidebar (RSS, wordpress, etc), so I added a PHP module and pasted this code. This added a nice little login/logout link.
if ( ! is_user_logged_in() ) $link = '‘ . __(’Login’) . ‘‘; else $link = ‘‘ . __(’Logout’) . ‘‘; echo apply_filters(’loginout’, $link);
Calendar Style
Updated the calendar style based off a friend’s blog. The rounded boxes behind the days are images displayed as backgrounds.
Just uploaded the images and added this to my style sheet
#wp-calendar {
text-align:center;
background-color:#fff;
margin:0;
}
#wp-calendar td {
height:24px;
width:24px;
line-height:20px;
background-image:url(images/day.png);
background-repeat:no-repeat;
background-position:center;
font-size:11px;
color:#4f4f35;
}
#wp-calendar td a {
display:block;
width:24px;
height:24px;
color:#fff;
text-decoration:none;
background-image:url(images/linkday.png);
background-position:center;
line-height:24px;
background-repeat:no-repeat;
}
#wp-calendar #prev a {
width:49px;
background-image:url(images/linkday2.png);
background-position:center;
}
#wp-calendar #next a {
width:49px;
background-image:url(images/linkday2.png);
background-position:center;
margin:0 0 0 30px;
}
#wp-calendar #today {
background-image:url(images/today.png);
background-position:center;
color:#fff;
background-repeat:no-repeat;
}
#wp-calendar #today a {
background-image:url(images/today.png);
background-position:center;
color:#fff;
font-weight:700;
background-repeat:no-repeat;
}
#wp-calendar .pad,#wp-calendar #prev,#wp-calendar #next {
background-image:url(images/do.png);
}
Links


Recent Comments