<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Archives des php.ini - La programmation sur le web</title>
	<atom:link href="https://programmation.surleweb-france.fr/tag/php-ini/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmation.surleweb-france.fr/tag/php-ini/</link>
	<description>La programmation gratuite pour tous</description>
	<lastBuildDate>Sat, 05 Mar 2022 17:13:43 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2023/08/cropped-19518430-icone-de-programmation-pour-votre-site-web-mobile-presentation-et-conception-de-logo-gratuit-vectoriel.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>Archives des php.ini - La programmation sur le web</title>
	<link>https://programmation.surleweb-france.fr/tag/php-ini/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">176210735</site>	<item>
		<title>WordPress, thème par défaut absent</title>
		<link>https://programmation.surleweb-france.fr/wordpress-theme-par-defaut-absent/</link>
					<comments>https://programmation.surleweb-france.fr/wordpress-theme-par-defaut-absent/#respond</comments>
		
		<dc:creator><![CDATA[Zigomato]]></dc:creator>
		<pubDate>Thu, 30 Apr 2020 22:04:21 +0000</pubDate>
				<category><![CDATA[Développement Web]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[absent]]></category>
		<category><![CDATA[défaut]]></category>
		<category><![CDATA[multi-site]]></category>
		<category><![CDATA[outils]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[santé]]></category>
		<category><![CDATA[thème]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://programmation.surleweb-france.fr/?p=62</guid>

					<description><![CDATA[<p>La mise en place du thème par défaut de WordPress n'est qu'une recommandation mais l’apparition d'une recommandation est toujours bonne à suivre.</p>
<p class="continue-reading-button"> <a class="continue-reading-link" href="https://programmation.surleweb-france.fr/wordpress-theme-par-defaut-absent/">Continuer la lecture<i class="crycon-right-dir"></i></a></p>
<p>L’article <a href="https://programmation.surleweb-france.fr/wordpress-theme-par-defaut-absent/">WordPress, thème par défaut absent</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Si tu as un site sous <a href="https://fr.wordpress.org/">WordPress</a>, tu as dû voir apparaître depuis la mise à jour 5.2, un petit encart indiquant l&rsquo;état de santé du site :</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="565" height="173" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/wordpress-ecran-de-sante.png?resize=565%2C173&#038;ssl=1" alt="Wordpress, écran de santé du site" class="wp-image-477" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/wordpress-ecran-de-sante.png?w=565&amp;ssl=1 565w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/wordpress-ecran-de-sante.png?resize=300%2C92&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/wordpress-ecran-de-sante.png?resize=150%2C46&amp;ssl=1 150w" sizes="(max-width: 565px) 100vw, 565px" /><figcaption>WordPress, écran de santé du site</figcaption></figure></div>



<p>Obtenir un score à « good » est toujours une bonne chose quant au fonctionnement optimal de son site.</p>



<p>Il s&rsquo;agit parfois de conseils importants ou simplement de recommandations.</p>



<p>J&rsquo;ai eu lors de la réinstallation du serveur, le message m&rsquo;indiquant que je n&rsquo;avais pas de thème par défaut.</p>



<h2 class="wp-block-heading">Correction du défaut</h2>



<p>Tout d&rsquo;abord, il ne s&rsquo;agit pas réellement d&rsquo;un défaut, mais si comme moi, tu n&rsquo;aimes pas voir apparaître des recommandations, voici comment t&rsquo;y prendre. Il s&rsquo;agit d&rsquo;une astuce concernant la gestion multi-site de WordPress.</p>



<p>Dans le fichier  « <em><strong>wp-config.php</strong></em>&lsquo;, ajoute cette ligne :</p>



<pre class="EnlighterJSRAW" data-enlighter-language="php" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">/** 
     *Thème par défaut de WordPress MU * 
*/ 
define('WP_DEFAULT_THEME', 'nom_du_theme');</pre>



<p>Remplaces le nom du thème par le nom du dossier contenant le thème concerné. Sauvegardes. </p>



<p>Lorsque tu rafraîchis l&rsquo;outils, la ligne aura disparu.</p>



<p class="has-small-font-size">L&rsquo;astuce a été vu sur <a href="https://wpchannel.com/wordpress/tutoriels-wordpress/theme-defaut-wordpress-multisite/">wpchannel.com</a>.</p>
<p>L’article <a href="https://programmation.surleweb-france.fr/wordpress-theme-par-defaut-absent/">WordPress, thème par défaut absent</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://programmation.surleweb-france.fr/wordpress-theme-par-defaut-absent/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">62</post-id>	</item>
	</channel>
</rss>
