Shortcodes for Sportsbook posts

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

Single Item Shortcode

[apolloplugin-level-1-one id="" schema="" style="" positioning="" show_geotargeting=""]

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 Sportsbook custom post. To place the shortcode on other pages of the website, please add the ID of the desired Sportsbook post.
  • schema – If you want to enable the Schema.org Organization type for this shortcode, add the value yes to this attribute.
  • style – To place the shortcode on a dark background, you can switch to a light font by adding the dark value to this attribute.
  • positioning – To switch the shortcode display from horizontal to vertical, add the vertical value to this attribute.
  • show_geotargeting – Set this attribute to yes to enable the display of the country indicator. Only works if geotargeting is enabled.

Visual example:

Sportsbook posts shortcodes

Single Item Rating Shortcode

[apolloplugin-level-1-ratings id="" hide_ratings_list="" style="" positioning=""]

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 Sportsbook custom post. To place the shortcode on other pages of the website, please add the ID of the desired Sportsbook post.
  • hide_ratings_list – To disable the display of the rating list and leave only the average, please add the value yes to this attribute.
  • style – To place the shortcode on a dark background, you can switch to a light font by adding the dark value to this attribute.
  • positioning – To switch the shortcode display from horizontal to vertical, add the vertical value to this attribute.

Visual example:

Sportsbook rating shortcode

Top List (Landscape #1) Shortcode

[apolloplugin-level-1-list-landscape number_items="" include_items="" exclude_items="" category_ids="" level_2_id="" hide_first_button="" hide_second_button="" 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_2_id – Add an item ID from the Prediction custom post that has a connection with one or more items from Sportsbooks. Only items that have a connection with an item from the Prediction custom post will be shown. Only one ID 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.
  • 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. 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).
  • 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:

Sportsbook landscape #1 posts shortcode

Top List (Landscape #2) Shortcode

[apolloplugin-level-1-list-landscape-2 number_items="" include_items="" exclude_items="" category_ids="" level_2_id="" hide_first_button="" hide_second_button="" 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_2_id – Add an item ID from the Prediction custom post that has a connection with one or more items from Sportsbooks. Only items that have a connection with an item from the Prediction custom post will be shown. Only one ID 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.
  • 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. 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).
  • 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:

Sportsbook landscape #2 posts shortcode

Top List (Grid #1) Shortcode

[apolloplugin-level-1-list-small-logos number_items="4" include_items="" exclude_items="" category_ids="" level_2_id="" hide_first_button="" hide_second_button="" sorting_taxonomy="" sorting_taxonomy_id="" order_by="" order="" columns="4" 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_2_id – Add an item ID from the Prediction custom post that has a connection with one or more items from Sportsbooks. Only items that have a connection with an item from the Prediction custom post will be shown. Only one ID 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.
  • 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. 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).
  • 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:

Sportsbook grid #1 posts shortcode

Top List (Grid #2) Shortcode

[apolloplugin-level-1-list-micro-logos number_items="4" include_items="" exclude_items="" category_ids="" level_2_id="" sorting_taxonomy="" sorting_taxonomy_id="" order_by="" order="" columns="4" 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_2_id – Add an item ID from the Prediction custom post that has a connection with one or more items from Sportsbooks. Only items that have a connection with an item from the Prediction custom post will be shown. Only one ID can be added.
  • 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. 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).
  • 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:

Sportsbook grid #2 posts 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