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

Add Post Types To RSS Feed

By default WordPress comes with an in-built RSS feed allowing your visitors to subscribe to your RSS feeds to be alerted to your new articles. This will normally consist of just the normal blog posts, but as WordPress is a CMS you could have other content types that would suit being in your RSS feed. WordPress allows you to create different post types, out of the box it comes with

Read more...

Animated Scroll By Speed Not Duration

Animated scrolling is a web trend that came from single page websites, when a visitor clicked on a link the site doesn't navigate to another page but a section within the current page. You can do this by using internal anchor tags which will navigate to an ID on the page. Without animated scrolling the page will jump to this section, which doesn't look great so the animated scroll become

Read more...

Find Actions And Filters Available In WordPress

When it comes to WordPress development you can pretty much do anything you want, but you will only realise this when you understand how WordPress works and how it's all put together. The two main areas of WordPress development to understand is the difference between actions and filters. Actions allow you to assign functions to run a certain point in the code, when looking into the WordPress core code you

Read more...

Free Files For May 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 May 2014. jQuery Multiple Tag Select 15 purchases at the price of $5. 1 Required Param 10 Available Optional

Read more...

Social Media Colours

Whenever creating a new site I always find myself going to the major social networking sites to grab their colours to use in icons or buttons. Instead of having to go to all these individual sites I wanted one place to go and get these colours when I needed them. So here's a list of some of the major social media network colours. Facebook Hex: #3b5998 RGB: 59, 89, 152

Read more...

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 71