Custom Post Type with Custom Meta Boxes Part 1 of 2

First lets start with registering a custom post type, to be used at our discretion.There are 5 basic post_types that comes with wordpress these are not to be messed with. They are : Post (Post Type: ‘post’) Page (Post Type: ‘page’) Attachment (Post Type: ‘attachment’) Revision (Post Type: ‘revision’) Navigation menu (Post Type: ‘nav_menu_item’) If … Continue reading “Custom Post Type with Custom Meta Boxes Part 1 of 2”

WordPress Backend: Add Custom Field to Users Page

So this is to add a custom field to your wordpress users page on the admin side. For well a plethora of things come to mind, if you want to show custom usermeta and make them editatble on the back end i’m guessing this would be pretty useful no? Ok the first part the function … Continue reading “WordPress Backend: Add Custom Field to Users Page”

How to set up a virtual host on WAMP server

Step 1: C:\Windows\system32\drivers\etc\hosts # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the … Continue reading “How to set up a virtual host on WAMP server”

WordPress: Making Ajax Calls

Just Like i promised, today we will cover making Ajax Calls Well lets start with the basics shall we? Each request needs to supply at least one piece of data (using the GET or POST method) called action. Based on this action, the code in admin-ajax.php creates two hooks, wp_ajax_my_action and wp_ajax_nopriv_my_action, wheremy_action is the … Continue reading “WordPress: Making Ajax Calls”