Display Testimonials or Quotes from an XML File with WordPress Shortcode

testimonial-image

Our finance website – managed by my brother, Jason – formerly used WordPress posts (in their own category) to showcase individual customer testimonials. The creation of the individual posts for each each testimonial was a grossly inefficient solution because a visitor would have to navigate multiple pages to read individual endorsements. Of course, there’s easier [...]

Insert YouTube Subscriber Count or Video Views in WordPress with Shortcode

YouTubeStats

We’ve previously looked at how to include YouTube video views into your WordPress post or page with shortcode; this post will show you how to include your channel’s total video view and/or subscriber count into your WordPress website. Accessing the YouTube API via the below address will reveal numerous pieces of data pertaining to your [...]

Automate WordPress Posts to Twitter (with hastags, truncation and a short URL)

wordpress-twitter-oauth

Some time back I posted some basic code that would enable a message to be posted to Twitter using their oAuth platform. The naked code isn’t overly functional because it was always intended to be used from within another PHP application. This article is for those people that have emailed me asking how the code [...]

Add Thumbnail Image (Links) from a YouTube RSS Feed to WordPress with Shortcode

youtube-thumbnails

I’ve got a YouTube channel associated with one of my aviation websites that isn’t – or at least wasn’t – tied to our website in any way. It adds to the fractional nature of a website that already has a disconnected reach. Since we’re currently embarking on various projects that’ll give video a huge emphasis, [...]

Add Your Latest Google Plus Post(s) to Your WordPress Blog (or Generate a Google+ RSS Feed)

google-plus-logo

Google Plus is an awesome platform but it’s lacking in terms of the API offerings. Simply adding something such as your last post to your WordPress blog is somewhat of a chore. This post will detail how to include your latest Google+ post titles to your page using (previously provided) WordPress shortcode. Alternatively, you might [...]

The favicon and WordPress Link Icon Shortcode (and an Online Image to Icon Converter)

faviconIcon

The favicon was introduced by Microsoft in 1999 as part of Internet Explorer 5. Uploaded to the root directory of a website, the small 16×16 image (or .ico file), would render in the favorites menu and URL address bar. Since its introduction, the favicon is being used more and more by third party applications to [...]

Determine the Status of a Remote Webpage and Retrieve the HTTP Status Code

http-header-curl

The purpose of this post is to show you how to determine the status (primarily online or offline) of a remote webpage using cURL (and other methods). This post is a precursor to the article that follows, titled “Resolve Short URLs To Their Destination URL with PHP“. For the sake of it, a small WordPress [...]

Create a WordPress Author Bio with Custom Social Links

wordpress-author-profile

The WordPress platform comes with all the user options to build a small bio on each author but it doesn’t provide the functionality to include it by default. Instead, it is up to those that build themes to incorporate these features. They often don’t. This post will show you how to include a small author [...]

Post a Form with CURL (and How Spammers Automate Spam Comments to WordPress)

wordpress-curl-form

I hate spammers. More than you. However, in order to understand them, one must learn their trade. The following code is about as basic as it gets when it comes to submitting spam comments to WordPress… but it’s interesting nonetheless (and has countless legitimate application). Don’t worry, I’m not posting anything our spamming friends don’t [...]

Skype Status (Text or Image) with WordPress Shortcode

skype-logo

Skype is increasingly becoming a cost-effective means of business communication. As a business, it lessons the barriers associated with first contact and, as a consumer, it provides a safe and cost-effective alternative to traditional landline and cellular services. Apart from the personal and professional reasons I use Skype, I’m finding that I’m using it more [...]

Twitter Style Time: “Posted n Seconds/Minutes/Hours/Days Ago” (and WordPress Shortcode to Reference Other Posts)

twitter-clock

The Twitter and Facebook style of referencing time since a post was published is becoming increasingly popular. Basically, instead of a standard date and time, both platforms will display a post timestamp in simple language (example: Posted 5 hours ago, Posted 2 days ago, Posted 15 seconds ago… and so on). This timestamp functionality is [...]