{"id":182,"date":"2024-11-24T17:35:17","date_gmt":"2024-11-24T17:35:17","guid":{"rendered":"https:\/\/www.martinknut.com\/?page_id=182"},"modified":"2026-05-29T07:44:19","modified_gmt":"2026-05-29T07:44:19","slug":"vystavy","status":"publish","type":"page","link":"https:\/\/www.martinknut.com\/index.php\/vystavy\/","title":{"rendered":"V\u00fdstavy"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"182\" class=\"elementor elementor-182\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a6c4fe9 e-flex e-con-boxed e-con e-parent\" data-id=\"a6c4fe9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5f058f3 elementor-widget elementor-widget-html\" data-id=\"5f058f3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!DOCTYPE html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<style>\n body {\n     overflow-x: hidden;\n     background-color: #F9F9F9;\n }\n \n #heading {\n     display: flex; \n     height: 12vh; \n     width: 100vw; \n     justify-content: center;\n     padding-top: 5vh;\n }\n \n #back {\n    padding: 2rem;\n    position: absolute;\n }\n  #loading {\n      padding-top: 50px;\n    font-weight: 100;\n     opacity: 1;\n     align-self: center;\n     text-align: center;\n }\n \n #loading.loaded {\n     opacity: 0;\n }\n #vystavy{\n     display: flex;\n     align-items: center;\n     justify-content: center;\n     flex-direction: column;\n     text-align: center;    \n     opacity: 0;\n     transition: opacity 0.25s ease;\n }\n \n#vystavy.loaded {\n    opacity: 1;\n}\n \n \n  .banner{\n     margin-top: 50px;\n     display: flex;\n     flex-direction: column;\n     align-items: center;\n     text-align: center;\n     width: 250px;\n     height: 280px;\n     background-color: #F9F9F9;\n }\n \n .banner:hover .title{\n     text-decoration: underline;\n     color: #8D2C14;\n }\n \n.banner div{\n    text-align: left;\n    font-size: 18px;\n    line-height: 2;\n}\n \n .banner p{\n     text-align: center;\n     font-size: 14px; \n     line-height: 1.5; \n }\n .thumbnail{\n     width:150px;\n     height: 150px;\n     padding-bottom: 15px;\n }\n \n\n .thumbnail img{\n    object-fit: cover;\n     display: flex;\n     height: 100%;\n     width: 100%;\n }\n \n @media (max-width: 768px) {\n#banner {\n     margin-top: 30px;\n }\n    #heading {\n        display: flex; \n        height: 20vh; \n        width: 100vw; \n        justify-content: center;\n        padding-top: 12.5vh;\n    }\n    #back {\n        padding: 2rem;\n        position: absolute;\n    }\n}\n \n<\/style>\n<\/head>\n<body>\n    <div id=\"back\"> \n        <a href=\"https:\/\/www.martinknut.com\/\"><-- sp\u00e4\u0165<\/a>\n    <\/div>\n    <div id=\"heading\">\n        <p>Aktu\u00e1lne V\u00fdstavy <\/p>\n    <\/div>\n    <div id=\"vystavy\"><\/div>\n    <p id=loading>Na\u010d\u00edtavam ...<\/p>\n<script>\nasync function loadPosts() {\n\n    try {\n\n        const categoryResponse = await fetch(\n            '\/wp-json\/wp\/v2\/categories?slug=vystava'\n        );\n\n        const categories = await categoryResponse.json();\n\n        const categoryId = categories[0].id;\n\n        const postsResponse = await fetch(\n            `\/wp-json\/wp\/v2\/posts?_embed&categories=${categoryId}&per_page=100`\n        );\n\n        const posts = await postsResponse.json();\n\n        console.log(posts);\n\n        let html = '';\n\n        posts.forEach(post => {\n\n            let image = '';\n\n            if (\n                post._embedded &&\n                post._embedded['wp:featuredmedia']\n            ) {\n\n                image =\n                    post._embedded['wp:featuredmedia'][0].source_url;\n\n            }\n\n            html += `\n <a href=\"${post.link}\" style=\"text-decoration: none; color: inherit;\">\n    <div class=\"banner\">\n        <div class=\"thumbnail\">\n            ${\n                image\n                ? `<img decoding=\"async\" loading=\"lazy\" src=\"${image}\" alt=\"\">`\n                : ''\n            }\n        <\/div>\n        <div>\n            <p class=\"title\" style=\"font-size: 18px; padding-top: 0px; text-transform: uppercase;\">${post.title.rendered}<\/p>\n            <div style=\"padding-top: 0;\"> ${post.excerpt.rendered}<\/div>\n        <\/div>\n    <\/div>\n<\/a>\n`;\n\n        });\n\n        document.getElementById('vystavy').innerHTML = html;\n\n        document\n            .getElementById('vystavy')\n            .classList.add('loaded');\n\n        document\n            .getElementById('loading')\n            .classList.add('loaded');\n\n    } catch(error) {\n\n        console.error(error);\n\n\n    }\n\n}\n\nloadPosts();\n<\/script>\n<\/body>\n<\/html>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-182","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>V\u00fdstavy - Martin Knut<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.martinknut.com\/index.php\/vystavy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"V\u00fdstavy - Martin Knut\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.martinknut.com\/index.php\/vystavy\/\" \/>\n<meta property=\"og:site_name\" content=\"Martin Knut\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/martin.knut.37\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-29T07:44:19+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/index.php\\\/vystavy\\\/\",\"url\":\"https:\\\/\\\/www.martinknut.com\\\/index.php\\\/vystavy\\\/\",\"name\":\"V\u00fdstavy - Martin Knut\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/#website\"},\"datePublished\":\"2024-11-24T17:35:17+00:00\",\"dateModified\":\"2026-05-29T07:44:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/index.php\\\/vystavy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.martinknut.com\\\/index.php\\\/vystavy\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/index.php\\\/vystavy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.martinknut.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"V\u00fdstavy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/#website\",\"url\":\"https:\\\/\\\/www.martinknut.com\\\/\",\"name\":\"Martin Knut\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/#\\\/schema\\\/person\\\/150552b2a601b8402fa7406f7a564fa5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.martinknut.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/#\\\/schema\\\/person\\\/150552b2a601b8402fa7406f7a564fa5\",\"name\":\"Martin Knut\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Nepojmenovana1-1.webp\",\"url\":\"https:\\\/\\\/www.martinknut.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Nepojmenovana1-1.webp\",\"contentUrl\":\"https:\\\/\\\/www.martinknut.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Nepojmenovana1-1.webp\",\"width\":678,\"height\":678,\"caption\":\"Martin Knut\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.martinknut.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Nepojmenovana1-1.webp\"},\"sameAs\":[\"https:\\\/\\\/www.martinknut.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/martin.knut.37\\\/\",\"https:\\\/\\\/www.instagram.com\\\/martin.knut64\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"V\u00fdstavy - Martin Knut","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.martinknut.com\/index.php\/vystavy\/","og_locale":"en_US","og_type":"article","og_title":"V\u00fdstavy - Martin Knut","og_url":"https:\/\/www.martinknut.com\/index.php\/vystavy\/","og_site_name":"Martin Knut","article_publisher":"https:\/\/www.facebook.com\/martin.knut.37\/","article_modified_time":"2026-05-29T07:44:19+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.martinknut.com\/index.php\/vystavy\/","url":"https:\/\/www.martinknut.com\/index.php\/vystavy\/","name":"V\u00fdstavy - Martin Knut","isPartOf":{"@id":"https:\/\/www.martinknut.com\/#website"},"datePublished":"2024-11-24T17:35:17+00:00","dateModified":"2026-05-29T07:44:19+00:00","breadcrumb":{"@id":"https:\/\/www.martinknut.com\/index.php\/vystavy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.martinknut.com\/index.php\/vystavy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.martinknut.com\/index.php\/vystavy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.martinknut.com\/"},{"@type":"ListItem","position":2,"name":"V\u00fdstavy"}]},{"@type":"WebSite","@id":"https:\/\/www.martinknut.com\/#website","url":"https:\/\/www.martinknut.com\/","name":"Martin Knut","description":"","publisher":{"@id":"https:\/\/www.martinknut.com\/#\/schema\/person\/150552b2a601b8402fa7406f7a564fa5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.martinknut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.martinknut.com\/#\/schema\/person\/150552b2a601b8402fa7406f7a564fa5","name":"Martin Knut","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.martinknut.com\/wp-content\/uploads\/2024\/11\/Nepojmenovana1-1.webp","url":"https:\/\/www.martinknut.com\/wp-content\/uploads\/2024\/11\/Nepojmenovana1-1.webp","contentUrl":"https:\/\/www.martinknut.com\/wp-content\/uploads\/2024\/11\/Nepojmenovana1-1.webp","width":678,"height":678,"caption":"Martin Knut"},"logo":{"@id":"https:\/\/www.martinknut.com\/wp-content\/uploads\/2024\/11\/Nepojmenovana1-1.webp"},"sameAs":["https:\/\/www.martinknut.com\/","https:\/\/www.facebook.com\/martin.knut.37\/","https:\/\/www.instagram.com\/martin.knut64\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/pages\/182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":95,"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/pages\/182\/revisions"}],"predecessor-version":[{"id":6043,"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/pages\/182\/revisions\/6043"}],"wp:attachment":[{"href":"https:\/\/www.martinknut.com\/index.php\/wp-json\/wp\/v2\/media?parent=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}