<?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/"
	>

<channel>
	<title>Astuces WordPress &#8211; La boite à outils d&#039;emandarine</title>
	<atom:link href="https://blog.emandarine.net/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.emandarine.net</link>
	<description>Agence de création web et marketing digital</description>
	<lastBuildDate>Thu, 30 May 2024 13:49:35 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.4</generator>
	<item>
		<title>Récupérer son mot de passe wordpress</title>
		<link>https://blog.emandarine.net/wordpress/recuperer-son-mot-de-passe-wordpress/</link>
					<comments>https://blog.emandarine.net/wordpress/recuperer-son-mot-de-passe-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 30 May 2024 13:18:56 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Outils basiques Wordpress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=10363</guid>

					<description><![CDATA[en passant par la base de données. Parce que des fois cela ne fonctionne pas comme cela devrait et que vous voulez changer ou garder...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/recuperer-son-mot-de-passe-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Supprimer l&#8217;ajout automatique de liste sur les widget de wordpress [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/supprimer-lajout-automatique-de-liste-sur-les-widget-de-wordpress-functions-php/</link>
					<comments>https://blog.emandarine.net/wordpress/supprimer-lajout-automatique-de-liste-sur-les-widget-de-wordpress-functions-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Fri, 20 Jan 2023 12:43:03 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=6044</guid>

					<description><![CDATA[Par défaut, wordpress rajoute des puces lors de l&#8217;affichage des widgets. Il est bien sûr possible de supprimer l&#8217;affichage des puces mais on peut aussi...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/supprimer-lajout-automatique-de-liste-sur-les-widget-de-wordpress-functions-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Supprimer le style inline imposé par WordPress [functions]</title>
		<link>https://blog.emandarine.net/wordpress/supprimer-le-style-inline-impose-par-wordpress-functions/</link>
					<comments>https://blog.emandarine.net/wordpress/supprimer-le-style-inline-impose-par-wordpress-functions/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 19 May 2022 09:10:03 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=6007</guid>

					<description><![CDATA[WordPress nous impose une horrible tartine de style inline (pour Gutenberg). Pour ceux qui, comme nous, optimisent leur CSS et évitent de mettre leur style...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/supprimer-le-style-inline-impose-par-wordpress-functions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Afficher et obtenir un permalien « SEO » d&#8217;une publication « future » sur wordpress [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/afficher-et-obtenir-un-permalien-seo-dune-publication-future-sur-wordpress-functions-php/</link>
					<comments>https://blog.emandarine.net/wordpress/afficher-et-obtenir-un-permalien-seo-dune-publication-future-sur-wordpress-functions-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Tue, 21 Sep 2021 09:51:52 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5784</guid>

					<description><![CDATA[Pour diverses raisons vous pourriez avoir besoin de ce bout de code. Nous nous en servons particulièrement quand nous voulons afficher des actualités par date...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/afficher-et-obtenir-un-permalien-seo-dune-publication-future-sur-wordpress-functions-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Rediriger les nouveaux membres sur une autre page WordPress [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/rediriger-les-nouveaux-membres-sur-une-autre-page-wordpress-functions-php/</link>
					<comments>https://blog.emandarine.net/wordpress/rediriger-les-nouveaux-membres-sur-une-autre-page-wordpress-functions-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 08:20:31 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Rôles sur Wordpress et/ou WooCommerce]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5768</guid>

					<description><![CDATA[Utile lorsque vous voulez ajouter des informations. Ce snippet permet de rediriger les nouveaux membres vers une page spécifique (ici appelé « nouveau-membre). functions.php &#60;?php function...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/rediriger-les-nouveaux-membres-sur-une-autre-page-wordpress-functions-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Autoriser les SVG sur WordPress [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/autoriser-les-svg-sur-wordpress-functions-php/</link>
					<comments>https://blog.emandarine.net/wordpress/autoriser-les-svg-sur-wordpress-functions-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 08:15:45 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Images et média]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5765</guid>

					<description><![CDATA[Par défaut WordPress n&#8217;autorise pas les SVG en téléchargement sur les Médias. Pour des raisons de sécurité. Seuls les administrateurs pourront le faire (faites attention...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/autoriser-les-svg-sur-wordpress-functions-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Changer le texte « lire plus » sur WordPress</title>
		<link>https://blog.emandarine.net/wordpress/changer-le-texte-lire-plus-sur-wordpress/</link>
					<comments>https://blog.emandarine.net/wordpress/changer-le-texte-lire-plus-sur-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 08:11:11 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5763</guid>

					<description><![CDATA[Nous avions remarqué que « lire » et « plus » rentré parfois parmi les termes les plus utilisés de la page d&#8217;accueil quand celle-ci comportait un blog d&#8217;actualité....]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/changer-le-texte-lire-plus-sur-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Changer quotidiennement la description de votre site WordPress  [functions]</title>
		<link>https://blog.emandarine.net/wordpress/changer-quotidiennement-la-description-de-votre-site-wordpress-functions/</link>
					<comments>https://blog.emandarine.net/wordpress/changer-quotidiennement-la-description-de-votre-site-wordpress-functions/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 07:50:45 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5760</guid>

					<description><![CDATA[Ce petit code, vous permettra de changer quotidiennement la description de votre page d&#8217;accueil. Nous ne savons pas vraiment si cette fonction apportera plus de...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/changer-quotidiennement-la-description-de-votre-site-wordpress-functions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fenêtre pop-up &#038; actualité sticky [PHP + JS + CSS]</title>
		<link>https://blog.emandarine.net/wordpress/fenetre-pop-up-sticky-php-js-css/</link>
					<comments>https://blog.emandarine.net/wordpress/fenetre-pop-up-sticky-php-js-css/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 20 May 2021 12:54:01 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5712</guid>

					<description><![CDATA[Permet de mettre en avant une actualité qui s&#8217;affichera sur la première page dans une fenêtre pop-up de Bulma (s&#8217;ouvre au bout de 5 secondes...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/fenetre-pop-up-sticky-php-js-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Carrousel produits mis en avant Woocommerce (Slick/Bulma) [PHP + JS + CSS]</title>
		<link>https://blog.emandarine.net/wordpress/carrousel-produits-mis-en-avant-woocommerce-slick-bulma-php-js-css/</link>
					<comments>https://blog.emandarine.net/wordpress/carrousel-produits-mis-en-avant-woocommerce-slick-bulma-php-js-css/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 15:06:32 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5661</guid>

					<description><![CDATA[Petite astuce pour afficher sous forme de carrousel les produits mis en avant. Fonctionne avec Slick carrousel et le CSS Bulma. PHP (dans votre thème)...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/carrousel-produits-mis-en-avant-woocommerce-slick-bulma-php-js-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Afficher la liste des sous-catégories d&#8217;un catégorie wordpress  [PHP]</title>
		<link>https://blog.emandarine.net/wordpress/afficher-la-liste-des-sous-categories-dun-categorie-wordpress-php/</link>
					<comments>https://blog.emandarine.net/wordpress/afficher-la-liste-des-sous-categories-dun-categorie-wordpress-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 18 Feb 2021 14:38:55 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5353</guid>

					<description><![CDATA[Utile quand on en a besoin. Et ennuyeux quand on ne trouve pas. PHP (274 étant l&#8217;ID de la catégorie &#8211; A changer selon vos...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/afficher-la-liste-des-sous-categories-dun-categorie-wordpress-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Articles connexes [PHP]</title>
		<link>https://blog.emandarine.net/wordpress/articles-connexes-php/</link>
					<comments>https://blog.emandarine.net/wordpress/articles-connexes-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 17 Dec 2020 10:27:46 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=5007</guid>

					<description><![CDATA[Il est parfois intéressant de proposer à ses visiteurs des articles en relation avec celui qu&#8217;ils sont en train de lire. Pas besoin de plugin...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/articles-connexes-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Création d&#8217;un rôle et des prix &#038; promos spécifiques  « Client professionnel » dans Woocommerce WordPress [function + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/creation-dun-role-et-des-prix-customer-professionnel-dans-woocommerce-wordpress-function-php/</link>
					<comments>https://blog.emandarine.net/wordpress/creation-dun-role-et-des-prix-customer-professionnel-dans-woocommerce-wordpress-function-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Mon, 29 Jun 2020 15:02:32 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Rôles sur Wordpress et/ou WooCommerce]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4290</guid>

					<description><![CDATA[Ici, le code vous permet de donner un accès aux prix « professionnels » et prix « promotion pour professionnel » pour des articles mis en vente pour des...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/creation-dun-role-et-des-prix-customer-professionnel-dans-woocommerce-wordpress-function-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Donner l&#8217;autorisation aux éditeurs la gestion des widget et/ou des menus [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/donner-lautorisation-aux-editeurs-la-gestion-des-widget-et-ou-des-menus-function-php/</link>
					<comments>https://blog.emandarine.net/wordpress/donner-lautorisation-aux-editeurs-la-gestion-des-widget-et-ou-des-menus-function-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Mon, 29 Jun 2020 14:35:53 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Rôles sur Wordpress et/ou WooCommerce]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4286</guid>

					<description><![CDATA[Il arrive que nous ayons besoin de donner des droits sur les widgets et/ou sur les menus. Ce petit code vous permet de donner la...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/donner-lautorisation-aux-editeurs-la-gestion-des-widget-et-ou-des-menus-function-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fil d&#8217;Ariane (Breadcrumb) compatible avec Custom Post Type sous WordPress [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/fil-dariane-breadcrumb-compatible-avec-custom-post-type-sous-wordpress-function-php/</link>
					<comments>https://blog.emandarine.net/wordpress/fil-dariane-breadcrumb-compatible-avec-custom-post-type-sous-wordpress-function-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 11 Jun 2020 09:57:34 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4253</guid>

					<description><![CDATA[Voici les codes pour un fil d&#8217;Ariane complet qui comprend aussi les Customs Post Type. 2 versions au choix (cela dépend de la structure de...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/fil-dariane-breadcrumb-compatible-avec-custom-post-type-sous-wordpress-function-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Création complète d&#8217;un custom post type sous wordpress</title>
		<link>https://blog.emandarine.net/wordpress/creation-complete-dun-custom-post-type-sous-wordpress/</link>
					<comments>https://blog.emandarine.net/wordpress/creation-complete-dun-custom-post-type-sous-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 11 Jun 2020 09:46:13 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4251</guid>

					<description><![CDATA[Toujours un peu compliqué d&#8217;avoir cette fonction pourtant très intéressante sur WordPress, qui ne facilite pas du tout la tache pour cette création.  Voici un...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/creation-complete-dun-custom-post-type-sous-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ajouter automatiquement le thumbnail d&#8217;un post (image et Youtube) sur WordPress [functions + PHP + CSS]</title>
		<link>https://blog.emandarine.net/wordpress/ajouter-automatiquement-le-thumbnail-dun-post-image-et-youtube-sur-wordpress-fuctions-php-css/</link>
					<comments>https://blog.emandarine.net/wordpress/ajouter-automatiquement-le-thumbnail-dun-post-image-et-youtube-sur-wordpress-fuctions-php-css/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 11 Jun 2020 09:19:38 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Images et média]]></category>
		<category><![CDATA[Petites modifications de Worpdress]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4248</guid>

					<description><![CDATA[Ce code permet d&#8217;ajouter automatiquement une image miniature pour un post sur WordPress. Le choix se fera en fonction de sa position dans le post...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/ajouter-automatiquement-le-thumbnail-dun-post-image-et-youtube-sur-wordpress-fuctions-php-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Créer des Utilisateurs avec des droits personnalisés sous WordPress [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/creer-des-utilisateurs-avec-des-droits-personnalise-sous-wordpress-fuctions-php/</link>
					<comments>https://blog.emandarine.net/wordpress/creer-des-utilisateurs-avec-des-droits-personnalise-sous-wordpress-fuctions-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 11 Jun 2020 08:44:20 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Rôles sur Wordpress et/ou WooCommerce]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4238</guid>

					<description><![CDATA[Comme vu précédemment [ICI], il est possible de créer des utilisateur avec des rôles d&#8217;éditeurs personnalisés. Enlever ou ajouter des droits spécifiques à chaque « éditeur...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/creer-des-utilisateurs-avec-des-droits-personnalise-sous-wordpress-fuctions-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Donner un peu plus de droits aux Editeurs WordPress [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/donner-droits-supplementaires-editeurs-wordpress/</link>
					<comments>https://blog.emandarine.net/wordpress/donner-droits-supplementaires-editeurs-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 11 Jun 2020 08:30:18 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Rôles sur Wordpress et/ou WooCommerce]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4235</guid>

					<description><![CDATA[Par expérience nous nous sommes rendu compte que la fonction Editeur n&#8217;est pas suffisante pour nos clients et que la fonction Administrateur ouvre bien trop...]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/donner-droits-supplementaires-editeurs-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Mettre la première image de la galerie d&#8217;un produit comme thumbnail automatique sous WooCommerce  [functions + PHP]</title>
		<link>https://blog.emandarine.net/wordpress/mettre-la-premiere-image-de-la-galerie-dun-produit-comme-thumbnail-automatique-sous-woocommerce-fuctions-php/</link>
					<comments>https://blog.emandarine.net/wordpress/mettre-la-premiere-image-de-la-galerie-dun-produit-comme-thumbnail-automatique-sous-woocommerce-fuctions-php/#respond</comments>
		
		<dc:creator><![CDATA[emandarine]]></dc:creator>
		<pubDate>Thu, 11 Jun 2020 08:22:50 +0000</pubDate>
				<category><![CDATA[Astuces Wordpress]]></category>
		<category><![CDATA[Images et média]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<guid isPermaLink="false">https://blog.emandarine.net/?p=4233</guid>

					<description><![CDATA[Tout est dit dans le titre. Dans fonctions.php : add_action( 'save_post', 'my_save_post', 10, 3 ); function my_save_post($post_id){     $post = get_post( $post_id );     if($post-&#62;post_type !== 'product'){         return;     }     $post = new WC_product( $post_id );     $attachment_ids = $post-&#62;get_gallery_image_ids();     $image_thumbnail = get_post_meta($post_id, '_thumbnail_id', TRUE);     if(empty($image_thumbnail) &#38;&#38; !empty($attachment_ids)){                  $image_thumbnail_id = $attachment_ids[0];         update_post_meta($post_id, '_thumbnail_id', $image_thumbnail_id, '');     } } &#160;]]></description>
		
					<wfw:commentRss>https://blog.emandarine.net/wordpress/mettre-la-premiere-image-de-la-galerie-dun-produit-comme-thumbnail-automatique-sous-woocommerce-fuctions-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
