{"id":970,"date":"2012-12-12T19:34:11","date_gmt":"2012-12-12T18:34:11","guid":{"rendered":"http:\/\/www.beathis.ch\/cgi\/Wordpress\/?p=970"},"modified":"2012-12-12T20:44:42","modified_gmt":"2012-12-12T19:44:42","slug":"ausblenden-von-bestimmten-elementen","status":"publish","type":"post","link":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/?p=970","title":{"rendered":"WordPress \u201cTwenty Ten\u201d \u2013 Ausblenden von bestimmten Elementen"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:591,&quot;href&quot;:&quot;https:\\\/\\\/www.beathis.ch\\\/download\\\/wp_style_1.zip&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20260210040604\\\/https:\\\/\\\/www.beathis.ch\\\/download\\\/wp_style_1.zip&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p>Ich verwende das Design &#8222;Twenty Ten&#8220; in meinem WordPress-Blog und da ich diesen Blog rein statisch betreibe, wollte ich gewisse Elemente des Designs ausblenden.<\/p>\n<p>F\u00fcr diese Anpassungen bin ich wie folgt vorgegangen:<\/p>\n<ol>\n<li>Richtete ein sog. &#8222;child theme&#8220; ein (siehe <a title=\"hier\" href=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/?p=963\">hier<\/a>)<\/li>\n<li>Erg\u00e4nze in der Datei &#8222;style.css&#8220; im Verzeichnis &#8222;mytwentyten&#8220; den gew\u00fcnschten Code gem\u00e4ss der Auflistung am Ende dieses Artikels<\/li>\n<li>Kopiere die neue Datei &#8222;style.css&#8220; auf den FTP-Server<\/li>\n<\/ol>\n<p>Am Beispiel f\u00fcr das Ausblenden der Kategorien, Schlagworte und Lesezeichen unterhalb eines Artikels zeige ich das Vorgehen.<\/p>\n<p><a href=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/?attachment_id=973\" rel=\"attachment wp-att-973\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-973\" alt=\"WordPress Schlagworte\" src=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h18_16.png\" width=\"632\" height=\"53\" srcset=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h18_16.png 632w, https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h18_16-300x25.png 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/a><\/p>\n<p>Die Datei &#8222;style.css&#8220; wird mit folgendem Code erg\u00e4nzt:<\/p>\n<p><a href=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/?attachment_id=974\" rel=\"attachment wp-att-974\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-974\" alt=\"WordPress Schlagwort\" src=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h23_46.png\" width=\"391\" height=\"255\" srcset=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h23_46.png 391w, https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h23_46-300x195.png 300w\" sizes=\"auto, (max-width: 391px) 100vw, 391px\" \/><\/a><\/p>\n<p>Der Eintrag &#8222;.entry-utility&#8220; mit dem Parameter &#8222;display:none;&#8220; blendet den obigen Textblock aus.<\/p>\n<p>Nachstehend eine Auflistung von Elementen, die ich mit dieser Methode auf meinem Blog ausgeblendet habe:<\/p>\n<ul>\n<li>\u00a0Publikationsdatum mit Autor:<br \/>\n<a href=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/?attachment_id=977\" rel=\"attachment wp-att-977\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-977\" alt=\"WordPress\" src=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h29_29.png\" width=\"133\" height=\"59\" \/><\/a><\/li>\n<li>Kategorien, Schlagworte und Lesezeichen:<br \/>\n<a href=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/?attachment_id=978\" rel=\"attachment wp-att-978\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-978\" alt=\"WordPress\" src=\"https:\/\/www.beathis.ch\/cgi\/Wordpress\/wp-content\/uploads\/2012\/12\/2012-12-12_19h30_50.png\" width=\"133\" height=\"53\" \/><\/a><\/li>\n<\/ul>\n<p>Dieses Verfahren habe ich mit WordPress 3.5 angewendet. Download <a title=\"style.css\" href=\"https:\/\/www.beathis.ch\/download\/wp_style_1.zip\">style.css<\/a><\/p>\n<p>Stand: 12.12.2012<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich verwende das Design &#8222;Twenty Ten&#8220; in meinem WordPress-Blog und da ich diesen Blog rein statisch betreibe, wollte ich gewisse Elemente des Designs ausblenden. F\u00fcr diese Anpassungen bin ich wie folgt vorgegangen: Richtete ein sog. &#8222;child theme&#8220; ein (siehe hier) Erg\u00e4nze in der Datei &#8222;style.css&#8220; im Verzeichnis &#8222;mytwentyten&#8220; den gew\u00fcnschten[&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,41],"tags":[48,49,176,46,179,178,42],"class_list":["post-970","post","type-post","status-publish","format-standard","hentry","category-software","category-wordpress","tag-ausblenden","tag-autor","tag-design","tag-kommentar","tag-schlagwort","tag-theme","tag-wordpress-2"],"_links":{"self":[{"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=\/wp\/v2\/posts\/970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=970"}],"version-history":[{"count":7,"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=\/wp\/v2\/posts\/970\/revisions"}],"predecessor-version":[{"id":1003,"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=\/wp\/v2\/posts\/970\/revisions\/1003"}],"wp:attachment":[{"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beathis.ch\/cgi\/Wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}