Custom WordPress Customizer Controls

In a previous tutorial I spoke about the WordPress theme customizer and how you can use this feature to make it easy for your users to change the theme straight from the admin area. Then we looked at how you can inherit from the class WP_Customize_Control to create your own custom controls in your WordPress theme. I've created a Github repo where I added some custom controls which you can

Read more...

How To Get Breadcrumbs In Search Results

If you are ranking well in the search engines but still aren't seeing the amount of traffic you should be from the search results then you need to think about improving your click through rate. There are a few things you can do to improve your click through rate traditionally you can improve your title tags or provide a better meta description. Recently Google have released a couple of features

Read more...

WordPress Theme Files

WordPress theme files are just PHP files used to display the HTML and the database output of your WordPress website. Theme files should be used to style your website and not to expand the functionality of your WordPress website. All themes can be very different and you can create many different types of websites, from blogs, to member sites, to ecommerce sites, the flexibility and ease of WordPress themes is

Read more...

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...

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