Welcome To TodayISearched.com

TodayISearched started with the idea of logging solutions that we had to search the internet for and recording their resolution. There have been many times when we have found a solution and needed it again 6 months – 1 year down the road and can’t remember for the life of us where we found it. This blog gives us the opportunity to catalog useful solutions that we can go back to. We thought it would be beneficial to share this with the rest of the world. We would like to invite you to participate in our blog. If you have a nagging problem that you cannot find a solution for (technical problem preferably) or want to share a solution you found while scouring the net, please shoot us an email todayisearched[at]gmail[dot]com. Your suggestion just might make its way onto our blog. Happy Searching!

The TodayISearched.com Team

Gravatar WordPress Comments

Today I searched gravatar wordpress comments trying to figure how to get the gravatar images next to the comments in a wordpress.org theme. I was surprised to find that wordpress natively supports gravatars in 2.5 and above. To use it you just call get_avatar and pass in the email and an optional size and it spits out the image html. Once I found the loop of comments in the template code, I just added the below code in a div next to the comment text.

I used comment_author_email on the php comment object to get the email address of the person who made the comment. It was pretty painless to do and a great feature to add to my template.

jQuery Sortable Placeholder Height Issue

Today I searched jQuery Sortable Placeholder Height Issue because when I dragged my sortable list the placeholder was shrinking to have a 0 height. It was tough tell where exactly I was moving it to. I needed to get this working or it would drive me crazy. So I tried a couple things before I found a solution. I made sure that there was a height on the element and in my jQuery call I used the options placeholder: ‘ui-state-highlight’ and forcePlaceholderSize:true, none of these things worked. Then I found that you could set the height of the placeholder on the start event of your sortable like this.

$( ".selector" ).sortable({
   placeholder: 'ui-state-highlight',
   start: function(event, ui) {
        ui.placeholder.height(ui.item.height());
   }
});

Once I added this code and refreshed, it a beautiful site to see a jQuery sortable placeholder work.

PHP 301 Redirect

Today I searched PHP 301 Redirect and I found that it was very simple. All you need to do is add this code to the header of the the php page.

Then you just change “http://www.new-url.com” to the url you want the page to get redirect to. Once that is done you have successfully redirected a page using a 301 redirect.

How To Get Google Reader Back

Today I searched for New Google Reader Themes in hopes to change their current eye strain of a theme. The switch had annoyed me so much that I have been using NewsBlur as my reader of choice. It has not been bad, but it has it’s quirks. When the Google Reader update was made, I searched in vain on how to get back the old theme. In my search I saw that people had built themes for the previous version of reader, which I did not even know existed. Of course, the new update had broke all these themes out there.

Today I decided to take another stab and see if there was any new themes for the current Reader.

Google brought me over to this page:

http://userstyles.org/styles/browse?search_terms=google+reader

I then found a style titled “Gooder Plus-Old Google Reader Style”. Now we’re talking!!! Here is what is needed to get this going:

  1. You must be using Chrome
  2. Install the Stylish extension
  3. Install the Gooder Plus-Old Google Reader Style into Stylish
  4. Go to your Google Reader

Now if I could only get back the original Reader sharing…sigh

Go back to top