To quickly and easily create an archive page for casinos, a built-in shortcode is available, allowing you to create the desired page in just a few clicks.
It is enough to follow the following steps:
1. Go to Pages – Add Page.
2. Add a page title and in the right sidebar for Template, select one of the full-width page templates.
3. Then add this shortcode, configuring it using the following attributes.
If some attribute is not used by you in the shortcode, then it should be removed from this shortcode.
number_items – The number of items displayed in the list.
post_type – A unique key for one of the built-in custom post types: type-one for casinos.
taxonomy_key – Add a unique taxonomy key to display items only within that taxonomy. This only works in conjunction with the taxonomy_term attribute. The key for categories is type-one-category.
taxonomy_term – Add the slug of a specific taxonomy item whose key you added in the taxonomy_key attribute. For example: crypto-casino.
hide_first_button – If the shortcode for the item list of Casino post types allows hiding the first button. Add the value yes to this attribute.
hide_second_button – If the shortcode for the item list of Casino post types allows hiding the second button. Add the value yes to this attribute.
displayed_taxonomy – If the shortcode for the item list of Casino post types allows showing taxonomy items. Add the taxonomy key whose items should be shown.
order_by – Available sorting options for items in the list can be found here. To sort items by rating, please use the meta_value_num parameter.
order – There are two sorting options available. ASC (order from lowest to highest values) and DESC (order from highest to lowest values).
layout_style – Which search results layout style should be displayed. One of four styles can be applied to the Casino post type. Valid values are 1, 2, 3, or 4.
columns – Only applicable to layout styles that have columns. Valid values are 1, 2, 3, and 4.