{"id":47,"date":"2020-03-08T18:29:03","date_gmt":"2020-03-08T18:29:03","guid":{"rendered":"https:\/\/demo.daext.com\/soccer-engine\/?page_id=47"},"modified":"2023-10-11T14:05:45","modified_gmt":"2023-10-11T14:05:45","slug":"squad-staff","status":"publish","type":"page","link":"https:\/\/demo.daext.com\/soccer-engine\/squad-staff\/","title":{"rendered":"Squad Staff"},"content":{"rendered":"\n<p>The <strong>Squad Staff<\/strong> block allows you to display in the front-end of the website a table with information about the staff members of a squad.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example 1<\/h4>\n\n\n\n<p> The squad staff of Chelsea in March 2020. <\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"squad-staff\">\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: 'squad_staff',\n                  filter: {'squad_id': '59',},\n                  columns: ['staff','date_of_birth','citizenship'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: ['date_of_birth'],\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> The squad staff of Bayern Munich in March 2020.  <\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"squad-staff\">\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: 'squad_staff',\n                  filter: {'squad_id': '60',},\n                  columns: ['staff','date_of_birth','citizenship'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: ['date_of_birth'],\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\n<h3 class=\"wp-block-heading\">Example 3<\/h3>\n\n\n\n<p>The squad staff of Lyon in March 2020.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"squad-staff\">\n\n            \n            <div id=\"dase-paginated-table-3\"><\/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: 'squad_staff',\n                  filter: {'squad_id': '57',},\n                  columns: ['staff','date_of_birth','citizenship'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: ['date_of_birth'],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-3',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n\n<h3 class=\"wp-block-heading\">Example 4<\/h3>\n\n\n\n<p>The squad staff of Juventus in March 2020.  <\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"squad-staff\">\n\n            \n            <div id=\"dase-paginated-table-4\"><\/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: 'squad_staff',\n                  filter: {'squad_id': '58',},\n                  columns: ['staff','date_of_birth','citizenship'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: ['date_of_birth'],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-4',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n<div  class='av-buildercomment av-13zmb-e1a62d082a0b3a38b56ec7bf0ad9acf8'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Squad Staff block allows you to display in the front-end of the website a table with information about the staff members of a squad. Example 1 The squad staff of Chelsea in March 2020. Example 2 The squad staff of Bayern Munich in March 2020. Example 3 The squad staff of Lyon in March [&hellip;]<\/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-47","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/47","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=47"}],"version-history":[{"count":1,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/47\/revisions"}],"predecessor-version":[{"id":700,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/47\/revisions\/700"}],"wp:attachment":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/media?parent=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}