{"id":73,"date":"2020-03-08T18:38:47","date_gmt":"2020-03-08T18:38:47","guid":{"rendered":"https:\/\/demo.daext.com\/soccer-engine\/?page_id=73"},"modified":"2023-10-11T14:05:45","modified_gmt":"2023-10-11T14:05:45","slug":"staff","status":"publish","type":"page","link":"https:\/\/demo.daext.com\/soccer-engine\/staff\/","title":{"rendered":"Staff"},"content":{"rendered":"\n<p>The <strong>Staff<\/strong> block allows you to display in the front-end of the website a table with information about the staff members.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example 1<\/h4>\n\n\n\n<p> A generic list of staff members.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\"\n\t\t\tdata-type=\"staff\">\n\n\t\t\t\n\t\t\t<div id=\"dase-paginated-table-1\"><\/div>\n\t\t\t<script>\n\n\t\t\t\t\n\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", function (event) {\n\t\t\t\t\tnew DasePaginatedTable({\n\t\t\t\t\t\tajaxUrl: DASE_PHPDATA.ajaxUrl,\n\t\t\t\t\t\tnonce: DASE_PHPDATA.nonce,\n\t\t\t\t\t\tcurrentPage: 1,\n\t\t\t\t\t\taction: 'dase_get_paginated_table_data',\n\t\t\t\t\t\ttableId: 'staff',\n\t\t\t\t\t\tfilter: {'staff_type_id': '0','retired': '0','gender': '0',},\n\t\t\t\t\t\tcolumns: ['staff','age','citizenship','staff_type'],\n\t\t\t\t\t\thiddenColumnsBreakpoint1: [],\n\t\t\t\t\t\thiddenColumnsBreakpoint2: [],\n\t\t\t\t\t\tpagination: 10,\n\t\t\t\t\t\ttableIdAttribute: 'dase-paginated-table-1',\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t<\/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>Staff members from a specific squad.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\"\n\t\t\tdata-type=\"staff\">\n\n\t\t\t\n\t\t\t<div id=\"dase-paginated-table-2\"><\/div>\n\t\t\t<script>\n\n\t\t\t\t\n\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", function (event) {\n\t\t\t\t\tnew DasePaginatedTable({\n\t\t\t\t\t\tajaxUrl: DASE_PHPDATA.ajaxUrl,\n\t\t\t\t\t\tnonce: DASE_PHPDATA.nonce,\n\t\t\t\t\t\tcurrentPage: 1,\n\t\t\t\t\t\taction: 'dase_get_paginated_table_data',\n\t\t\t\t\t\ttableId: 'staff',\n\t\t\t\t\t\tfilter: {'staff_type_id': '0','retired': '0','gender': '0',},\n\t\t\t\t\t\tcolumns: ['staff','age','citizenship','staff_type'],\n\t\t\t\t\t\thiddenColumnsBreakpoint1: [],\n\t\t\t\t\t\thiddenColumnsBreakpoint2: [],\n\t\t\t\t\t\tpagination: 10,\n\t\t\t\t\t\ttableIdAttribute: 'dase-paginated-table-2',\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t<\/script>\n\n\n\t\t<\/div>\n\n\t\t\n\n<div  class='av-buildercomment av-tbgh-1bed4c7a62226a1757c4f9e554e7edd3'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Staff block allows you to display in the front-end of the website a table with information about the staff members. Example 1 A generic list of staff members. Example 2 Staff members from a specific squad.<\/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-73","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/73","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=73"}],"version-history":[{"count":1,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/73\/revisions"}],"predecessor-version":[{"id":702,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/73\/revisions\/702"}],"wp:attachment":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/media?parent=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}