• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Matt Doyle | Elated Communications

Web and WordPress Development

  • About Me
  • Blog
    • Design & Multimedia
      • Photoshop
      • Paint Shop Pro
      • Video & Audio
    • Online Marketing
      • E-Commerce
      • Social Media
    • Running a Website
      • WordPress
      • Apache
      • UNIX and Linux
      • Using FTP
    • Web Development
      • HTML
      • CSS
      • JavaScript
      • PHP
      • Perl and CGI Scripting
  • Portfolio
  • Contact Me
  • Hire Me
Home / Blog

Blog

Here you’ll find articles about website development, WordPress, and other topics that I’m interested in. I hope you enjoy them and find them useful. Comments and feedback are always welcome!

Wrapping Text with PHP’s wordwrap() Function

19 January 2010 / 5 Comments

Occasionally your PHP script will need to break up a long line of text into several shorter lines while preserving whole words. This can happen if you’re formatting some text for printing or emailing, or you want to display preformatted text in a Web page using the pre element.

PHP gives you a handy function, wordwrap(), to do this job for you. This tutorial shows you how wordwrap() works.

[Read more…] about Wrapping Text with PHP’s wordwrap() Function

How to Measure Your Website’s Bounce Rate

17 January 2010 / 2 Comments

Bouncing ball and rulerIn What is Bounce Rate?, you learned about the concept of bounce rates and saw how they can be a useful indicator of your website’s success. Now you need to measure the bounce rate for your own site.

In this tutorial you’ll learn how to use Google Analytics to measure various bounce rates on your site, including:

  • Your overall site bounce rate
  • The bounce rate of each landing page
  • The bounce rates of individual search keywords, and
  • The bounce rates for traffic coming from different sources.

[Read more…] about How to Measure Your Website’s Bounce Rate

mod_rewrite Tutorial for Absolute Beginners

3 January 2010 / 21 Comments

Writing a URLmod_rewrite is a marvellous feature of the Apache Web server. It’s very flexible and can do all sorts of useful things.

mod_rewrite can be quite tricky for beginners to pick up due to its somewhat complicated syntax and processing mechanism. However, once you understand a few basic concepts then you can use mod_rewrite to do some pretty clever things with your site.

In this tutorial you’ll find out what mod_rewrite is, and the kind of things you can use it for. You’ll learn how to create a few basic mod_rewrite rules, and you’ll explore some useful real-world examples that you can use on your own website.

[Read more…] about mod_rewrite Tutorial for Absolute Beginners

Adding a WYSIWYG HTML Editor to Your Site

17 December 2009 / 30 Comments

What is a WYSIWYG HTML editor?

A WYSIWYG (What You See Is What You Get) HTML editor is a JavaScript-driven Web form field that lets users enter formatted text, much like using a word processor. The editor then converts this formatted text into HTML when the form is sent to the Web server. Here’s what a WYSIWYG HTML editor looks like:

CKEditor screenshot
CKEditor is a popular JavaScript-based WYSIWYG HTML editor

Most WYSIWYG editors let you do at least the following:

  • Add formatting such as bold, italic, and underlining
  • Create headings (H1, H2 and so on)
  • Create links
  • Use different font faces, sizes, and colours
  • Insert bulleted and numbered lists
  • Create tables
  • Left-align, right-align, centre, and justify text
  • Embed images, Flash movies, and more
  • Edit the HTML directly if desired

Many editors take things further, allowing you to upload images, Flash movies and other files to the Web server, and browse files on the server.

[Read more…] about Adding a WYSIWYG HTML Editor to Your Site

What is Bounce Rate?

14 December 2009 / 15 Comments

Bouncing ballWeb analytics tools such as Google Analytics can give you a lot of insight into how your website is performing.

A key metric that’s useful for any type of website is bounce rate. This figure can tell you whether your visitors are finding what they want when they arrive at your site, and whether they’re interested enough in your content to explore your site further.

Bounce rate is particularly useful for e-commerce sites, since it measures how well your visitors are engaging with your site, and hence how likely they are to buy your products.

In this article you find out what bounce rate is and how it’s measured. You also look at why bounce rates are important to your site, and how to tell if your bounce rate is too high.

[Read more…] about What is Bounce Rate?

Create a Site Map to Aid Navigation

10 December 2009 / 4 Comments

Photo of a mapSite maps have been around for almost as long as the Web itself. They’re a great way to improve your website’s navigation and usability.

Although site maps aren’t used that often by visitors — around 7% of the time, according to Jakob Nielsen — a site map can really save a visitor if they can’t find what they’re looking for using your site’s regular navigation menu.

In this article you’ll explore the concept of site maps, look at some examples, and learn how to design and create a site map for your own website.

[Read more…] about Create a Site Map to Aid Navigation

Padding PHP Strings with str_pad()

3 December 2009 / 1 Comment

In Trimming PHP Strings you learned how to remove unwanted whitespace characters from around a string. The opposite of trimming is padding — adding extra characters to either end (or both ends) of a string to make the string a certain length.

Padding is handy for lining up strings vertically for display, for adding leading zeroes to numbers, or for any situation where you need a string to be of a certain fixed length.

In this article you’ll explore PHP’s str_pad() function for padding strings.

[Read more…] about Padding PHP Strings with str_pad()

Trimming PHP Strings

26 November 2009 / 1 Comment

In programming-speak, trimming a string means removing unwanted characters — typically whitespace characters — from either end (or both ends) of the string. This is useful in a number of scenarios, such as:

  • Cleaning up user input, such as text field values in a submitted form
  • Removing unwanted line-break characters at the end of a line
  • Ensuring that a string is in the correct format for passing to another program

In this article you explore 3 useful PHP functions that you can use to trim strings:

  • trim() for trimming both ends of a string
  • ltrim() for trimming the beginning of a string, and
  • rtrim() for trimming the end of a string.

[Read more…] about Trimming PHP Strings

Choosing an Email Newsletter System

24 November 2009 / 3 Comments

SwansA regular email newsletter is a good way to keep in touch with your site visitors and encourage them to return to your site. If you run an online business then it’s also perfect for telling existing and potential customers about your products or services.

With an email newsletter, visitors add their email addresses to your mailing list (usually via a form on your website), then you regularly send an email message to all the subscribers on the list.

There are many ways that you can set up and run a newsletter mailing list. In this article you’ll explore 3 broad approaches:

  • Hosted services that run on a third-party server
  • Off-the-shelf newsletter software that runs on your own server
  • Sending your newsletter using your desktop email program

[Read more…] about Choosing an Email Newsletter System

10 Ways to Improve Your Store Checkout

23 November 2009 / Leave a Comment

Children's abacusYour online store’s checkout is a critical point in the sales process. The design of your checkout can make a big difference to the success of your store.

It’s very common for shoppers to happily browse an online store and add products to their cart, then abandon their purchase when they reach the checkout page. Often, between 50% and 75% of shoppers give up during the checkout process.

So how can you reduce your checkout abandon rate? Fortunately there are lots of things you can do to improve your checkout process and increase sales. Here are 10 helpful suggestions.

[Read more…] about 10 Ways to Improve Your Store Checkout

  • « Go to Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 9
  • Go to page 10
  • Go to page 11
  • Go to page 12
  • Go to page 13
  • Interim pages omitted …
  • Go to page 25
  • Go to Next Page »

Primary Sidebar

Hire Matt!

Matt Doyle headshot

Need a little help with your website? I have over 20 years of web development experience under my belt. Let’s chat!

Matt Doyle - Codeable Expert Certificate

Hire Me Today

Call Me: +61 2 8006 0622

Stay in Touch!

Subscribe to get a quick email whenever I add new articles, free goodies, or special offers. I won’t spam you.

Subscribe

Recent Posts

  • Make a Rotatable 3D Product Boxshot with Three.js
  • Speed Up Your WordPress Website: 11 Simple Steps to a Faster Site
  • Reboot!
  • Wordfence Tutorial: How to Keep Your WordPress Site Safe from Hackers
  • How to Make Awesome-Looking Images for Your Website

Footer

Contact Matt

  • Email Me
  • Call Me: +61 2 8006 0622

Follow Matt

  • E-mail
  • Facebook
  • GitHub
  • LinkedIn
  • Twitter

Copyright © 1996-2023 Elated Communications. All rights reserved.
Affiliate Disclaimer | Privacy Policy | Terms of Use | Service T&C | Credits