Archive for the ‘Coding’ Category

Posted in Coding, Wordpress at 2:23 pm June 17, 2007

Not even a day had passed since I figured out How to Integrate Google Custom Search Engine Results into Wordpress Blog Template and I figured another way to integrate search results into Wordpress.
As described at the site, “Google AJAX Search API lets you put Google Search in your web pages with JavaScript.”
One of the drawbacks [...]

Read the rest of this entry »
Posted in Coding, Google, Tips, Wordpress at 12:35 am

I was checking out the control panel for my blog’s Google Custom Search Engine and saw something under the Code tab that I hadn’t noticed before: Search box and search results code for your website
I was intrigued at the thought of having the search results show up with my blog’s theme. After completing my search [...]

Read the rest of this entry »
Posted in Coding, Wordpress at 10:01 pm June 11, 2007

This weekend, I decided to edit my custom sidebar code to be compatible with Wordpress Widgets, which is:
designed to provide a simple way to arrange the various elements of
your sidebar content (known as “widgets”) without having to change any
code.
Wordpress v. 2.2 has the capability built into the core code. Earlier versions require using a plugin.
Since [...]

Read the rest of this entry »
Posted in Coding, Tips, Venting, Wordpress at 8:12 pm June 9, 2007

Oh My Friggin Goodness. Internet Explorer makes me so mad.
Just to see how things looked in IE, I randomly checked a blog post that contained code, and one of the lines of code was obscured by a horizontal scrollbar! I compared the post in Firefox. It turned out the particular line of code was so [...]

Read the rest of this entry »
Posted in Coding, Wordpress at 7:40 pm

If you want to enable commenting on a Wordpress page (as opposed to a post), you would need to add the following in the theme’s page.php file, which is the default template for pages:
<?php comments_template(); ?>
If you created a custom template file, you would need to put the code in that file also.
That’s pretty straightforward [...]

Read the rest of this entry »
Posted in Coding, Tips, Wordpress at 11:14 am June 3, 2007

I wanted to switch my blog’s title tag to go from:
Thu Tu’s Blog > Post Title
to
Post Title | Thu Tu’s Blog
It turned out that it wasn’t as simple as switching the tokens around in the theme’s header.php file.
I did a search and found the solution here.
When I copied and pasted the example code, I got [...]

Read the rest of this entry »
Posted in Coding, Coppermine, Google at 12:56 am June 1, 2007

Yesterday, I found out in a Coppermine forum thread called RSS feed of pics for Google Screensaver that Google Photos Screensaver can show photos from a feed. This appealed to me because I currently use a photo screensaver but it is limited to files on the hard drive. By having a feed from my gallery, [...]

Read the rest of this entry »