{"id":210,"date":"2021-08-17T15:31:11","date_gmt":"2021-08-17T13:31:11","guid":{"rendered":"https:\/\/astuces-wp.com\/?p=210"},"modified":"2022-03-13T12:11:07","modified_gmt":"2022-03-13T11:11:07","slug":"slider-sans-plugin-wordpress","status":"publish","type":"post","link":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/","title":{"rendered":"Comment faire un slider sans plugin sur WordPress&nbsp;?"},"content":{"rendered":"<p>Dans cet article nous allons voir comment cr\u00e9er un slider avec un custom post type sans plugin !<\/p>\n<p>En effet beaucoup de plugins de sliders sont trop gourmands en ressources et il est facile d&rsquo;en cr\u00e9er un \u00e0 notre go\u00fbt !<\/p>\n<p>Nous allons utiliser les librairies Bootstrap.<\/p>\n<h2>Importer les librairies<\/h2>\n<p>Dans le fichier header.php avant la fermeture de la balise &lt;head&gt; placer le code suivant :<\/p>\n<pre>&lt;script src= \"\/\/code.jquery.com\/jquery-1.11.0.min.js \"&gt;&lt;\/script&gt;\r\n&lt;link href= \"\/\/netdna.bootstrapcdn.com\/bootstrap\/3.1.0\/css\/bootstrap.min.css \" rel= \"stylesheet \" id= \"bootstrap-css \"&gt;\r\n&lt;script src= \"\/\/netdna.bootstrapcdn.com\/bootstrap\/3.1.0\/js\/bootstrap.min.js \"&gt;&lt;\/script&gt;<\/pre>\n<h2>Custom post type slider<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-249 aligncenter\" src=\"https:\/\/astuces-wp.com\/wp-content\/uploads\/2021\/08\/cpt_slider.png\" alt=\"\" width=\"158\" height=\"100\" \/><\/p>\n<p>Copier coller le code suivant dans le functions.php du th\u00e8me courant afin de cr\u00e9er le CPT :<\/p>\n<pre class=\"code\">function create_slider_post_type() {$labels = array(\r\n'name' =&gt; __( 'Sliders' ),\r\n'singular_name' =&gt; __( 'Sliders' ),\r\n'all_items' =&gt; __( 'Toutes les slides' ),\r\n'view_item' =&gt; __( 'Voir slide' ),\r\n'add_new_item' =&gt; __( 'Ajouter une nouvelle slide' ),\r\n'add_new' =&gt; __( 'Ajouter une nouvelle slide' ),\r\n'edit_item' =&gt; __( 'Editer slide' ),\r\n'update_item' =&gt; __( 'Mettre \u00e0 jour slide' ),\r\n'search_items' =&gt; __( 'Rechercher une slide' ),\r\n'search_items' =&gt; __('Sliders')\r\n);$args = array(\r\n'labels' =&gt; $labels,\r\n'description' =&gt; 'Add New Slider contents',\r\n'menu_position' =&gt; 30, \/**valeur de votre choix**\/\r\n'public' =&gt; true,\r\n'has_archive' =&gt; true,\r\n'map_meta_cap' =&gt; true,\r\n'capability_type' =&gt; 'post',\r\n'hierarchical' =&gt; true,\r\n'rewrite' =&gt; array('slug' =&gt; false),\r\n'menu_icon'=&gt;'dashicons-format-image', \/**valeur de votre choix : https:\/\/developer.wordpress.org\/resource\/dashicons\/#editor-underline **\/\r\n'supports' =&gt; array(\r\n'title',\r\n'thumbnail','excerpt'\r\n),\r\n);\r\nregister_post_type( 'slider', $args);}\r\nadd_action( 'init', 'create_slider_post_type' );<\/pre>\n<h2>Boucle slider<\/h2>\n<p>Et enfin voici la boucle \u00e0 copier coller dans le template de votre choix :<\/p>\n<pre>&lt;div class=\"container\"&gt;\r\n\r\n&lt;div class=\"row\"&gt;\r\n&lt;?php\r\n$arg = array(\r\n'post_type' =&gt; 'slider',\r\n'posts_per_page' =&gt; 5,\r\n'order' =&gt; 'ASC'\r\n);\r\n$slider = new WP_Query($arg);\r\n$j = 0;\r\n$post_count = wp_count_posts('slider')-&gt;publish;\r\n?&gt;\r\n&lt;!-- Carousel --&gt;\r\n&lt;div id=\"carousel-example-generic\" class=\"carousel slide\" data-ride=\"carousel\"&gt;\r\n&lt;!-- Indicators --&gt;\r\n\r\n&lt;!-- Wrapper for slides --&gt;\r\n&lt;div class=\"carousel-inner\"&gt;\r\n&lt;?php while($slider-&gt;have_posts()) : $slider-&gt;the_post(); ?&gt;\r\n&lt;div class=\"item&lt;?php echo $j==0 ? ' active': '';?&gt;\"&gt;\r\n&lt;?php if(has_post_thumbnail()): the_post_thumbnail('slider'); endif; ?&gt;\r\n&lt;!-- Static Header --&gt;\r\n&lt;div class=\"header-text hidden-xs\"&gt;\r\n&lt;div class=\"col-md-12 text-center\"&gt;\r\n&lt;h2&gt;\r\n&lt;?php the_title() ?&gt;\r\n&lt;\/h2&gt;\r\n&lt;br&gt;\r\n&lt;h3&gt;\r\n&lt;a href=\"&lt;?php echo get_post_meta(get_the_ID(),'_slider_link_value_key', true); ?&gt;\"&gt;&lt;span&gt;&lt;?php the_excerpt(); ?&gt;&lt;\/span&gt;&lt;\/a&gt;\r\n&lt;\/h3&gt;\r\n&lt;\/div&gt;\r\n&lt;\/div&gt;&lt;!-- \/header-text --&gt;\r\n&lt;\/div&gt;\r\n&lt;?php $j++; endWhile; wp_reset_query(); ?&gt;\r\n&lt;\/div&gt;\r\n&lt;!-- Controls --&gt;\r\n&lt;a class=\"left carousel-control\" href=\"#carousel-example-generic\" data-slide=\"prev\"&gt;\r\n&lt;span class=\"glyphicon glyphicon-chevron-left\"&gt;&lt;\/span&gt;\r\n&lt;\/a&gt;\r\n&lt;a class=\"right carousel-control\" href=\"#carousel-example-generic\" data-slide=\"next\"&gt;\r\n&lt;span class=\"glyphicon glyphicon-chevron-right\"&gt;&lt;\/span&gt;\r\n&lt;\/a&gt;\r\n&lt;\/div&gt;&lt;!-- \/carousel --&gt;\r\n&lt;\/div&gt;\r\n&lt;\/div&gt;<\/pre>\n<h2>Surcouche ACF<\/h2>\n<p>Si vous avez plusieurs sliders \u00e0 placer sur plusieurs pages une surcouche ACF vous permettra de modifier la boucle. En cr\u00e9ant un champ de type checkbox.<\/p>\n<pre>if (is_page_template('page-une.php')){$value='<span style=\"color: #00ff00;\">une<\/span>';} \/\/vos valeurs avec vos conditions qui sont reprises dans le champ ACF\r\nif (is_page_template('page-deux.php')){$value='<span style=\"color: #00ff00;\">deux<\/span>';} \/\/vos valeurs avec vos conditions qui sont reprises dans le champ ACF\r\nif (is_home()){$value='<span style=\"color: #00ff00;\">trois<\/span>';} \/\/vos valeurs avec vos conditions qui sont reprises dans le champ ACF\r\n\r\n$arg = array(\r\n'post_type' =&gt; 'slider',\r\n'posts_per_page' =&gt; 5,\r\n'order' =&gt; 'ASC',\r\n'meta_query' =&gt; array(\r\narray(\r\n'key' =&gt; 'slide_in',\r\n'value' =&gt; $value,\r\n'compare' =&gt; 'LIKE',\r\n),\r\n),\r\n);\r\n$slider = new WP_Query($arg);<\/pre>\n<h2>Champ ACF<\/h2>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-253 size-full\" src=\"https:\/\/astuces-wp.com\/wp-content\/uploads\/2021\/08\/cpt_slider_with_acf.png\" alt=\"\" width=\"100%\" srcset=\"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2021\/08\/cpt_slider_with_acf.png 1364w, https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2021\/08\/cpt_slider_with_acf-300x155.png 300w, https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2021\/08\/cpt_slider_with_acf-1024x529.png 1024w, https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2021\/08\/cpt_slider_with_acf-768x397.png 768w\" sizes=\"(max-width: 1364px) 100vw, 1364px\" \/><\/p>\n<pre>if( function_exists('acf_add_local_field_group') ):\r\n\r\nacf_add_local_field_group(array(\r\n'key' =&gt; 'group_6113ddf38694e',\r\n'title' =&gt; 'slider',\r\n'fields' =&gt; array(\r\narray(\r\n'key' =&gt; 'field_6113ddf878173',\r\n'label' =&gt; 'Slider pr\u00e9sent sur :',\r\n'name' =&gt; 'slide_in',\r\n'type' =&gt; 'checkbox',\r\n'instructions' =&gt; '',\r\n'required' =&gt; 0,\r\n'conditional_logic' =&gt; 0,\r\n'wrapper' =&gt; array(\r\n'width' =&gt; '',\r\n'class' =&gt; '',\r\n'id' =&gt; '',\r\n),\r\n'choices' =&gt; array(\r\n'<span style=\"color: #00ff00;\">une<\/span>' =&gt; 'Page une', \/\/vos valeurs\r\n'<span style=\"color: #00ff00;\">deux<\/span>' =&gt; 'Page deux', \/\/vos valeurs\r\n'<span style=\"color: #00ff00;\">trois<\/span>' =&gt; 'Page trois', \/\/vos valeurs\r\n),\r\n'allow_custom' =&gt; 0,\r\n'default_value' =&gt; array(\r\n),\r\n'layout' =&gt; 'vertical',\r\n'toggle' =&gt; 0,\r\n'return_format' =&gt; 'value',\r\n'save_custom' =&gt; 0,\r\n),\r\n),\r\n'location' =&gt; array(\r\narray(\r\narray(\r\n'param' =&gt; 'post_type',\r\n'operator' =&gt; '==',\r\n'value' =&gt; 'slider',\r\n),\r\n),\r\n),\r\n'menu_order' =&gt; 0,\r\n'position' =&gt; 'normal',\r\n'style' =&gt; 'default',\r\n'label_placement' =&gt; 'top',\r\n'instruction_placement' =&gt; 'label',\r\n'hide_on_screen' =&gt; '',\r\n'active' =&gt; true,\r\n'description' =&gt; '',\r\n));\r\n\r\nendif;<\/pre>\n<p>Et voici un joli slider moins gourmand !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dans cet article nous allons voir comment cr\u00e9er un slider avec un custom post type sans plugin ! En effet beaucoup de plugins de sliders sont trop gourmands en ressources et il est facile d&rsquo;en cr\u00e9er un \u00e0 notre go\u00fbt ! Nous allons utiliser les librairies Bootstrap. Importer les librairies Dans le fichier header.php avant [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":98,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[12],"class_list":["post-210","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-rapidite"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Comment faire un slider sans plugin sur WordPress ?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comment faire un slider sans plugin sur WordPress ?\" \/>\n<meta property=\"og:description\" content=\"Dans cet article nous allons voir comment cr\u00e9er un slider avec un custom post type sans plugin ! En effet beaucoup de plugins de sliders sont trop gourmands en ressources et il est facile d&rsquo;en cr\u00e9er un \u00e0 notre go\u00fbt ! Nous allons utiliser les librairies Bootstrap. Importer les librairies Dans le fichier header.php avant [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-17T13:31:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-13T11:11:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"525\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Lyanna\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lyanna\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/\"},\"author\":{\"name\":\"Lyanna\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/f7cb41098a46b2339b7bf590e8aa516a\"},\"headline\":\"Comment faire un slider sans plugin sur WordPress&nbsp;?\",\"datePublished\":\"2021-08-17T13:31:11+00:00\",\"dateModified\":\"2022-03-13T11:11:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/\"},\"wordCount\":152,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg\",\"keywords\":[\"Rapidit\u00e9\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/\",\"url\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/\",\"name\":\"Comment faire un slider sans plugin sur WordPress ?\",\"isPartOf\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg\",\"datePublished\":\"2021-08-17T13:31:11+00:00\",\"dateModified\":\"2022-03-13T11:11:07+00:00\",\"author\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/f7cb41098a46b2339b7bf590e8aa516a\"},\"breadcrumb\":{\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage\",\"url\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg\",\"contentUrl\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg\",\"width\":960,\"height\":525},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud83c\udfe0 Accueil\",\"item\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rapidit\u00e9\",\"item\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/tag\/rapidite\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Comment faire un slider sans plugin sur WordPress&nbsp;?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/#website\",\"url\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/f7cb41098a46b2339b7bf590e8aa516a\",\"name\":\"Lyanna\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4e361b30ec79a25d91a54b45254a5fd94f2c88bcf72f01c85a103a89bbec68f4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4e361b30ec79a25d91a54b45254a5fd94f2c88bcf72f01c85a103a89bbec68f4?s=96&d=mm&r=g\",\"caption\":\"Lyanna\"},\"sameAs\":[\"https:\/\/astuces-wp.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Comment faire un slider sans plugin sur WordPress ?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/","og_locale":"fr_FR","og_type":"article","og_title":"Comment faire un slider sans plugin sur WordPress ?","og_description":"Dans cet article nous allons voir comment cr\u00e9er un slider avec un custom post type sans plugin ! En effet beaucoup de plugins de sliders sont trop gourmands en ressources et il est facile d&rsquo;en cr\u00e9er un \u00e0 notre go\u00fbt ! Nous allons utiliser les librairies Bootstrap. Importer les librairies Dans le fichier header.php avant [&hellip;]","og_url":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/","article_published_time":"2021-08-17T13:31:11+00:00","article_modified_time":"2022-03-13T11:11:07+00:00","og_image":[{"width":960,"height":525,"url":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg","type":"image\/jpeg"}],"author":"Lyanna","twitter_card":"summary_large_image","twitter_misc":{"\u00c9crit par":"Lyanna","Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#article","isPartOf":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/"},"author":{"name":"Lyanna","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/f7cb41098a46b2339b7bf590e8aa516a"},"headline":"Comment faire un slider sans plugin sur WordPress&nbsp;?","datePublished":"2021-08-17T13:31:11+00:00","dateModified":"2022-03-13T11:11:07+00:00","mainEntityOfPage":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/"},"wordCount":152,"commentCount":0,"image":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg","keywords":["Rapidit\u00e9"],"articleSection":["PHP"],"inLanguage":"fr-FR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/","url":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/","name":"Comment faire un slider sans plugin sur WordPress ?","isPartOf":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg","datePublished":"2021-08-17T13:31:11+00:00","dateModified":"2022-03-13T11:11:07+00:00","author":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/f7cb41098a46b2339b7bf590e8aa516a"},"breadcrumb":{"@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#primaryimage","url":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg","contentUrl":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-content\/uploads\/2020\/06\/rapidite_site.jpg","width":960,"height":525},{"@type":"BreadcrumbList","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/slider-sans-plugin-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud83c\udfe0 Accueil","item":"https:\/\/magali-colas.fr\/astuces-wordpress\/"},{"@type":"ListItem","position":2,"name":"Rapidit\u00e9","item":"https:\/\/magali-colas.fr\/astuces-wordpress\/tag\/rapidite\/"},{"@type":"ListItem","position":3,"name":"Comment faire un slider sans plugin sur WordPress&nbsp;?"}]},{"@type":"WebSite","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/#website","url":"https:\/\/magali-colas.fr\/astuces-wordpress\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/magali-colas.fr\/astuces-wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Person","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/f7cb41098a46b2339b7bf590e8aa516a","name":"Lyanna","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/magali-colas.fr\/astuces-wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4e361b30ec79a25d91a54b45254a5fd94f2c88bcf72f01c85a103a89bbec68f4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4e361b30ec79a25d91a54b45254a5fd94f2c88bcf72f01c85a103a89bbec68f4?s=96&d=mm&r=g","caption":"Lyanna"},"sameAs":["https:\/\/astuces-wp.com"]}]}},"_links":{"self":[{"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":0,"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/media\/98"}],"wp:attachment":[{"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magali-colas.fr\/astuces-wordpress\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}