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 [...]
Posts Tagged ‘wordpress mod’
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 [...]
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 [...]
After much internal debate, I finally decided to change my Wordpress blog to use pretty permalinks. It was a difficult decision to make with lots of pros and cons to consider. I placed an asterisk next to cons that turned out to be irrelevant.
Cons to using or switching to pretty urls
I like the flexibility [...]
Read the rest of this entry »I was having two irritating issues with the Wordpress editor, which affected my highslide and Google video code. It took a lot of research but I’ve finally figured out how to edit the code in the Tiny MCE file to make the editor stop acting like it’s smarter than me. The location of the file [...]
Read the rest of this entry »As much as I love the functionality of the Google Blog Bar in my blog, there is a limitation. Since my code to add the Blog Bar uses the post’s category for the keyword search, if the category is something like “Miscellaneous Musings/Moments“, there will be no results because the Blog Bar searches through the [...]
Read the rest of this entry »I had trouble finding a good source of information on how to set up Google Custom Search Engine to replace the built-in search function of my Wordpress blog, so I’ll share some tips I eventually learned.
Custom Search Engine
First, you will need to create a custom search engine that shows results for your blog. Then try [...]




