Installation
-
How do I Install the WordPress Views plugin?
Because there is an on-going team developing and expanding the Views plugin, it is priced at a very low $49. Just think about how much time you will save by drastically cutting-down your development time, and we all know that time is money.
Step 1: Purchase the Views Plugin
- Purchase the Views Plugin here
- Go to your Account’s Download section and download the ZIP file
Step 2: Install the Views Plugin
- Log-in to your WordPress administration area with your administrator username/password (yourwebsite.com/wp-admin)
- Click on Plugins
- Click on Add New
- Click on the Upload link all the way on top
- Click on the file browser button and select the ZIP file downloaded in Step 1
- Click on the Install Now button
- Click on the Activate Plugin link
- Voila!
You will instantly notice a new menu item called Views in your WordPress administration area!
-
How do I install the WordPress Types Plugin?
The Types plugin is FREE! So you can add it directly through your WordPress administration area, here’s how:
- Log-in to your WordPress administration area with your administrator username/password (yourwebsite.com/wp-admin)
- Click on Plugins
- Click on Add New
- Search for the word: Types
- You will see a search result by the name of: Types – Custom Fields and Custom Post Types Management
- Click on the Install Now link right below
- Click on the Activate Plugin link
- Voila!
You will instantly notice a new menu item called Types in your WordPress administration area!
The Basics
-
What is a Custom Field?
Assuming you already know what a custom type is, you can create custom fields to be shown when adding or editing that custom field. (Yes, you can also create custom fields for native WordPress post types; Posts, Pages, etc.)
Custom fields are used when you need more then just a title and an HTML box for your custom field.
Let’s say you are creating a website that shows-off your video productions hosted on YouTube. Assume you created a custom post type called Video, when you add a new Video you will have no place to enter the YouTube link for that particular video. For this reason, you can create a custom field called “YouTube Link” and make sure it only shows up when adding/editing the Video post type. WordPress will handle showing you a textbox to enter the YouTube link and save it in it’s database for later retrieval.
There are many different types of custom fields, with the Types plugins you can add regular textboxes, email fields, images, WYSIWYG editors and much more.
-
What is a Taxonomy?
- Taxonomy is probably a really bad choice of words on the part of WordPress, but if you know what it means it’s very appropriate.
- In plain English, a taxonomy is like a category. It allows you to tag your posts into one or more categories (taxonomies), and make it easier for you to find your posts when displaying them.
- Let’s say you want to showcase real estate properties on your website. You will create a custom post type called “Properties”, and also create a taxonomy for Properties called “Property Types”. In this example, you will populate Property Types with taxonomies House, Condo, Semi-Duplex, etc. By creating this new taxonomy, you will see a new window when adding/modifying Properties where you can select 1 or more Property Types for the property you’re editing.
- Later on, you will be able to ask WordPress to only show you Houses or Condos and WordPress will be able to give you what you need.
- In Types, you can choose from 2 types of taxonomies, Hierarchical and Flat.
- Hierarchical will make it so that you can select checkboxes for the defined taxonomies (House, Condo, etc.), while with Flat you would have to type them out instead.
- Another advantage of Hierarchical is that you can make one be the parent/child of another, which depending on the project might be good.
- In general I like using Hierarchical because it’s always so much easier to click away than to manually enter the names, besides if you misspell a name WordPress will create a new one with the misspelling and that would suck.
-
What is a Custom Post Type?
WordPress can hold and display a bunch of different types of contents. When you a creating a custom post type, you are creating your own type of content that WordPress can manage and display for you.
WordPress already comes with a few post types; Posts, Pages, Media files. Each of these post types have some fields unique to them, for example the Media post type has some fields about the title and dimensions of the picture.
If you are create a WordPress website that is more than just a regular blog, you will find yourself needing to create some of your own post types. For example, if you’re creating a websites that has cars for sale, you will need to find a way to add cars on the WordPress administration area. This is when creating your own post types comes to use, you can create a Custom Post Type called “cars” and WordPress will automatically create a menu item in the administration area to view all your cars, add a new one, delete, etc. with the same exact functionality as the Pages or Posts menu items.
Look at our custom fields FAQ to learn more.
-
Can I use Types without Views?
Yes you can. But if you want to save yourself a lot of time coding in PHP, you should really get the Views plugin too. Get it here.
-
What’s the difference between Types and Views?
The WordPress plugins Types and Views work together seamlessly and accomplish 2 things:
The Types plugin allows you to create your own custom post types, and custom fields.
Custom post types are exactly what they sound like: your own types of posts. By default WordPress only allows you to add new posts, pages, media, etc. and that’s great. But what if you’re building a real estate website and want to add houses for sale somewhere in the WordPress administration area? You have 2 options: code it all in PHP or use the Types plugin and easily create a custom post type called “Houses”. The Types plugin will automatically create new menu items to add houses into your WordPress database. It will look and feel native to the WordPress administration area and you will be able to add/remove/search houses just the same way you handle posts or pages!
The Types plugin also allows you to create your own custom fields. In the example above we added a custom post type called “houses”, now we all know that houses have a price, a surface area, a type of house, etc. With the Types plugin, you can create custom fields called “Price”, “Surface Area”, “Type of House” and make it so that those fields only show up when you are adding or modifying a house!
Overall, the Types plugin allows you to easily create your own post types and special fields through a visual editor.
The Views plugin allows you to query your custom post types and display them the way you want.
In other words, Views allows you to display information about your custom post types and custom fields exactly the way you want it, without any PHP coding on your part.
You can create your own templates to display some, all or a single custom post type and its custom fields.
To make your life even easier, there are also some neat pre-made layouts you can choose from like sortable tables, grids and AJAX loading pagination.
With Types and Views working together, the sky is the limit.
Not only will you save time, but you will have no limit to what you can build with the Types and Views plugins.
There’s no too simple or too complex website that Types and Views cannot handle. It is extremely versatile and adapts to your ever-increasing WordPress development comfort level.
Types
-
Can I use Types without Views?
Yes you can. But if you want to save yourself a lot of time coding in PHP, you should really get the Views plugin too. Get it here.
-
What’s the difference between Types and Views?
The WordPress plugins Types and Views work together seamlessly and accomplish 2 things:
The Types plugin allows you to create your own custom post types, and custom fields.
Custom post types are exactly what they sound like: your own types of posts. By default WordPress only allows you to add new posts, pages, media, etc. and that’s great. But what if you’re building a real estate website and want to add houses for sale somewhere in the WordPress administration area? You have 2 options: code it all in PHP or use the Types plugin and easily create a custom post type called “Houses”. The Types plugin will automatically create new menu items to add houses into your WordPress database. It will look and feel native to the WordPress administration area and you will be able to add/remove/search houses just the same way you handle posts or pages!
The Types plugin also allows you to create your own custom fields. In the example above we added a custom post type called “houses”, now we all know that houses have a price, a surface area, a type of house, etc. With the Types plugin, you can create custom fields called “Price”, “Surface Area”, “Type of House” and make it so that those fields only show up when you are adding or modifying a house!
Overall, the Types plugin allows you to easily create your own post types and special fields through a visual editor.
The Views plugin allows you to query your custom post types and display them the way you want.
In other words, Views allows you to display information about your custom post types and custom fields exactly the way you want it, without any PHP coding on your part.
You can create your own templates to display some, all or a single custom post type and its custom fields.
To make your life even easier, there are also some neat pre-made layouts you can choose from like sortable tables, grids and AJAX loading pagination.
With Types and Views working together, the sky is the limit.
Not only will you save time, but you will have no limit to what you can build with the Types and Views plugins.
There’s no too simple or too complex website that Types and Views cannot handle. It is extremely versatile and adapts to your ever-increasing WordPress development comfort level.
-
How do I install the WordPress Types Plugin?
The Types plugin is FREE! So you can add it directly through your WordPress administration area, here’s how:
- Log-in to your WordPress administration area with your administrator username/password (yourwebsite.com/wp-admin)
- Click on Plugins
- Click on Add New
- Search for the word: Types
- You will see a search result by the name of: Types – Custom Fields and Custom Post Types Management
- Click on the Install Now link right below
- Click on the Activate Plugin link
- Voila!
You will instantly notice a new menu item called Types in your WordPress administration area!
Views
-
What is a View Template?
Note: I recommend you read the “What is a View?” FAQ before reading this.
What is a View Template?
- View Templates are used show a single item (custom post type or taxonomy)
- View Templates are not only used to show one item all alone on one page, you can use View Templates to simplify your life when using Views. When designing the layout of a view, you can select a View Template instead of just custom fields, or even both if you need to!
Examples of when to use View Templates
- Let’s say you have a website that has houses for sale, when you want to define how showing a single house on a single page looks, you will create a View Template (and probably call it “View Single House”).
- In this houses example, you might have a sidebar that shows “Featured Houses”. So you should create a View called “Featured Houses Sidebar” that will query houses that have a custom field called featured equal to 1 (for example).
- Because this is showing on the sidebar, you probably only want to show a picture of the house and the address, so you can create a View Template called “Small Single House” and design how you want a single one of those little featured houses to look like. You’ll probably show a photo of the house in a smaller dimension 100×100 and show the custom field address of the house.
- So now you have both a View called “Featured Houses Sidebar” and a View Template called “Small Single House”, in that View add to the layout the View Template “Small Single House”. This will make the View go through each featured house and print out a small version of the house.
-
What is a View?
Once you have the Views plugin installed, you might scratch your head for a few minutes trying to understand what a View and a View Template. I’m a pretty experience developer, and even if I didn’t really get it at first.
Here’s my attempt to explain it all in plain English.
Note: I assume you already know what a custom post type is and what custom fields are, if you don’t please see my other FAQs on the subject.
What are Views?
- When you create a new View, you’re creating a page that acts like a big loop that will go through all (or some) of your custom post types or custom taxonomies
- When you’re editing your View, you’re basically telling it what you want to query in your database, if you want to filter it in any way, if you want to allow paging, and finally what you want to output for each element found in your query.
- The main thing to know about Views is that it’s not used to show 1 item at a time, but many.
- Views have some pre-made layout options to show the queried items in an ordered list, in a table, in a grid format, etc., you can easily decide on your own layout too.
- Views have built-in paging functionality, you can edit the Paging to only show 10 items (posts/taxonomies) per page and the View will automatically create buttons to go back and forth between the pages
- Once you create a View, you need to edit a page you have on your website and use the shortcode [wpv-view name="The Name of Your View Here"] and the shortcode will render the view when viewing the page
- If you want to get creative or want more control of the HTML printed out by a View, you can always click on the META HTML link in the View’s layout and play around with the code, sky’s the limit.
Examples of when to use Views
- A View will create a page that looks like the typical WordPress “Blog” page, a list of blog posts and each one linking to the actual blog post
- You may create a View to display a list of houses for sale. In this case you have a custom post type called Houses and your view is set to query Houses and only display 5 per page for example.
- You may create a View to display a list of categories (taxonomies) on a page or sidebar
- You may create a View to display a slideshow, since it will go through each custom post type “Slides” and display it the way you want
What a View is Not For
- You will not use a View to show just 1 item
- If you making a website showcases houses for sale, you will not try to create a View to show a single house, you will use a View to show a list/table/grid of houses for sale.
-
What’s the difference between Types and Views?
The WordPress plugins Types and Views work together seamlessly and accomplish 2 things:
The Types plugin allows you to create your own custom post types, and custom fields.
Custom post types are exactly what they sound like: your own types of posts. By default WordPress only allows you to add new posts, pages, media, etc. and that’s great. But what if you’re building a real estate website and want to add houses for sale somewhere in the WordPress administration area? You have 2 options: code it all in PHP or use the Types plugin and easily create a custom post type called “Houses”. The Types plugin will automatically create new menu items to add houses into your WordPress database. It will look and feel native to the WordPress administration area and you will be able to add/remove/search houses just the same way you handle posts or pages!
The Types plugin also allows you to create your own custom fields. In the example above we added a custom post type called “houses”, now we all know that houses have a price, a surface area, a type of house, etc. With the Types plugin, you can create custom fields called “Price”, “Surface Area”, “Type of House” and make it so that those fields only show up when you are adding or modifying a house!
Overall, the Types plugin allows you to easily create your own post types and special fields through a visual editor.
The Views plugin allows you to query your custom post types and display them the way you want.
In other words, Views allows you to display information about your custom post types and custom fields exactly the way you want it, without any PHP coding on your part.
You can create your own templates to display some, all or a single custom post type and its custom fields.
To make your life even easier, there are also some neat pre-made layouts you can choose from like sortable tables, grids and AJAX loading pagination.
With Types and Views working together, the sky is the limit.
Not only will you save time, but you will have no limit to what you can build with the Types and Views plugins.
There’s no too simple or too complex website that Types and Views cannot handle. It is extremely versatile and adapts to your ever-increasing WordPress development comfort level.
-
How do I Install the WordPress Views plugin?
Because there is an on-going team developing and expanding the Views plugin, it is priced at a very low $49. Just think about how much time you will save by drastically cutting-down your development time, and we all know that time is money.
Step 1: Purchase the Views Plugin
- Purchase the Views Plugin here
- Go to your Account’s Download section and download the ZIP file
Step 2: Install the Views Plugin
- Log-in to your WordPress administration area with your administrator username/password (yourwebsite.com/wp-admin)
- Click on Plugins
- Click on Add New
- Click on the Upload link all the way on top
- Click on the file browser button and select the ZIP file downloaded in Step 1
- Click on the Install Now button
- Click on the Activate Plugin link
- Voila!
You will instantly notice a new menu item called Views in your WordPress administration area!
