Free Files For June 2014

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 June 2014. Prestashop Custom Shipping 24 purchases at the price of $10. Custom shipping allows you to change shipping

Read more...

Make JW Player Responsive

The following article will show a code snippet of how you can use the third party application JWplayer on your website to display videos and an easy way of how you can make these videos responsive. JWPlayer is an video player that will automatically switch between flash or HTML5 video depending on the browser that the video is being viewed on. This means that it takes cares of any browser

Read more...

WordPress Menu Item Icons

In WordPress 3.8 the core had a change to all icons, they now use Dashicons which are fonts that mean you can display an icon by simply adding a CSS class. This can change a few things in the admin area of your application, for example when adding menus to the admin area you might need to change the icon to use a CSS class. If you have created any

Read more...

Set Default Visibility To Password Protected

In a recent project I had to make a certain post type to be password protected by default. Making posts password protected is default functionality that is built into WordPress core. To change the post to be password protected you do this in the publish settings on the edit post screen. There is a visibility setting where you can click on the edit button and the a dropdown will appear

Read more...

Create Your Own Pagination Links

When you are developing themes in WordPress you will first see that the query returns 10 posts at a time, this is because there is an in-built pagination that will tell WordPress what chuck of posts to display. If you are on page one then WordPress will display the 10 latest posts, if you are on page 2 then WordPress will show the 11 - 20 latest posts. There are

Read more...

Register Hidden Fields On Ninja Forms

When you are building a website, one of the most important areas of your site are forms, allowing you to capture data about your audience it can help you know what they want from you. There is no in built way in WordPress to create forms for your site, but there are a few really good plugins that allow you to do this. The one I've been using recently is

Read more...

Remove Comments From Certain Post Types

In WordPress the default posts and pages both come with comments enabled, this will allow WordPress to display your comment form under your content. But with custom post types you can choose if this content supports comments or trackbacks. When you create a custom post type you will use the function register_post_type(). One of the arguments parameters is for what the post type supports, these will provide the different options

Read more...

Web Development With PhpStorm

A while ago I changed my main IDE from eclipse to Sublime Text 2. I really enjoyed working with it and even wrote an article about what it's like to do web development with Sublime Text 2. The main reason why I used Sublime Text was for speed and simplicity, Sublime Text at it's basic level is a text editor, which has been extended into an IDE. Everything about it

Read more...

Uninstall Hook For WordPress Plugin

When a user deletes your WordPress plugin it might be necessary that you do some processing for cleaning up the WordPress site. This is because a WordPress plugin can be used to create new data such as post types, options meta, post meta, custom tables etc. On the deleting event you may need to perform tasks such as removing this custom data the plugin has created. There are a couple

Read more...

Pre-populate Post Type Content

With custom post types you can separate the content into different section, for example you can post types, pages, portfolio pages and products. If you find that you enter the same content for different post types each time then you can use the WordPress filter default_content to set a template of default content you can use as the default content for your post types. Often people will ask for comments

Read more...

1 2 3 4 5 6 7 8 9 10 11 12 13 68