WordPress posts allow you to have some form of workflow when editing your posts. This is done by assigning a post status for each stage of the WordPress posts. By default the WordPress will take up the status of Draft which tells WordPress to create a post but not to publish it on the front-end of the site, it will only publish it on the site when you hit the
In this tutorial we are going to learn about composer and how we can use it to develop our PHP applications. Composer is a tool that allows to manage your third party dependencies in your PHP application, it will allow you to create a list of all third party scripts and libraries and their version number. Composer will then look into the repository of the third party library and the
In the following tutorial we are going to learn how you can use AJAX in WordPress to run your own functions. The way this works in WordPress is by allowing you to attach your own actions that you can access from an AJAX request to change the content on the page. What Is AJAX? Normally on a webpage you have to wait for the server to load the content of
In a previous article I explained how you can modify the contact information on the WordPress User profile page, but what if you want to know more custom information from the user that requires more that just a text field. In this tutorial we are going to look at how we can add new fields to the User profile page to collect custom information that requires a dropdown or checkbox.
Since version 2.5 WordPress introduced a new way of developers to provide dynamic content for the content author of the website with the use of Shortcodes. What Is A Shortcode? A shortcode allows the user to run a PHP function at any point you want in the content. A default shortcode you get with WordPress is the gallery shortcode, to add a gallery to your website all you have to
WordPress has the ability to have different 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 3.0 of
Debugging your website is very important for any project, you will need to be able to debug your site in all the difference environments from local to live. But depending on the environment you will want to debug in different ways. For example on your local environment you may want to output all PHP errors on the screen to make it easier to fix the problems, but you will not
In this tutorial we are going to learn how you can install doctrine into your Zend Framework 2 application. What Is Zend Framework 2? Zend framework is one of the most popular PHP frameworks created for high performing PHP applications. It is an open source project supported by Zend Technologies. Zend Framework uses 100% object-oriented approach to PHP development and uses most of the new features available to PHP including