{"id":12646,"date":"2016-02-24T07:30:04","date_gmt":"2016-02-24T06:30:04","guid":{"rendered":"http:\/\/guy.pastre.org\/?p=12646"},"modified":"2016-09-18T21:10:21","modified_gmt":"2016-09-18T20:10:21","slug":"re-activer-le-gestionnaire-de-liens-blogroll-de-wordpress","status":"publish","type":"post","link":"https:\/\/guy.pastre.org\/?p=12646","title":{"rendered":"R\u00c3\u00a9-activer le gestionnaire de liens (blogroll) de WordPress"},"content":{"rendered":"<p><a href=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2011\/01\/wordpress.gif\" rel=\"attachment wp-att-2553\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-2553\" src=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2011\/01\/wordpress-150x150.gif\" alt=\"wordpress\" width=\"100\" height=\"100\" \/><\/a>Toujours branch\u00c3\u00a9 en mode WordPress, j&rsquo;ai d\u00c3\u00a9couvert, \u00c3\u00a0 l&rsquo;occasion de l&rsquo;installation de mon multi-blogs tout neuf, que le gestionnaire de liens r\u00c3\u00a9pondait aux abonn\u00c3\u00a9s absents.<\/p>\n<p>Apr\u00c3\u00a8s une rapide enqu\u00c3\u00aate sur la toile, je me suis aper\u00c3\u00a7u qu&rsquo;il avait <strong>disparu \u00c3\u00a0 partir de la version 3.5<\/strong>. (honte \u00c3\u00a0 moi!).<br \/>\nPar contre, ceux qui comme moi vont de mise \u00c3\u00a0 jour en mise \u00c3\u00a0 jour (en ayant des liens actifs), n&rsquo;ont pas \u00c3\u00a9t\u00c3\u00a9 confront\u00c3\u00a9s \u00c3\u00a0 cette disparition&#8230;<a href=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2016\/02\/LiensWP2.png\" rel=\"attachment wp-att-12653\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-12653 size-full\" src=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2016\/02\/LiensWP2.png\" alt=\"LiensWP2\" width=\"151\" height=\"142\" \/><\/a><\/p>\n<p>Donc pour rem\u00c3\u00a9dier \u00c3\u00a0 ce petit d\u00c3\u00a9sagr\u00c3\u00a9ment, il va falloir faire une petite incursion dans \u00ab\u00a0le code\u00a0\u00bb de votre th\u00c3\u00a8me, mais rien de bien compliqu\u00c3\u00a9.<\/p>\n<p>1\u00c2\u00b0 ) <strong>Editer le fichier functions.php <\/strong>de votre th\u00c3\u00a8me.<\/p>\n<p>Pour ce faire :<\/p>\n<ul>\n<li>Aller dans la rubrique \u00ab\u00a0Apparence\/\u00c3\u2030diteur\u00a0\u00bb ,<\/li>\n<li>Dans l&rsquo;\u00c3\u00a9diteur de th\u00c3\u00a8me qui s&rsquo;est ouvert, choisissez\u00c2\u00a0 le nom de votre th\u00c3\u00a8me dans la liste d\u00c3\u00a9roulante (en haut \u00c3\u00a0 droite)<\/li>\n<li>Dans la liste des dossiers qui s&rsquo;affiche, s\u00c3\u00a9lectionnez le fichier \u00ab\u00a0<em>Fonctions\u00c2\u00a0 du th\u00c3\u00a8me\u00a0\u00bb<\/em> (functions.php) qui s&rsquo;ouvre dans l&rsquo;\u00c3\u00a9diteur.<\/li>\n<\/ul>\n<p>2\u00c2\u00b0)\u00c2\u00a0<strong> R\u00c3\u00a9cup\u00c3\u00a9rer le bout de code suivant<\/strong> :<\/p>\n<pre><span class=\"php-t_string\">add_filter<\/span><span class=\"php-punctuation\">( <\/span><span class=\"php-string-single-quoted\">'pre_option_link_manager_enabled'<\/span><span class=\"php-punctuation\">, <\/span><span class=\"php-string-single-quoted\">'__return_true' <\/span><span class=\"php-punctuation\">)<\/span><span class=\"php-punctuation\">;<\/span><\/pre>\n<p>3\u00c2\u00b0)\u00c2\u00a0 <strong>Le coller au tout d\u00c3\u00a9but du fichier<\/strong>\u00c2\u00a0 et enregistrer la modification<\/p>\n<p><a href=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2016\/02\/Modifth\u00c3\u00a9me.png\" rel=\"attachment wp-att-12650\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12650\" src=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2016\/02\/Modifth\u00c3\u00a9me.png\" alt=\"Modifth\u00c3\u00a9me\" width=\"547\" height=\"301\" \/><\/a><\/p>\n<p>4\u00c2\u00b0) <strong>La rubrique <em>\u00ab\u00a0Liens\u00a0\u00bb<\/em> refait son apparition<\/strong>, accompagn\u00c3\u00a9e de son widget bien \u00c3\u00a9videment !<\/p>\n<p><a href=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2016\/02\/LiensWP1.png\" rel=\"attachment wp-att-12652\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12652 size-full aligncenter\" src=\"http:\/\/guy.pastre.org\/wp-content\/uploads\/2016\/02\/LiensWP1.png\" alt=\"LiensWP1\" width=\"157\" height=\"207\" \/><\/a><\/p>\n<p>En conclusion je dirais attention lorsque vous faites les mises \u00c3\u00a0 jours de votre th\u00c3\u00a9me&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Toujours branch\u00c3\u00a9 en mode WordPress, j&rsquo;ai d\u00c3\u00a9couvert, \u00c3\u00a0 l&rsquo;occasion de l&rsquo;installation de mon multi-blogs tout neuf, que le gestionnaire de liens r\u00c3\u00a9pondait aux abonn\u00c3\u00a9s absents. Apr\u00c3\u00a8s une rapide enqu\u00c3\u00aate sur la toile, je me&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":12888,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,5],"tags":[24,62,74,56],"class_list":["post-12646","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-le-monde-du-libre","category-trucs-et-autres","tag-logiciels-libres","tag-outils-web","tag-tutoriels","tag-wordpress"],"jetpack_featured_media_url":"https:\/\/guy.pastre.org\/wp-content\/uploads\/2016\/09\/wordpress.jpg","_links":{"self":[{"href":"https:\/\/guy.pastre.org\/index.php?rest_route=\/wp\/v2\/posts\/12646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guy.pastre.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guy.pastre.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guy.pastre.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/guy.pastre.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12646"}],"version-history":[{"count":10,"href":"https:\/\/guy.pastre.org\/index.php?rest_route=\/wp\/v2\/posts\/12646\/revisions"}],"predecessor-version":[{"id":12659,"href":"https:\/\/guy.pastre.org\/index.php?rest_route=\/wp\/v2\/posts\/12646\/revisions\/12659"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/guy.pastre.org\/index.php?rest_route=\/wp\/v2\/media\/12888"}],"wp:attachment":[{"href":"https:\/\/guy.pastre.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guy.pastre.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guy.pastre.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}