This page describes how to remove unwanted items from the meta sidebar menu.
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.
Finished update to Lawyer Research Footer
Implemented PHP code to determine which of the Lawyer Research sub-files is the most recent. The date of that file is used in the footer. The experiment page documenting my learning process. Eventually settled on the glob function to put each file into an array.
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.
AJax Script
Leaned that ajax is a way to write new content to web screen without re-writing the whole screen using php and java script.
404 Redirect Page
Added a page for 404 Redirects. Probably should have done that sooner.