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)

Understanding The WordPress Template Hierarchy

Template Hierarchy: 1)      Which template files will WordPress use when it displays a certain type of page? The General Idea WordPress uses the Query String — information contained within each link on your web site — to decide which template or set of templates will be used to display the page. First, WordPress matches every Query String…(Continue Reading)

How to use PHP Data in your Javascript files for WordPress

WordPress makes it spectacularly easy to transfer data to you javascript files if you’re unfamiliar with enqueuing scripts then please refer to my previous post. Here it goes then. Say you want to do something “fancy” like ajax calls from you js files. I’m starting to get a little off point here right now i’d…(Continue Reading)