CSS3 Icons

With this library you have a selection of 200 icons using just CSS3 in one or two HTML elements. All you have to do is browse the icons you see in this library and click the icon you click. This will then display the HTML and CSS you need to recreate the icon to use in your own website. Volume Icon The CSS The HTML Download Icon The CSS The

Read more...

Prefix URL With Protocol In PHP

Here is a useful function I use in many of my applications, it will take a URL and see if it's prefixed with a protocol, if it's not then it will add the default prefix to the start of the string. This function will search for http://, https://, ftp:// and ftps://, if none of them are in the string then we add the prefix to the start of the string.

Read more...

Cache Google Web Fonts Api

Google web fonts is a huge library of free web friendly fonts you can easily use on your website. The fonts are loaded in to your website with Javascript and display by using font-family property in your CSS file. There are currently over 650 fonts in the library and they are continuing to add more. Google has an API developers can use to load the font list into your website,

Read more...

Get Theme Directory In WordPress

When you doing theme development there are times when you need to reference a file in the same folder of the current theme. You may need to include a file in your code or add a stylesheet to your website. There are many different ways you can include a file in your code, WordPress comes with a number of constants that you can use in your development to get paths

Read more...

Flat Icons

Here is a collection of 132 icons you are free top use on any of your websites. The icons come in two versions: full color and single color, for a total of 264 variations. This download includes .ai, .eps, .pdf, and .png (64px and 128px). Download these beautiful Free Flat Icons

Read more...

WordPress Vs Drupal

If you're a regular reader of my site then you will know that I do a lot of development with WordPress, this being the most popular CMS it seems like a good choice of software to learn. But lately I've been trying to learn the second largest CMS...Drupal, what you first hear about Drupal is the steep learning curve that you must go through to understand how Drupal works. This

Read more...

When the_content() Ignores More Comment

In WordPress there is a special HTML comment called more. <!--more--> This comment allows you to put a stopping point in the content of the post, this is then searched for by WordPress when you display a list of posts. If it finds this HTML comment then WordPress will stop displaying the rest of the content and will add a continue reading → link. There are two ways of displaying

Read more...

Override Sidebars Per Page In WordPress

In WordPress development you define what sidebars can be used on your theme, these sidebars will then appear on the widget dashboard screen where you can assign all the widgets that are placed in the sidebar. One of the areas that I've noticed with WordPress is the limitations you have with the widgets area. When you assign widgets to the sidebar they are used site wide and you can't change

Read more...

HTML5 Datalist

Most people use the jQuery library jQuery UI in their applications, this gives you access to a number of useful elements that you can use, these consist of the colour picker, sliders, accordions, dialog boxes, menus and progress bars. One of the most useful elements that is in the jQuery UI library is the autocomplete element. jQuery UI Autocomplete This works by first creating a Javascript object which you can

Read more...

Disable Auto Updates In WordPress

In the past when there is a new WordPress version release the site admin would have to log into the admin area and manually update their website. As of WordPress 3.7 the core development team have created a new feature called automatic updates. This is done by using the new WP_Automatic_Updater class located in /wp-admin/includes/class-wp-updater.php. This is not just for core updates it can also be used to automatically update

Read more...

1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 68