WordPress terminology can get confusing, are all pages posts, is a post news, etc. Hopefully this article will start to help unravel the wording and give you a little more of sound WordPress knowledge.
The main records that you work with in WordPress are called posts and they have a ‘post type’, i.e. ‘Pages’ are posts and they have a post_type called ‘pages’.
Some examples of posts:
- A page is a post with the post_type of page
- A post (blog article) is a post with the post type of post
- A product is a post with the post type of product.
Whenever you are on a page on your website which only shows a list of certain post types – that is called a post archive (i.e. if you can only see products listed you are on the ‘products’ post archive template.
When ever on a page that shows the details of one post you are on a ‘single’ template
These can be grouped together with something called taxonomies (no we don’t mean stuffed squirrels!). Think of a taxonomy as the different aisles in a supermarket.
Some examples of taxonomies:
A category is a taxonomy (i.e. you could group your news articles together under different categories like: UK, Technology, Sport, Food)
A brand is a taxonomy (i.e. you might want to group products together under different brands (i.e. Apple, Samsung).
WordPress has a rather nifty templating system, that allows for custom layouts to be stored and used for certain posts or taxonomies. There are a few built in by default, but more can be added depending on specific requirements.
The permalink is the permanent link to a page. When you create a page or a post in WordPress it gets its own unique web url i.e. https://dzined.uk/my-new-page.
https://dzined.uk/my-new-page is the permalink.
This is the bit on the end of the permalink, in our above example the slug is ‘my-new-page’ – it’s all small letters and words separated with hyphens (-)