{"id":69,"date":"2020-03-08T18:37:35","date_gmt":"2020-03-08T18:37:35","guid":{"rendered":"https:\/\/demo.daext.com\/soccer-engine\/?page_id=69"},"modified":"2023-10-11T14:05:45","modified_gmt":"2023-10-11T14:05:45","slug":"unavailable-players","status":"publish","type":"page","link":"https:\/\/demo.daext.com\/soccer-engine\/unavailable-players\/","title":{"rendered":"Unavailable Players"},"content":{"rendered":"\n<p>The <strong>Unavailable Players<\/strong> block allows you to display in the front-end of the website a table with information about the unavailable players.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example 1<\/h4>\n\n\n\n<p>A generic list of unavailable players.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"unavailable-player\">\n\n            \n            <div id=\"dase-paginated-table-1\"><\/div>\n            <script>\n\n              \n              document.addEventListener(\"DOMContentLoaded\", function(event) {\n                new DasePaginatedTable({\n                  ajaxUrl: DASE_PHPDATA.ajaxUrl,\n                  nonce: DASE_PHPDATA.nonce,\n                  currentPage: 1,\n                  action: 'dase_get_paginated_table_data',\n                  tableId: 'unavailable_player',\n                  filter: {'player_id': '0','unavailable_player_type_id': '0',},\n                  columns: ['player','age','citizenship','unavailable_player_type','start_date','end_date'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: [],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-1',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n\n<h4 class=\"wp-block-heading\">Example 2<\/h4>\n\n\n\n<p>List of players of a specific Unavailable Player Type, in this example for &#8220;National Team call-ups&#8221;.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"unavailable-player\">\n\n            \n            <div id=\"dase-paginated-table-2\"><\/div>\n            <script>\n\n              \n              document.addEventListener(\"DOMContentLoaded\", function(event) {\n                new DasePaginatedTable({\n                  ajaxUrl: DASE_PHPDATA.ajaxUrl,\n                  nonce: DASE_PHPDATA.nonce,\n                  currentPage: 1,\n                  action: 'dase_get_paginated_table_data',\n                  tableId: 'unavailable_player',\n                  filter: {'player_id': '0','unavailable_player_type_id': '6',},\n                  columns: ['player','age','citizenship','unavailable_player_type','start_date','end_date'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: [],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-2',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n<div  class='av-buildercomment av-y47t-2eb6342aafea76cc8683d585a01fc05e'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Unavailable Players block allows you to display in the front-end of the website a table with information about the unavailable players. Example 1 A generic list of unavailable players. Example 2 List of players of a specific Unavailable Player Type, in this example for &#8220;National Team call-ups&#8221;.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-69","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":1,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/69\/revisions"}],"predecessor-version":[{"id":708,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/69\/revisions\/708"}],"wp:attachment":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/media?parent=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}