Shortcodes for Prediction posts

The Apollo theme has built-in shortcodes specifically designed for Prediction posts. Below are the available shortcodes and their attributes.

Single Item #1 Shortcode

[apolloplugin-level-2-one id="" taxonomy_key=""]

Shortcode attributes:

If you do not use an attribute in the shortcode, remove it from the shortcode.

  • id – Optional attribute if the shortcode is placed on the single page of a Prediction custom post. To place the shortcode on other pages of the website, please add the ID of the desired Prediction post.
  • taxonomy_key – Add the taxonomy key (for example: level-two-category) whose items should be shown above the title.

Visual example:

Prediction posts shortcode

Single Item #2 Shortcode

[apolloplugin-level-2-one-2 id="" taxonomy_key=""]

Shortcode attributes:

If you do not use an attribute in the shortcode, remove it from the shortcode.

  • id – Optional attribute if the shortcode is placed on the single page of a Prediction custom post. To place the shortcode on other pages of the website, please add the ID of the desired Prediction post.
  • taxonomy_key – Add the taxonomy key (for example: level-two-category) whose items should be shown above the title.

Visual example:

Prediction post shortcode #2

List (Landscape #1) Shortcode

[apolloplugin-level-2-list-landscape number_items="10" include_items="" exclude_items="" category_ids="" level_1_slug="" hide_first_button="" hide_second_button="" displayed_taxonomy="" sorting_taxonomy="" sorting_taxonomy_id="" order_by="" order="" enable_geotargeting=""]

Shortcode attributes:

If you do not use an attribute in the shortcode, remove it from the shortcode.

  • number_items – The number of items displayed in the list.
  • include_items – Add the item IDs that should be included in the list. Item IDs are listed separated by commas.
  • exclude_items – Add the item IDs that should not be included in the list. Item IDs are listed separated by commas.
  • category_ids – Add the category ID of the items to be shown in the list. You can add multiple category IDs separated by commas.
  • level_1_slug – Add an item slug from the Sportsbook custom post that has a connection with one or more items from Prediction. Only items that have a connection with an item from the Sportsbook custom post will be shown. Only one slug can be added.
  • hide_first_button – Add a yes value to this attribute to disable the first button for all items in the list.
  • hide_second_button – Add a yes value to this attribute to disable the second button for all items in the list.
  • displayed_taxonomy – Add the taxonomy key (for example: level-two-category) whose items should be shown in the center of the item below the offer.
  • sorting_taxonomy and sorting_taxonomy_id – These two attributes work only together. For the sorting_taxonomy attribute, you need to add the taxonomy key, and for the sorting_taxonomy_id attribute, the ID of one of its items. The list will show only items related to the item of the selected custom taxonomy.
  • order_by – Available sorting options for items in the list can be found here.
  • order – There are two sorting options available: ASC (order from lowest to highest values) and DESC (order from highest to lowest values).
  • enable_geotargeting – Add a yes value to this attribute to enable sorting of items in the list by the user’s country. Only works if geotargeting is enabled.

Visual example:

Predictions landscape list shortcode

List (Landscape #2) Shortcode

[apolloplugin-level-2-list-landscape-2 number_items="10" include_items="" exclude_items="" category_ids="" level_1_slug="" hide_first_button="" hide_second_button="" displayed_taxonomy="" sorting_taxonomy="" sorting_taxonomy_id="" order_by="" order="" enable_geotargeting=""]

Shortcode attributes:

If you do not use an attribute in the shortcode, remove it from the shortcode.

  • number_items – The number of items displayed in the list.
  • include_items – Add the item IDs that should be included in the list. Item IDs are listed separated by commas.
  • exclude_items – Add the item IDs that should not be included in the list. Item IDs are listed separated by commas.
  • category_ids – Add the category ID of the items to be shown in the list. You can add multiple category IDs separated by commas.
  • level_1_slug – Add an item slug from the Sportsbook custom post that has a connection with one or more items from Prediction. Only items that have a connection with an item from the Sportsbook custom post will be shown. Only one slug can be added.
  • hide_first_button – Add a yes value to this attribute to disable the first button for all items in the list.
  • hide_second_button – Add a yes value to this attribute to disable the second button for all items in the list.
  • displayed_taxonomy – Add the taxonomy key (for example: level-two-category) whose items should be shown in the center of the item below the offer.
  • sorting_taxonomy and sorting_taxonomy_id – These two attributes work only together. For the sorting_taxonomy attribute, you need to add the taxonomy key, and for the sorting_taxonomy_id attribute, the ID of one of its items. The list will show only items related to the item of the selected custom taxonomy.
  • order_by – Available sorting options for items in the list can be found here.
  • order – There are two sorting options available: ASC (order from lowest to highest values) and DESC (order from highest to lowest values).
  • enable_geotargeting – Add a yes value to this attribute to enable sorting of items in the list by the user’s country. Only works if geotargeting is enabled.

Visual example:

Predictions landscape list #2 shortcode

List (Grid #1) Shortcode

[apolloplugin-level-2-list-grid number_items="8" include_items="" exclude_items="" category_ids="" level_1_slug="" hide_first_button="" hide_second_button="" displayed_taxonomy="" sorting_taxonomy="" sorting_taxonomy_id="" order_by="" order="" columns="" enable_geotargeting=""]

Shortcode attributes:

If you do not use an attribute in the shortcode, remove it from the shortcode.

  • number_items – The number of items displayed in the list.
  • include_items – Add the item IDs that should be included in the list. Item IDs are listed separated by commas.
  • exclude_items – Add the item IDs that should not be included in the list. Item IDs are listed separated by commas.
  • category_ids – Add the category ID of the items to be shown in the list. You can add multiple category IDs separated by commas.
  • level_1_slug – Add an item slug from the Sportsbook custom post that has a connection with one or more items from Prediction. Only items that have a connection with an item from the Sportsbook custom post will be shown. Only one slug can be added.
  • hide_first_button – Add a yes value to this attribute to disable the first button for all items in the list.
  • hide_second_button – Add a yes value to this attribute to disable the second button for all items in the list.
  • displayed_taxonomy – Add the taxonomy key (for example: level-two-category) whose items should be shown in the center of the item below the offer.
  • sorting_taxonomy and sorting_taxonomy_id – These two attributes work only together. For the sorting_taxonomy attribute, you need to add the taxonomy key, and for the sorting_taxonomy_id attribute, the ID of one of its items. The list will show only items related to the item of the selected custom taxonomy.
  • order_by – Available sorting options for items in the list can be found here.
  • order – There are two sorting options available: ASC (order from lowest to highest values) and DESC (order from highest to lowest values).
  • columns – The number of columns in the list. Valid values ​​are 1, 2, 3, and 4.
  • enable_geotargeting – Add a yes value to this attribute to enable sorting of items in the list by the user’s country. Only works if geotargeting is enabled.

Visual example:

Predictions grid list #1 shortcode

List (Grid #2) Shortcode

[apolloplugin-level-2-list-grid-2 number_items="8" include_items="" exclude_items="" category_ids="" level_1_slug="" displayed_taxonomy="" sorting_taxonomy="" sorting_taxonomy_id="" order_by="" order="" columns="" enable_geotargeting=""]

Shortcode attributes:

If you do not use an attribute in the shortcode, remove it from the shortcode.

  • number_items – The number of items displayed in the list.
  • include_items – Add the item IDs that should be included in the list. Item IDs are listed separated by commas.
  • exclude_items – Add the item IDs that should not be included in the list. Item IDs are listed separated by commas.
  • category_ids – Add the category ID of the items to be shown in the list. You can add multiple category IDs separated by commas.
  • level_1_slug – Add an item slug from the Sportsbook custom post that has a connection with one or more items from Prediction. Only items that have a connection with an item from the Sportsbook custom post will be shown. Only one slug can be added.
  • displayed_taxonomy – Add the taxonomy key (for example: level-two-category) whose items should be shown in the center of the item below the offer.
  • sorting_taxonomy and sorting_taxonomy_id – These two attributes work only together. For the sorting_taxonomy attribute, you need to add the taxonomy key, and for the sorting_taxonomy_id attribute, the ID of one of its items. The list will show only items related to the item of the selected custom taxonomy.
  • order_by – Available sorting options for items in the list can be found here.
  • order – There are two sorting options available: ASC (order from lowest to highest values) and DESC (order from highest to lowest values).
  • columns – The number of columns in the list. Valid values ​​are 1, 2, 3, and 4.
  • enable_geotargeting – Add a yes value to this attribute to enable sorting of items in the list by the user’s country. Only works if geotargeting is enabled.

Visual example:

Predictions grid list #2 shortcode
Apollo Theme
Sports Betting Affiliate WordPress Theme
$59 / Year
Zeus Theme
Casino Affiliate WordPress Theme
$59 / Year
Ultrafast Hosting for WordPress
Simple, 1-click platform for a hassle-free hosting experience.
Follow Us