Well, that was a frustrating two hours of working with PHP code. :-/
Tarski is not easy to work with under the hood, however. Oh, it’s easy to restyle things with CSS, but adding pieces and taking pieces away is difficult.
At least, it used to be. There was, in the version I used, a file called constants.php where extra code could be placed, but I could never figure out how to get that to work. The code wasn’t quite php.
Now it’s a little different. There are “theme hooks” that a plugin can call.
Could I add a copyright notice to my footer? I wondered. I found a sample plugin that changed the footer text, the “Powered by WordPress and Tarski” bit at the bottom of the page. I took that plugin, added the php call for a copyright notice, uploaded, and…
It worked. Not quite the way I wanted it to work, but that was easily fixed.
Using the same logic, I was able to put my Opera Widgets call in the browser address bar. (If you’re not running Opera, you won’t see anything. If you are running Opera, you can read my blog through an Opera widget. I don’t know why you’d want to, but the option is there.) Voila!
That worked, too.
Could I replace the navigation bar with a dropdown menu? It would make for a better organization of pages. Again, I looked at a sample plugin. I looked at a theme that had dropdown menus coded, and borrowed from its code. The logic? Remove the Tarski navbar and replace it with this dropdown menu code through the plugin.
I activated it.
I had a giant mess on the screen. It turned out I’d made a typo in my CSS, and nothing was picking up the CSS formatting correctly. That was an easy fix; a search-and-replace took care of it right off.
It worked. Sort of.
It didn’t work with Opera at all. At least, not in any useful fashion. (The menu would drop down, but then it would never go away. And it looked like crap.) In Firefox it did work. But it wasn’t formatted properly.
I think my early successes inflated my sense of what I could do.
Oh, I’ll lick this problem. I will kick it to the curb and make it cry for its mother.
Though not today. I have other things to get done today.