WordPress Plugin Activation Code

Posted by Tim on February 7th, 2007

I just had to look this up from my own comment to a support question on the WordPress codex so I’m posting it here for my future reference. However, this pattern is a good pattern to use when needing to add an activate function call for your plugin. Read the rest of this entry »

CSS coolness

Posted by Tim on June 9th, 2005
input:focus, textarea:focus, select:focus, input:hover
  { background : #ffd;
    color : black; }
input[type="submit"]:hover { border-color: #900;
                             background: #ffd;
                             color: #600; }
input[type="submit"]:active { border-color: red;
                              color: red;
                              background: #ffc; }