Author Archives: Josh

Displaying custom post types on your WordPress blog homepage

So you have created a great new custom post type in WordPress 3.0 but it doesn’t show on your homepage. To add your new post type to the homepage you could use the following code in your functions.php. As you … ( more )

Posted in WordPress | 2 Comments

WordPress Hosting

Think2Loud had been on shared hosting for just under two years, before I finally decided to take the leap and set up my own server. A few months ago I was reading a blog post by WooThemes about their new … ( more )

Posted in WordPress | 1 Comment

How to see if a Post in WordPress has an Excerpt

On the single post page for our posts, we wanted to display the excerpt only if one had been entered. Since the built-in WordPress function to get the excerpt for a post will automatically generate one for you, we couldn’t … ( more )

Posted in WordPress | Tagged | Leave a comment

Where to Start with jQuery Selectors

With jQuery there are many ways to select elements. We are going to cover two of the most popular selectors id and class. ( more )

Posted in Code 101, jQuery | 2 Comments

jQuery 101: Adding jQuery to Your Website

Everyone has to start somewhere. So lets get you setup to begin learning jQuery. The first thing you will need to do is get jQuery setup and running on your site. Now let’s get started. ( more )

Posted in Code 101, jQuery | Tagged , , , | Comments Off

Harness the Power of the WordPress Post Class Function and Style Those Sticky Posts

The sticky post functionality in WordPress uses the post class function introduced in WordPress 2.7 to style your sticky post with css. In order to have your sticky posts styled different than your regular posts, you need to have the post class function in your theme within the post loop. ( more )

Posted in WordPress | Tagged | Comments Off

8 Must-Have WordPress Plugins to Improve SEO, Speed, and Security

Plugins are one of the things that make WordPress great. You can easily extend the functionality of WordPress without having to know much about PHP. ( more )

Posted in WordPress | Tagged , , | 6 Comments

Using Advanced Segments in Google Analytics to Separate Outgoing Links and Downloads from Pageviews

If you’re like me, you installed the Google Analyticator plugin for your blog or added some other javascript so you could track what outgoing links where clicked. You will have extra pageviews showing in your Google Analytics account that are what I call “ghost pages.” These pages don’t really exist–they are just place holders for the clicks to other sites or your downloads. To get a more accurate number of pageviews, you can use Advanced Segments to create a new segment that will remove these ghost pages. So go log into your Google Analytics account and let’s get started. ( more )

Posted in JavaScript | 3 Comments

Using jQuery and XML to Populate a Drop-Down Box

Building on the post Reading XML with jQuery, I have modified the success function to parse the XML data and load it into a drop-down box. You can get the demo files from Reading XML with jQuery here. Once you download and unzip the demo files, open the index.html in your favorite editor. Then remove all the HTML between the body tag and also all the jQuery in the success function. I also changed the page title to “Using jQuery and XML to Populate a Drop-Down Box Demo.” ( more )

Posted in JavaScript | Tagged | 13 Comments

Add Scroll Bars to Full Browser Flash with a Simple jQuery Plugin

Got a great Flash site? Can it be used by someone with low resolution? This plugin offers an easy way to keep your full browser Flash from getting too small. ( more )

Posted in JavaScript | Tagged | 36 Comments