July 28th, 2009 by Brian under News | No Comments »

Client: Gabbing With Grace

The owner of gabbing with grace came to me looking for help with her wordpress blog. She had a blog that she had been running for quite some time set up on wordpress.com. Unfortunately, wordpress.com did now allow her the functionality and plugin usage that a self-hosted WordPress installation would.

The owner tasked Fro Designs with moving her blog from wordpress.com to a self-hosted solution. This process went fairly smoothly and she seemed to be quite happy with the results. The next step that she would like to take is to redesign the entire look and feel of her blog. I am going to start the design process soon, and hopefully I will have a wonderful new design for Grace’s blog that will make her happy and help to expand our portfolio here at Fro Designs.

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags: , ,
July 21st, 2009 by Brian under Web Development | 1 Comment »

WordPress Dates with get_posts()

One problem that I had when I created the Fro Designs web site was with dates displaying incorrectly when I list my 3 most recent news updates/blog posts at the bottom of the page. For some reason, that date would only be displayed once if there were multiple posts on the same day. This proved to be quite a headache to figure out, but I eventually discovered that the the_date() function works that way.

Fortunately, it was a very simple fix to get the date to show up for each post. All I had to do was swap out the the_date() function and replace it with the the_time() function of WordPress.

Now if you don’t specify the format of the_time() it will actually display the time instead of the date. In order to fix this, you merely need to insert some characters into the brackets of the_time() to tell it how to display the date.

End Result:

< ?php the_time('F j, Y'); ?>

This will output the date in this format: Month Day, Year

I’m sure there are other options available, but you just need to find the format that works for you. I hope this post saves other WordPress developers the headache of trying to figure out this quirky problem!

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags:
July 14th, 2009 by Brian under Web Development | 4 Comments »

jQuery In WordPress

When I was building this website, I wanted to add some simple hover effects, or image rollovers, to the home page of my site to enhance the look and feel of some of my buttons. I decided to use the jQuery JavaScript library to accomplish this. Now I have used jQuery in the past, and it is very easy to set up and use. Once I started working with WordPress and jQuery however, I discovered lots of fun little quirks.

First of all, it’s good to know that WordPress actually comes pre-bundled with jQuery. All you have to do is call it with a PHP command in your template’s header.php file like so (enclosed in php tags):

< ?php
   wp_enqueue_script('jquery');
   wp_enqueue_script('jquery-core-ui');
   wp_enqueue_script('jquery-tabs-ui');
   wp_enqueue_script('rollover', get_bloginfo('template_directory').'/rollover.js');
   wp_head();
?>

As you can see, the last one before wp_head(); is actually a custom JavaScript file stored in the template’s directory. This is where the jQuery code for the image rollover effect is stored.

A typical jQuery script is enclosed in a function like this:

$(document).ready(function(){
   jQuery script here
});

Secondly, you need to enclose your jQuery code in a special block to avoid conflict with other JavaScript libraries that come with WordPress. That is done like this:

jQuery(function($) {
   $(document).ready(function(){
      jQuery script here
   });
});

Following these simple steps should get your jQuery code to work within WordPress (provided your jQuery code is correct).

If anyone is interested in the code for getting image rollovers to work, please just leave a comment. I may be up for posting a tutorial for that in the future.

Next: Learn how to create the rollover functionality!

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags: , ,
June 29th, 2009 by Brian under Portfolio | 1 Comment »

Old Website Design

This is the original design of this website.  It was never completed because I decided to change my image and direction to suit a more professional audience.  It was also built completely from scratch instead of on top of WordPress.  I made the switch to the new site, but I still feel some nostalgia for the old website because it was my first design.

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

June 25th, 2009 by Brian under News | No Comments »

Helbreath Sig Request

For a while I have been making free forum signatures for the players of a game called Helbreath USA (www.helbreathusa.com), which is a free online rpg.  Since my new site has been completed, I have moved the signature request form and gallery over from my old site to the new one.  These two pages can now be found at the following links:

Request Form: http://www.frodesigns.com/web-design-services/helbreath-signature-request/

Gallery: http://www.frodesigns.com/web-design-portfolio/helbreath-signature-gallery/

If you enjoyed this article then please share it!
  • email
  • Twitter
  • Digg
  • del.icio.us
  • LinkedIn
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit

Tags:
Page 4 of 512345