{"id":373,"date":"2023-01-12T12:57:59","date_gmt":"2023-01-12T11:57:59","guid":{"rendered":"https:\/\/hoyre.no\/dokumentasjon\/?post_type=teft-wiki&#038;p=373"},"modified":"2023-01-12T12:58:00","modified_gmt":"2023-01-12T11:58:00","slug":"downloads","status":"publish","type":"teft-wiki","link":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/","title":{"rendered":"Downloads"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Setting up<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Create categories<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Visit the <a href=\"https:\/\/hoyre.no\/wp-admin\/edit-tags.php?taxonomy=download-category&amp;post_type=hoyre-download\" target=\"_blank\" rel=\"noreferrer noopener\">Downloads > Categories page<\/a> in the backend. From there, you can add or edit categories to be used by Downloads items.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1382\" height=\"712\" src=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories.jpg\" alt=\"\" class=\"wp-image-375\" srcset=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories.jpg 1382w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories-300x155.jpg 300w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories-1024x528.jpg 1024w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories-768x396.jpg 768w\" sizes=\"auto, (max-width: 1382px) 100vw, 1382px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Create topics<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Visit the <a href=\"https:\/\/hoyre.no\/wp-admin\/edit-tags.php?taxonomy=download-topic&amp;post_type=hoyre-download\" target=\"_blank\" rel=\"noreferrer noopener\">Downloads > Topics page<\/a> in the backend. From there, you can add or edit topics to be used by Downloads items.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1391\" height=\"706\" src=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-topics.jpg\" alt=\"\" class=\"wp-image-376\" srcset=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-topics.jpg 1391w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-topics-300x152.jpg 300w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-topics-1024x520.jpg 1024w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-topics-768x390.jpg 768w\" sizes=\"auto, (max-width: 1391px) 100vw, 1391px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Adding new Downloads<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Head to the <a href=\"https:\/\/hoyre.no\/wp-admin\/edit.php?post_type=hoyre-download\" target=\"_blank\" rel=\"noreferrer noopener\">Downloads > Add New page<\/a> in the backend. From there, you&#8217;ll be able to enter the Download item title, description, and file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the right side, make sure to select at least one category and topic, so that users can find this Download item using filters.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1389\" height=\"889\" src=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-creation.jpg\" alt=\"\" class=\"wp-image-378\" srcset=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-creation.jpg 1389w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-creation-300x192.jpg 300w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-creation-1024x655.jpg 1024w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-creation-768x492.jpg 768w\" sizes=\"auto, (max-width: 1389px) 100vw, 1389px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Displaying Downloads on the frontend<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the content editor of any page or article, add the <em>Filterable list of downloads<\/em> block to insert the Downloads widget (with filters, search field, and paginated list of results).<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1233\" height=\"823\" src=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-block.jpg\" alt=\"\" class=\"wp-image-381\" srcset=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-block.jpg 1233w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-block-300x200.jpg 300w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-block-1024x683.jpg 1024w, https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-block-768x513.jpg 768w\" sizes=\"auto, (max-width: 1233px) 100vw, 1233px\" \/><\/figure>\n","protected":false},"parent":0,"menu_order":0,"template":"","meta":{"teft_cards_image_url":"","teft_cards_custom_pretitle":"","teft_cards_image_id":0,"teft_cards_image_focal_point_x":0,"teft_cards_image_focal_point_y":0,"teft_cards_title":"","teft_cards_excerpt":"","teft_show_chapters":false,"footnotes":""},"teft-wiki-topic":[5],"teft-wiki-audience":[],"class_list":["post-373","teft-wiki","type-teft-wiki","status-publish","hentry","teft-wiki-topic-post-types"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Downloads - Dokumentasjon<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"nb_NO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Downloads - Dokumentasjon\" \/>\n<meta property=\"og:description\" content=\"Setting up Create categories Visit the Downloads &gt; Categories page in the backend. From there, you can add or edit [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/\" \/>\n<meta property=\"og:site_name\" content=\"Dokumentasjon\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-12T11:58:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ansl. lesetid\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki\\\/downloads\\\/\",\"url\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki\\\/downloads\\\/\",\"name\":\"Downloads - Dokumentasjon\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/#website\"},\"image\":{\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki\\\/downloads\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hoyre.no\\\/content\\\/uploads\\\/sites\\\/2\\\/2023\\\/01\\\/downloads-categories.jpg\",\"datePublished\":\"2023-01-12T11:57:59+00:00\",\"dateModified\":\"2023-01-12T11:58:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki\\\/downloads\\\/#breadcrumb\"},\"inLanguage\":\"nb-NO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki\\\/downloads\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nb-NO\",\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki\\\/downloads\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hoyre.no\\\/content\\\/uploads\\\/sites\\\/2\\\/2023\\\/01\\\/downloads-categories.jpg\",\"contentUrl\":\"https:\\\/\\\/hoyre.no\\\/content\\\/uploads\\\/sites\\\/2\\\/2023\\\/01\\\/downloads-categories.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki\\\/downloads\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Til hoyre.no\",\"item\":\"https:\\\/\\\/hoyre.no\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Post types\",\"item\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/wiki-topic\\\/post-types\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Downloads\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/#website\",\"url\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/\",\"name\":\"Dokumentasjon\",\"description\":\"Bare enda et H\u00f8yres nettsteder-nettsted\",\"publisher\":{\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/#organization\"},\"inLanguage\":\"nb-NO\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/#organization\",\"name\":\"Dokumentasjon\",\"url\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nb-NO\",\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hoyre.no\\\/content\\\/uploads\\\/sites\\\/2\\\/2020\\\/07\\\/dokumentasjon-logo.svg\",\"contentUrl\":\"https:\\\/\\\/hoyre.no\\\/content\\\/uploads\\\/sites\\\/2\\\/2020\\\/07\\\/dokumentasjon-logo.svg\",\"width\":821,\"height\":216,\"caption\":\"Dokumentasjon\"},\"image\":{\"@id\":\"https:\\\/\\\/hoyre.no\\\/dokumentasjon\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Downloads - Dokumentasjon","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"nb_NO","og_type":"article","og_title":"Downloads - Dokumentasjon","og_description":"Setting up Create categories Visit the Downloads > Categories page in the backend. From there, you can add or edit [&hellip;]","og_url":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/","og_site_name":"Dokumentasjon","article_modified_time":"2023-01-12T11:58:00+00:00","og_image":[{"url":"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Ansl. lesetid":"2 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/","url":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/","name":"Downloads - Dokumentasjon","isPartOf":{"@id":"https:\/\/hoyre.no\/dokumentasjon\/#website"},"image":{"@id":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/#primaryimage"},"thumbnailUrl":"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories.jpg","datePublished":"2023-01-12T11:57:59+00:00","dateModified":"2023-01-12T11:58:00+00:00","breadcrumb":{"@id":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/#breadcrumb"},"inLanguage":"nb-NO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/"]}]},{"@type":"ImageObject","inLanguage":"nb-NO","@id":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/#primaryimage","url":"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories.jpg","contentUrl":"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2023\/01\/downloads-categories.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/hoyre.no\/dokumentasjon\/wiki\/downloads\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Til hoyre.no","item":"https:\/\/hoyre.no"},{"@type":"ListItem","position":2,"name":"Home","item":"https:\/\/hoyre.no\/dokumentasjon\/"},{"@type":"ListItem","position":3,"name":"Post types","item":"https:\/\/hoyre.no\/dokumentasjon\/wiki-topic\/post-types\/"},{"@type":"ListItem","position":4,"name":"Downloads"}]},{"@type":"WebSite","@id":"https:\/\/hoyre.no\/dokumentasjon\/#website","url":"https:\/\/hoyre.no\/dokumentasjon\/","name":"Dokumentasjon","description":"Bare enda et H\u00f8yres nettsteder-nettsted","publisher":{"@id":"https:\/\/hoyre.no\/dokumentasjon\/#organization"},"inLanguage":"nb-NO"},{"@type":"Organization","@id":"https:\/\/hoyre.no\/dokumentasjon\/#organization","name":"Dokumentasjon","url":"https:\/\/hoyre.no\/dokumentasjon\/","logo":{"@type":"ImageObject","inLanguage":"nb-NO","@id":"https:\/\/hoyre.no\/dokumentasjon\/#\/schema\/logo\/image\/","url":"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2020\/07\/dokumentasjon-logo.svg","contentUrl":"https:\/\/hoyre.no\/content\/uploads\/sites\/2\/2020\/07\/dokumentasjon-logo.svg","width":821,"height":216,"caption":"Dokumentasjon"},"image":{"@id":"https:\/\/hoyre.no\/dokumentasjon\/#\/schema\/logo\/image\/"}}]}},"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Dokumentasjon","distributor_original_site_url":"https:\/\/hoyre.no\/dokumentasjon","push-errors":false,"_links":{"self":[{"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/teft-wiki\/373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/teft-wiki"}],"about":[{"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/types\/teft-wiki"}],"version-history":[{"count":5,"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/teft-wiki\/373\/revisions"}],"predecessor-version":[{"id":396,"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/teft-wiki\/373\/revisions\/396"}],"wp:attachment":[{"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"teft-wiki-topic","embeddable":true,"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/teft-wiki-topic?post=373"},{"taxonomy":"teft-wiki-audience","embeddable":true,"href":"https:\/\/hoyre.no\/dokumentasjon\/wp-json\/wp\/v2\/teft-wiki-audience?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}