Monthly Archives: May 2010

Customizing WordPress

Being a novice, I found tweaking the default (Kubric) theme to be difficult. Switched to the classic theme which is much easier to understand. Still need to figure out how to move the side-bar around. But the rest of style.css is pretty straightforward.

PHP 5 and Footer

Started to learn how to get the most recent modified date from the Lawyer Reserarch directory. Created a test page for that purpose.

Upgraded to PHP 5 so I could use the scandir function.

The CGI hit counter would no longer work using the include for reasons that I could not figure out. But I switched out the include statement for the following which works just fine:

<?php
$a = file_get_contents (“http://www.glenpritchard.com/cgi-bin/mcount.cgi”);
echo ($a);
?>

WordPress Theme Modification

header.php contains the style sheet references

index.php is the main blog page

style.css contains the styles.

Edited header.php to reference the menu style sheets

Edited index.php, adding a <div id=nav> to include the menu

Edited style.css to add #nav code used by the menu.

I probably now need to surround everything by the container.