Posted in PHP, Programming, WordPress on Oct 12th, 2007
I am working on fixing the theme I am using, GStyles (available here) and trying to make it work with WordPress 2.3.
So far I have fixed index.php and singles.php.
Here is an original code snippet from singles.php (sorry, the code runs over the edge, the theme is fixed width so it runs over... I might make [...]
Read Full Post »
Posted in PHP, Programming, WordPress on Dec 24th, 2006
Calling all Wordpress Widget experts, I am trying to write my own widget, but I am not having luck. I get it to show up in the plugins and activate it, but it doesn't show on the widget list.
I know about Chris Johnson's Tag Cloud Widget, but the cloud doesn't show for one thing, and [...]
Read Full Post »
Posted in PHP, Programming, WordPress on Aug 2nd, 2006
I edited the PHP on the WP-Amazon Plugin for WordPress. I wanted to achieve two things. One, when adding an image, I wanted the text to follow it. Two, I wanted to have it display the name of the product in the title attribute of the link, that is, when one hovers over the link, [...]
Read Full Post »
Posted in PHP, Programming, Site News, WordPress on Jun 3rd, 2006
With the theme I am using, the sidebar got stuck below the content. Now the sidebar is aligned along the top with the content. I also had to add code to let it know there was a sidebar to the right. The Library page looks much better now I think. If it wasn't for the [...]
Read Full Post »
Posted in PHP, Programming, WordPress on Jun 1st, 2006
As I mentioned before I use the Now Reading plugin for WordPress here. However, it has a small anoyance. It linked to the "You may also be interested in these items..." page, rather than the item's detail page. If the user didn't click "add to cart" and looked at the "also interested in these items" [...]
Read Full Post »
As noted before, to post code in WordPress, I use the ig:Syntax Hiliter plugin. It uses the GeSHi engine.
I recently decided to modify the way it colors C# code. In particular I wanted to separate XML style comments from regular comments.
To that end I modified the PHP code in GeSHi's C# file.
Read Full Post »
Posted in PHP, Programming, Site News on Oct 20th, 2005
I did some editing of the PHP source code for WordPress here and moved the categories listing to the top, added the who it was posted by... and at one point had the time, but the time is off by about 2 hours, which is odd since it is set for Eastern... of course it [...]
Read Full Post »
Posted in PHP, Programming, Site News on May 2nd, 2005
Seems the site was not validating as valid XHTML. I had to edit some of the PHP code to fix it. Seems when I added the calendar back in (it is off by default in WordPress 1.5) I forgot to keep it in the proper flow of things. I also had to edit the Amazon [...]
Read Full Post »
Posted in PHP, Programming on Jan 19th, 2005
The awesome Wordpress plugin, Scripturizer, has been revised again (code here). Seems somebody named Brian Thomas helped them make it XHTML compliant... oh wait... that's me!
Read Full Post »
Posted in PHP, Programming on Jan 17th, 2005
I had to edit the PHP code in Scripturizer to make it validate as XHTML.
The problem is that some of the sites use an ampersand (&) as part of their URL. XHTML doesn't allow that in the code, and the & needs changed to &. A subtle difference to be sure, and what comes up [...]
Read Full Post »
Posted in PHP, Programming, Site News, Testing on Oct 18th, 2004
Mistakes. Everybody makes them. Daryl L. L. Houston points out several common beginner blunders and how to get past them....excerpt from: http://www.digital-web.com/articles/phpitfalls/
Just testing out blogging from FeedDemon into WordPress. It appears I'll have to edit the PHP code to add the blockquote part though.
Read Full Post »
Posted in PHP, Programming, WordPress on Oct 14th, 2004
Over to your right, you will see a randomly selected item from either Sara's Amazon Wishlist, or mine. While I got the initial script from Two Ells, I modified it to randomly select Sara's wishlist or mine, as it initally did just one wishlist.
Basically I modified the original code:
PLAIN TEXT
PHP:
$aw_wishlist_id=' '; //The id of the [...]
Read Full Post »
Posted in Family History, PHP, Programming on Sep 28th, 2004
On the family history page, I made my second PHP program, it is the Support This Site block to the side. I actually had to modify a few other php files to make it work.
Other addition and minor changes were made to the family history itself.
Read Full Post »
Posted in General, PHP, Programming on Jul 18th, 2004
Sara won, something, we are not sure what, on the Rollye James show, a national radio show. She had to answer what TV show theme song made it onto the Billboard Hot 40 chart at number one. There were four answers, and three were already down, she and another person called in at the same [...]
Read Full Post »