{"id":255,"date":"2025-03-10T12:12:08","date_gmt":"2025-03-10T11:12:08","guid":{"rendered":"https:\/\/projekt3.sztukaprezentacji.com\/?p=255"},"modified":"2025-03-10T12:13:13","modified_gmt":"2025-03-10T11:13:13","slug":"wpis-3","status":"publish","type":"post","link":"https:\/\/projekt3.sztukaprezentacji.com\/?p=255","title":{"rendered":"Test"},"content":{"rendered":"\n<p>Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<\/p>\n\n\n\t\t<!-- printing filters start-->\n\t\t\t\t<div class=\"row\">\n\t\t\t<div class=\"my-1 ufg-filters\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<!-- printing filters end-->\n\t\t\n\t\t\n\t\t<input id=\"ufg_current_clicked_filter_id\" name=\"ufg_current_clicked_filter_id\" value=\"\" class=\"d-none\" placeholder=\"Current Filter\">\n\t\t<input id=\"ufg_current_clicked_filter_level\" name=\"ufg_current_clicked_filter_level\" value=\"\" class=\"d-none\" placeholder=\"Current Level\">\n\t\t<input id=\"ufg_last_clicked_filter_id\" name=\"ufg_last_clicked_filter_id\" value=\"\" class=\"d-none\" placeholder=\"Last Filter\">\n\t\t<input id=\"ufg_last_clicked_filter_level\" name=\"ufg_last_clicked_filter_level\" value=\"\" class=\"d-none\" placeholder=\"Last Level\">\n\t\t<input id=\"ufg_current_clicked_parent_filter_id\" name=\"ufg_current_clicked_parent_filter_id\" value=\"\" class=\"d-none\" placeholder=\"Current Parent Filter\">\n\t\t<input id=\"ufg_last_clicked_filter_parent_id\" name=\"ufg_last_clicked_filter_parent_id\" value=\"\" class=\"d-none\" placeholder=\"Last Parent Filter\">\n\t\t\n\t\t<!-- printing gallery start-->\n\t\t<div class=\"row ufg-gallery\">\n\t\t\t\t\t\t\n\t\t\t<div id=\"ufg-thumbnail\" class=\"col-3 col-sm-3 col-md-4 col-lg-4 mb-4 \">\n\t\t\t\t<div class=\"ufg-thumbnail-border\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/4.jpg\" class=\"ufg-lightbox \" data-title=\"4\" data-lightbox=\"ufg-lightbox\" data-alt=\"\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/4-1024x608.jpg\" class=\"ufg-thumbnail-img img-fluid mx-auto d-block\" alt=\"\">\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t<div class=\"ufg-image-content\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t\t\n\t\t\t<div id=\"ufg-thumbnail\" class=\"col-3 col-sm-3 col-md-4 col-lg-4 mb-4 \">\n\t\t\t\t<div class=\"ufg-thumbnail-border\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/3.jpg\" class=\"ufg-lightbox \" data-title=\"3\" data-lightbox=\"ufg-lightbox\" data-alt=\"\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/3-1024x576.jpg\" class=\"ufg-thumbnail-img img-fluid mx-auto d-block\" alt=\"\">\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t<div class=\"ufg-image-content\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t\t\n\t\t\t<div id=\"ufg-thumbnail\" class=\"col-3 col-sm-3 col-md-4 col-lg-4 mb-4 \">\n\t\t\t\t<div class=\"ufg-thumbnail-border\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/2.jpg\" class=\"ufg-lightbox \" data-title=\"2\" data-lightbox=\"ufg-lightbox\" data-alt=\"\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/2-1024x576.jpg\" class=\"ufg-thumbnail-img img-fluid mx-auto d-block\" alt=\"\">\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t<div class=\"ufg-image-content\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t\t\n\t\t\t<div id=\"ufg-thumbnail\" class=\"col-3 col-sm-3 col-md-4 col-lg-4 mb-4 \">\n\t\t\t\t<div class=\"ufg-thumbnail-border\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/1.jpg\" class=\"ufg-lightbox \" data-title=\"1\" data-lightbox=\"ufg-lightbox\" data-alt=\"\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/projekt3.sztukaprezentacji.com\/wp-content\/uploads\/2025\/03\/1-1024x768.jpg\" class=\"ufg-thumbnail-img img-fluid mx-auto d-block\" alt=\"\">\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t<div class=\"ufg-image-content\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t\n\t\t<script>\n\t\tjQuery('button.ufg-level-one-button').fadeOut(); \/\/hide all level 1 buttons\n\t\t\n\t\tfunction filter(id, value) {\n\t\t\t\/\/console.log(id); *\/\n\t\t\t\/\/console.log(value); *\/\n\t\t\tvar ufg_btn_text = \"\";\n\t\t\tvar ufg_btn_text2 = \"\";\n\t\t\tvar ufg_current_clicked_filter_id = \"\";\n\t\t\tvar ufg_current_clicked_filter_level = \"\";\n\t\t\tvar ufg_last_clicked_filter_id = \"\";\n\t\t\tvar ufg_last_clicked_filter_level = \"\";\n\t\t\tvar ufg_last_clicked_filter_parent_id = \"\";\n\t\t\t\n\t\t\tufg_current_clicked_filter_id = jQuery(\"#ufg_current_clicked_filter_id\").val(); \/* get last clicked filter id *\/\n\t\t\tufg_current_clicked_filter_level = jQuery(\"#ufg_current_clicked_filter_level\").val(); \/* set current clicked filter level*\/\n\t\t\tufg_last_clicked_filter_id = jQuery(\"#ufg_last_clicked_filter_id\").val(); \/* get last clicked filter id*\/\n\t\t\tufg_last_clicked_filter_level = jQuery(\"#ufg_last_clicked_filter_level\").val(); \/* get last clicked filter level*\/\n\t\t\t\n\t\t\tufg_current_clicked_parent_filter_id = jQuery(\"#ufg_current_clicked_parent_filter_id\").val(); \/* get current clicked parent filter id*\/\n\t\t\tufg_last_clicked_filter_parent_id = jQuery(\"#ufg_last_clicked_filter_parent_id\").val(); \/* get last clicked parent filter id*\/\n\t\t\t\n\t\t\t\/* set current - initials case *\/\n\t\t\tif(ufg_current_clicked_filter_id == \"\") {\n\t\t\t\t\/\/get current clicked filter level *\/\n\t\t\t\t\/\/console.log(id.match(\"1evel1\")); *\/\n\t\t\t\tif(id.match(\"1evel1\")){ ufg_current_clicked_filter_level = \"1evel1\"; }\n\t\t\t\t\/\/console.log(ufg_current_clicked_filter_level); *\/\n\t\t\t\tif(id.match(\"level2\")){ ufg_current_clicked_filter_level = \"level2\"; }\n\t\t\t\t\/\/console.log(ufg_current_clicked_filter_level); *\/\n\t\t\t\tif(id.match(\"level3\")){ ufg_current_clicked_filter_level = \"level3\"; }\n\t\t\t\t\/\/console.log(ufg_current_clicked_filter_level); *\/\n\t\t\t\t\n\t\t\t\t\/* set filter id and get *\/\n\t\t\t\tjQuery(\"#ufg_current_clicked_filter_id\").val(id);\n\t\t\t\tjQuery(\"#ufg_current_clicked_filter_level\").val(ufg_current_clicked_filter_level);\n\t\t\t\t\n\t\t\t\tjQuery(\"#ufg_last_clicked_filter_id\").val(id);\n\t\t\t\tjQuery(\"#ufg_last_clicked_filter_level\").val(ufg_current_clicked_filter_level);\n\t\t\t\t\n\t\t\t\tconsole.log(ufg_last_clicked_filter_parent_id);\n\t\t\t\tif(ufg_current_clicked_filter_level == \"1evel1\") {\n\t\t\t\t\tjQuery(\"#ufg_last_clicked_filter_parent_id\").val(id);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\/* set current last clicked parent filter id *\/\n\t\t\t\tjQuery(\"#ufg_current_clicked_parent_filter_id\").val(id);\n\t\t\t\tjQuery(\"#ufg_last_clicked_filter_parent_id\").val(id);\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\t\n\t\t\t\t\/* transfer current filter to last filter (transfer before getting filter level) *\/\n\t\t\t\tjQuery(\"#ufg_last_clicked_filter_id\").val(ufg_current_clicked_filter_id);\n\t\t\t\tjQuery(\"#ufg_last_clicked_filter_level\").val(ufg_current_clicked_filter_level);\n\t\t\t\t\n\t\t\t\t\/\/get current clicked filter level *\/\n\t\t\t\t\/\/console.log(id.match(\"1evel1\")); *\/\n\t\t\t\tif(id.match(\"1evel1\")){ ufg_current_clicked_filter_level = \"1evel1\"; }\n\t\t\t\t\/\/console.log(ufg_current_clicked_filter_level); *\/\n\t\t\t\tif(id.match(\"level2\")){ ufg_current_clicked_filter_level = \"level2\"; }\n\t\t\t\t\/\/console.log(ufg_current_clicked_filter_level); *\/\n\t\t\t\tif(id.match(\"level3\")){ ufg_current_clicked_filter_level = \"level3\"; }\n\t\t\t\t\/\/console.log(ufg_current_clicked_filter_level); *\/\n\t\t\t\t\n\t\t\t\t\/* set current filters *\/\n\t\t\t\tjQuery(\"#ufg_current_clicked_filter_id\").val(id);\n\t\t\t\tjQuery(\"#ufg_current_clicked_filter_level\").val(ufg_current_clicked_filter_level);\n\t\t\t\t\n\t\t\t\tufg_last_clicked_filter_id = jQuery(\"#ufg_last_clicked_filter_id\").val(); \/* get last clicked filter id *\/\n\t\t\t\tufg_last_clicked_filter_level = jQuery(\"#ufg_last_clicked_filter_level\").val(); \/* get last clicked filter level *\/\n\t\t\t\t\n\t\t\t\t\/* remove check icon on last clicked filter - if same level2 filter button clicked *\/\n\t\t\t\tif(ufg_current_clicked_filter_level == \"level2\" && ufg_last_clicked_filter_level == \"level2\"){\n\t\t\t\t\t\/* remove check icon from last clicked filter button *\/\n\t\t\t\t\tufg_btn_text = jQuery(\"#\" + ufg_last_clicked_filter_id).html(); \/* get html value *\/\n\t\t\t\t\t\/\/console.log(ufg_btn_text);\n\t\t\t\t\tufg_btn_text = ufg_btn_text.replace(' <i class=\"fas fa-check\"><\/i>', ''); \/* remove icon *\/\n\t\t\t\t\t\/\/console.log(ufg_btn_text);\n\t\t\t\t\tjQuery(\"#\" + ufg_last_clicked_filter_id).html(ufg_btn_text); \/* set remove icon *\/\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\/* when transferring filter from level2 to level1 *\/\n\t\t\t\tif(ufg_current_clicked_filter_level === \"1evel1\") {\n\t\t\t\t\t\/* transfer last clicked parent filter id to current  *\/\n\t\t\t\t\tjQuery(\"#ufg_current_clicked_parent_filter_id\").val(id);\n\t\t\t\t\tjQuery(\"#ufg_last_clicked_parent_filter_id\").val(ufg_current_clicked_parent_filter_id);\n\t\t\t\t\t\n\t\t\t\t\t\/* remove check icon from last clicked filter button *\/\n\t\t\t\t\tufg_btn_text = jQuery(\"#\" + ufg_current_clicked_parent_filter_id).html(); \/* get html value *\/\n\t\t\t\t\t\/\/console.log(ufg_btn_text);\n\t\t\t\t\tufg_btn_text = ufg_btn_text.replace(' <i class=\"fas fa-check\"><\/i>', ''); \/* remove icon *\/\n\t\t\t\t\t\/\/console.log(ufg_btn_text);\n\t\t\t\t\tjQuery(\"#\" + ufg_current_clicked_parent_filter_id).html(ufg_btn_text); \/* set remove icon *\/\n\t\t\t\t\t\n\t\t\t\t\t\/* remove check icon from last clicked first filter button *\/\n\t\t\t\t\tufg_btn_text = jQuery(\"#\" + ufg_last_clicked_filter_id).html(); \/* get html value *\/\n\t\t\t\t\t\/\/console.log(ufg_btn_text);\n\t\t\t\t\tufg_btn_text = ufg_btn_text.replace(' <i class=\"fas fa-check\"><\/i>', ''); \/* remove icon *\/\n\t\t\t\t\t\/\/console.log(ufg_btn_text);\n\t\t\t\t\tjQuery(\"#\" + ufg_last_clicked_filter_id).html(ufg_btn_text); \/* set remove icon *\/\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t\/* add check icon on current clicked filter *\/\n\t\t\tufg_btn_text = jQuery(\"#\" + id).html(); \/* get html value *\/\n\t\t\t\/\/console.log(ufg_btn_text);\n\t\t\tjQuery(\"#\" + id).html(ufg_btn_text + ' <i class=\"fas fa-check\"><\/i>');\n\t\t\t\n\t\t\t\/* hide all level 2 button *\/\n\t\t\tif(ufg_current_clicked_filter_level != \"level2\"){ \/* display only level on filter accordingly parent filters clicked *\/\n\t\t\t\tjQuery('button.ufg-level-one-button').fadeOut(); \/\/hide all level 1 buttons *\/\n\t\t\t}\n\t\t\t\n\t\t\t\/\/filtering *\/\n\t\t\tif(value == \"all\") {\n\t\t\t\t\/* show all filters *\/\n\t\t\t\tjQuery('button.ufg-parent-filters ').fadeIn( \"slow\" ); \/\/display all filters *\/\n\t\t\t\t\n\t\t\t\t\/* show all images *\/\n\t\t\t\tjQuery('div#ufg-thumbnail').fadeIn( \"slow\" ); \/\/display all images *\/\n\t\t\t\t\n\t\t\t\t\/* lightbox - remove data attribute and dynamic add lightbox data-lightbox to anchor tag *\/\n\t\t\t\t\t\t\t\tjQuery('.ufg-lightbox').removeData();\n\t\t\t\tjQuery('.ufg-lightbox').attr('data-lightbox', 'ufg-lightbox'); \/* add data-lightbox for all images cycle in lightbox *\/\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\/* remove data-lightbox attribute from all ufg-thumbnail *\/\n\t\t\t\t\t\t\t\tjQuery('a.ufg-lightbox').removeAttr('data-lightbox');\n\t\t\t\t\t\t\t\t\n\t\t\t\t\/* show hide images *\/\n\t\t\t\tjQuery('div#ufg-thumbnail').fadeOut( \"slow\" ); \/\/hide all visible images *\/\n\t\t\t\tjQuery('div.' + value).fadeIn( \"slow\" ); \/\/display only clicked images \/\/and filters button *\/\n\t\t\t\tjQuery('button.' + value).fadeIn( \"slow\" ); \/\/display only clicked filters button and images *\/\n\t\t\t\t\n\t\t\t\t\/* dynamically add lightbox data-filter classes accordingly parent and sub filter clicked *\/\n\t\t\t\t\t\t\t\tvar lighbox_class_name = \"ufg-lightbox-\" + value;\n\t\t\t\tjQuery('.' + value ).attr('data-lightbox', lighbox_class_name); \/* add data filter for parent filters *\/\n\t\t\t\t\t\t\t}\n\t\t}\n\n\t\t\t\tjQuery(document).ready(function(){\n\t\t\tlightbox.option({\n\t\t\t\t'fadeDuration' : 600,\n\t\t\t\t'fitImagesInViewport' : true,\n\t\t\t\t'imageFadeDuration' : 600,\n\t\t\t\t'positionFromTop' : 50,\n\t\t\t\t'resizeDuration' : 700,\n\t\t\t\t'wrapAround': true,\n\t\t\t});\n\t\t});\n\t\t\t\t<\/script>\n\t\t\t\t<\/div>\n\t\t<!-- printing gallery end-->\n\t\t\n\t\t<style>\n\t\t.ufg-all-filter-button {\n\t\t\tcolor: #FFFFFF !important;\n\t\t\tbackground-color: #C82333 !important;\n\t\t\tborder-color: #C82333 !important;\n\t\t}\n\t\t.ufg-parent-filter-button {\n\t\t\tcolor: #FFFFFF !important;\n\t\t\tbackground-color: #007BFF !important;\n\t\t\tborder-color: #007BFF !important;\n\t\t}\n\t\t.ufg-level-one-button {\n\t\t\tcolor: #6C757D !important;\n\t\t\tbackground-color: #0069D9 !important;\n\t\t\tborder-color: #0069D9 !important;\n\t\t}\n\t\t.ufg-thumbnail-border {\n\t\t\t\t\t\tborder-radius: 0.25rem !important;\n\t\t}\n\t\t.ufg-image-title {\n\t\t\tfont-size: 45px !important;\n\t\t\tcolor: #FFFFFF !important;\n\t\t\tbackground-color: #000000 !important;\n\t\t}\n\t\t<\/style>\n\t\t\n","protected":false},"excerpt":{"rendered":"<p>Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":241,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-255","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bez-kategorii"],"_links":{"self":[{"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=\/wp\/v2\/posts\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255"}],"version-history":[{"count":2,"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":257,"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions\/257"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=\/wp\/v2\/media\/241"}],"wp:attachment":[{"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projekt3.sztukaprezentacji.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}