Function For Post Type Labels

WordPress has the ability to have different types of post types, the main post type you will use in WordPress is the post type called post. But there are other defaults such as Pages and Attachments. All the post types in WordPress are stored in the same table wp_posts there is a column on this table which will decide the type of post, this is defined as post_type. In version

Read more...

Change URL Of Git Repository

In this tutorial we are going to learn how you can change the URL of your GIT repository to move the code onto a new server or host. There are different approaches you can do for this task, you can either simply change the origin URL and commit everything to this new repository, then you will be starting from scratch on this new server. But you will lose all the

Read more...

Media Query Sass Mixin

If you do any front-end development over the past couple of years then you would of heard of CSS pre-processors. The most common CSS pre-processors are SASS, LESS, or Stylus. CSS pre-processors are scripts that will compile code and output the results into CSS stylesheets. They allow you to create more dynamic, optimized and organised CSS for your websites. For more information you can read a previous article I wrote

Read more...

Free Files For March 2015

Each month the Envato marketplace brings you free premium files. Envato is a web marketplace where you can get premium files for different areas of your website. My favourite marketplaces are the script marketplace CodeCanyon and the theme marketplace ThemeForest. Here are the files which you can get for free for March 2015. readyChat - PHP/AJAX Chat Room 122 purchases at the price of $16. readyChat is a chat product

Read more...

Namespacing And Autoloaders In WordPress Plugins

One thing I have been experimenting with recently is adding namespacing and autoloaders to new WordPress plugins. What Are PHP Namespaces PHP namespaces was introduced in version 5.3. Namespaces is a way of grouping classes together into virtual directories, the main reason we would want to do this is to help avoid collision of class names in your application. In PHP you can not define two classes with the same

Read more...

Using Googles NoCaptcha ReCaptcha In WordPress

Google has recently announced a new project called recaptcha which is a way of spam protecting your website from bots but making it easy for humans to submit the form by simply recreating a checkbox for users to click. Registering Your Website To use Google NoCaptcha ReCaptcha for your website you must first register your domain with the ReCaptcha API and get the site API key and the site secret

Read more...

Sass Mixins To Get You Started On The Next Project

If you are unaware of some of the features of Sass that can help speed up your front-end development then I would recommend reading this article on How To Get Started With Sass. One of the best features of using Sass is the ability to create functions for reusable code called mixins. Using these mixins you can create chucks of CSS that you can reuse on any of your projects

Read more...

Free Files For February 2015

Each month the Envato marketplace brings you free premium files. Envato is a web marketplace where you can get premium files for different areas of your website. My favourite marketplaces are the script marketplace CodeCanyon and the theme marketplace ThemeForest. Here are the files which you can get for free for February 2015. jQuery Tiles Gallery 1,052 purchases at the price of $6. Would you like to present your images

Read more...

New Functions Available In WordPress 4.1

In this article we are going to have a look at some of the new features and functions that are available to WordPress developers in version 4.1. Auto-generated Title Tag In previous versions of WordPress the theme developer will need to implement their own version of the HTML title tag which you would do using the function wp_title(). Now with WordPress 4.1 the title tag can now be auto-generated by

Read more...

Hover.css Project

Hover.css is an interesting project that is available to contribute to on Github. This library is a collection of different CSS effects that be applied to single elements. The project effects are self contained pieces of CSS that can be used freely in your next project. It also comes in Sass or LESS if you prefer, making it inherit or expand in your own projects. An example of the effects

Read more...

1 2 3 4 5 6 7 8 9 70