{"id":12961,"date":"2024-10-28T14:16:31","date_gmt":"2024-10-28T13:16:31","guid":{"rendered":"https:\/\/longwatchstudio.com\/?p=12961"},"modified":"2024-11-02T08:09:18","modified_gmt":"2024-11-02T07:09:18","slug":"add-a-custom-feature-to-your-wordpress-website","status":"publish","type":"post","link":"https:\/\/longwatchstudio.com\/en\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/","title":{"rendered":"Add a custom feature to your WordPress website"},"content":{"rendered":"<p>If you really want your website to look and behave the way you want, you have 2 main possibilities. Add a lot of plugins or add custom code. While the first solution is often easier to set up, it can become a performance nightmare. Therefore, in some cases, you will have to add some code to add a custom feature to your WordPress website.<\/p>\n\n\n\n<p class=\"translation-block\">Luckily, this guide will make it easier for you and explain everything you need to know to do so. Even if you\u2019re not a developer. And, before we begin, <strong>here\u2019s a general rule you should follow when deciding whether or not you should install a plugin<\/strong> :<\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-text-align-left quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>If you plan on using less than 10% of a plugin\u2019s features, don\u2019t install it and look for other solutions<\/p>\n<cite>This one is from us, you're welcome<\/cite><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">1|Installer Code Snippets<\/h2>\n\n\n\n<p class=\"translation-block\">On the internet, if you run searches on how to add custom features to your WordPress website, a lot of answers will tell you to add the code to your theme\u2019s functions.php file. <strong>Don\u2019t do that !<\/strong><\/p>\n\n\n\n<p>Not only will it become messy over time as you add more code, but it will also run this code everywhere. Even if it\u2019s not needed. Instead, you can use a free plugin called Code Snippets that presents many benefits :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It lets you organize your code in small snippets<\/li>\n\n\n\n<li>You can enable or disable your code snippets at any time<\/li>\n\n\n\n<li>It lets you decide if the code runs on the backend, frontend or both<\/li>\n\n\n\n<li>You can export\/import your code snippets from a staging website to the live one<\/li>\n\n\n\n<li>If the code is wrong, this plugin will prevent it to run and crash your website.<\/li>\n<\/ul>\n\n\n\n<p>For all these reasons, we advise you to use this lightweight and free plugin.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-buttons alignfull is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Code Snippets on wordpress.org<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">2|Comprendre les hooks WordPress<\/h2>\n\n\n\n<p>You don\u2019t need to be a developer to understand this guide. In addition, you don\u2019t need to know PHP in order to use it. But if you want to add a custom feature to your WordPress website, you need to understand some concepts. If you learn these, you\u2019ll be much more capable of finding the code you need.<\/p>\n\n\n\n<p class=\"translation-block\">WordPress relies heavily on hooks. <strong>Some might even say that hooks is the main WordPress feature<\/strong>. In fact, hooks are what allow WordPress to be highly and easily customizable.<\/p>\n\n\n\n<p class=\"definition translation-block\"><strong>Definition<\/strong> : Hooks are a way for one piece of code to interact\/modify another piece of code at specific, pre-defined spots. They make up the foundation for how plugins and themes interact with WordPress Core, but they\u2019re also used extensively by Core itself.<\/p>\n\n\n\n<p class=\"translation-block\">To simplify it for you, let\u2019s put it that way. <strong>All WordPress and plugin developers add doors in different places where you can add your own code and change a specific behavior<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-hook-creation\">1|Hook Creation<\/h3>\n\n\n\n<p class=\"translation-block\">Developers can add 2 types of hooks into their code : <b>Actions<\/b> and <b>Filters<\/b>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"translation-block\">an <b>action<\/b> takes the info it receives, does something with it, and returns nothing. In other words: it acts on something and then exits, returning nothing back to the calling hook.<\/li>\n\n\n\n<li class=\"translation-block\">a <b>filter<\/b> takes the info it receives, modifies it somehow, and returns it. In other words: it filters something and passes it back to the hook for further use.<\/li>\n<\/ul>\n\n\n\n<p>Here\u2019s an example of a filter<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">$value = apply_filters('the_name_of_my_filter', $data_sent);<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>With the above line, the developer created a hook called '<mark style=\"background-color:rgba(0, 0, 0, 0);color:#e3116c\" class=\"has-inline-color\">the_name_of_my_filter<\/mark>' which will send the information <mark style=\"background-color:rgba(0, 0, 0, 0);color:#36acaa\" class=\"has-inline-color\">$data_sent<\/mark>.  The result will be stored into <mark style=\"background-color:rgba(0, 0, 0, 0);color:#36acaa\" class=\"has-inline-color\">$value<\/mark>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2|Se brancher sur un crochet<\/h3>\n\n\n\n<p>If you want to add more information or add a custom feature, you will probably have to use an existing hook and add your code to it.<\/p>\n\n\n\n<p>If we look at the above filter, here\u2019s how to plug into it<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">add_filter('the_name_of_my_filter', 'theNameOfYourFunction');<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"translation-block\">Here you said you wanted to call the code from the <mark style=\"color:#e3116c\" class=\"has-inline-color\">theNameOfyourFunction<\/mark> function inside that existing hook. However, that's half the battle. You still need to add your custom function.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">function theNameOfYourFunction($data)\n{\n    \/** Add your custom code or feature here *\/\n    return $data;\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>There you have it, your code will be called every time the hook is called. Is this still a bit obscure? No problem, everything will become clear with the following example<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-3-add-a-custom-feature-to-your-wordpress-website\">3|Ajoutez une fonctionnalit\u00e9 personnalis\u00e9e \u00e0 votre site Web WordPress<\/h2>\n\n\n\n<p>Now that you know how hooks work, it\u2019s time to put that knowledge to use with some real-world examples. First, I\u2019ll give you an example. Then, I\u2019ll give you some tips on how to find custom code that fits your needs on websites like this one or Stack Overflow .<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-give-users-a-specific-role-when-they-register\">Give users a specific role when they sign up<\/h3>\n\n\n\n<p>In this code, we will give the \u201cVIP\u201d role to users when they create an account on your website. If the user role does not exist, we create it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">\/** When a user creates an account, WordPress uses the 'user_register' action hook *\/\n\\add_action('user_register', 'addVipRole');\n\/** At this point, the user is already created, we only need to change his role *\/\nfunction addVipRole($userId)\n{\n    \/** First, we make sure that the user exists *\/\n    if( $user = \\get_user_by('ID', $userId)) {\n        \/** We set the role we want to give to the user *\/\n        $role = 'vip';\n        \/** We test if the role exists. Otherwise, we create it *\/\n        if (!\\wp_roles()-&amp;gt;is_role($role)) {\n            $role = \\add_role('vip', __('VIP User', 'testdomain'));\n        }\n        \/** Now we give the role to the user *\/\n        $user-&amp;gt;set_role($role);\n    }\n}<\/code><\/pre>\n\n\n\n<p>It\u2019s that simple. If you want to display other information or run a shortcode, that\u2019s possible too. All it takes is a few searches.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-4-useful-resources\">4|Ressources utiles<\/h3>\n\n\n\n<p class=\"translation-block\"><a href=\"https:\/\/www.businessbloomer.com\/category\/woocommerce-tips\/visual-hook-series\/\" target=\"_blank\" rel=\"noreferrer noopener\">Business Bloomer Visual Hook Guide<\/a> : Here you will find many hooks that you can use to display information or add your own content on many different pages. This is a very useful resource, especially if you are using WooCommerce.<\/p>\n\n\n\n<p class=\"translation-block\"><a href=\"https:\/\/stackoverflow.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stack Overflow<\/a> : This website is commonly used by many developers and it has a large community. They are also willing to help people who are not developers and give you step by step guides. You will find a lot of useful code snippets there.<\/p>","protected":false},"excerpt":{"rendered":"<p>If you really want your website to look and behave the way you want, you have 2 main possibilities. Add a lot of plugins or add custom code. While the first solution is often easier to set up, it can become a performance nightmare. Therefore, in some cases, you will have to add some code to add a custom feature to your WordPress website.<\/p>","protected":false},"author":2,"featured_media":12978,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[98,44],"tags":[136,146,135],"class_list":["post-12961","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-dev-web","tag-php-2","tag-snippet","tag-wordpress-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress - Guide<\/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:\/\/longwatchstudio.com\/en\/add-a-custom-feature-to-your-wordpress-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress - Guide\" \/>\n<meta property=\"og:description\" content=\"Si vous voulez vraiment que votre site Web ressemble et se comporte comme vous le souhaitez, vous avez 2 possibilit\u00e9s principales. Ajouter de nombreux plugins ou ajouter du code personnalis\u00e9. Si la premi\u00e8re solution est souvent plus simple \u00e0 mettre en place, elle peut devenir un cauchemar en termes de performances. Par cons\u00e9quent, dans certains&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/longwatchstudio.com\/en\/add-a-custom-feature-to-your-wordpress-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Long Watch Studio\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LongWatchStudio\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T13:16:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-02T07:09:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Long Watch Studio\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Long Watch Studio\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/\"},\"author\":{\"name\":\"Long Watch Studio\",\"@id\":\"https:\/\/longwatchstudio.com\/#\/schema\/person\/4992b6e2dc93355fd430c411b01fa4f2\"},\"headline\":\"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress\",\"datePublished\":\"2024-10-28T13:16:31+00:00\",\"dateModified\":\"2024-11-02T07:09:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/\"},\"wordCount\":1030,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/longwatchstudio.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg\",\"keywords\":[\"#PHP\",\"#Snippet\",\"#WordPress\"],\"articleSection\":[\"Blog\",\"D\u00e9veloppement web\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/\",\"url\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/\",\"name\":\"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress - Guide\",\"isPartOf\":{\"@id\":\"https:\/\/longwatchstudio.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg\",\"datePublished\":\"2024-10-28T13:16:31+00:00\",\"dateModified\":\"2024-11-02T07:09:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage\",\"url\":\"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg\",\"contentUrl\":\"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg\",\"width\":1920,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/longwatchstudio.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/longwatchstudio.com\/#website\",\"url\":\"https:\/\/longwatchstudio.com\/\",\"name\":\"Long Watch Studio\",\"description\":\"Vous apporte le meilleur du Web\",\"publisher\":{\"@id\":\"https:\/\/longwatchstudio.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/longwatchstudio.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/longwatchstudio.com\/#organization\",\"name\":\"Long Watch Studio\",\"url\":\"https:\/\/longwatchstudio.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/longwatchstudio.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2016\/11\/logo-site.png\",\"contentUrl\":\"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2016\/11\/logo-site.png\",\"width\":223,\"height\":50,\"caption\":\"Long Watch Studio\"},\"image\":{\"@id\":\"https:\/\/longwatchstudio.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/LongWatchStudio\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/longwatchstudio.com\/#\/schema\/person\/4992b6e2dc93355fd430c411b01fa4f2\",\"name\":\"Long Watch Studio\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c0f7871feba98114b735e6ab4f8e92974b62e01ed47c0e3b7953c52f67ab009e?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c0f7871feba98114b735e6ab4f8e92974b62e01ed47c0e3b7953c52f67ab009e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c0f7871feba98114b735e6ab4f8e92974b62e01ed47c0e3b7953c52f67ab009e?s=96&d=mm&r=g\",\"caption\":\"Long Watch Studio\"},\"sameAs\":[\"http:\/\/longwatchstudio.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress - Guide","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:\/\/longwatchstudio.com\/en\/add-a-custom-feature-to-your-wordpress-website\/","og_locale":"en_US","og_type":"article","og_title":"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress - Guide","og_description":"Si vous voulez vraiment que votre site Web ressemble et se comporte comme vous le souhaitez, vous avez 2 possibilit\u00e9s principales. Ajouter de nombreux plugins ou ajouter du code personnalis\u00e9. Si la premi\u00e8re solution est souvent plus simple \u00e0 mettre en place, elle peut devenir un cauchemar en termes de performances. Par cons\u00e9quent, dans certains&hellip;","og_url":"https:\/\/longwatchstudio.com\/en\/add-a-custom-feature-to-your-wordpress-website\/","og_site_name":"Long Watch Studio","article_publisher":"https:\/\/www.facebook.com\/LongWatchStudio\/","article_published_time":"2024-10-28T13:16:31+00:00","article_modified_time":"2024-11-02T07:09:18+00:00","og_image":[{"width":1920,"height":500,"url":"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg","type":"image\/jpeg"}],"author":"Long Watch Studio","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Long Watch Studio","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#article","isPartOf":{"@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/"},"author":{"name":"Long Watch Studio","@id":"https:\/\/longwatchstudio.com\/#\/schema\/person\/4992b6e2dc93355fd430c411b01fa4f2"},"headline":"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress","datePublished":"2024-10-28T13:16:31+00:00","dateModified":"2024-11-02T07:09:18+00:00","mainEntityOfPage":{"@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/"},"wordCount":1030,"commentCount":0,"publisher":{"@id":"https:\/\/longwatchstudio.com\/#organization"},"image":{"@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg","keywords":["#PHP","#Snippet","#WordPress"],"articleSection":["Blog","D\u00e9veloppement web"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/","url":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/","name":"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress - Guide","isPartOf":{"@id":"https:\/\/longwatchstudio.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg","datePublished":"2024-10-28T13:16:31+00:00","dateModified":"2024-11-02T07:09:18+00:00","breadcrumb":{"@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#primaryimage","url":"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg","contentUrl":"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2024\/10\/ban-wordpress.jpg","width":1920,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/longwatchstudio.com\/ajouter-une-fonctionnalite-specifique-a-votre-site-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/longwatchstudio.com\/"},{"@type":"ListItem","position":2,"name":"Ajouter une fonctionnalit\u00e9 sp\u00e9cifique \u00e0 votre site WordPress"}]},{"@type":"WebSite","@id":"https:\/\/longwatchstudio.com\/#website","url":"https:\/\/longwatchstudio.com\/","name":"Long Watch Studio","description":"Brings you the best of the Web","publisher":{"@id":"https:\/\/longwatchstudio.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/longwatchstudio.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/longwatchstudio.com\/#organization","name":"Long Watch Studio","url":"https:\/\/longwatchstudio.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/longwatchstudio.com\/#\/schema\/logo\/image\/","url":"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2016\/11\/logo-site.png","contentUrl":"https:\/\/longwatchstudio.com\/wp-content\/uploads\/2016\/11\/logo-site.png","width":223,"height":50,"caption":"Long Watch Studio"},"image":{"@id":"https:\/\/longwatchstudio.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LongWatchStudio\/"]},{"@type":"Person","@id":"https:\/\/longwatchstudio.com\/#\/schema\/person\/4992b6e2dc93355fd430c411b01fa4f2","name":"Long Watch Studio","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c0f7871feba98114b735e6ab4f8e92974b62e01ed47c0e3b7953c52f67ab009e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c0f7871feba98114b735e6ab4f8e92974b62e01ed47c0e3b7953c52f67ab009e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c0f7871feba98114b735e6ab4f8e92974b62e01ed47c0e3b7953c52f67ab009e?s=96&d=mm&r=g","caption":"Long Watch Studio"},"sameAs":["http:\/\/longwatchstudio.com"]}]}},"_links":{"self":[{"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/posts\/12961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/comments?post=12961"}],"version-history":[{"count":14,"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/posts\/12961\/revisions"}],"predecessor-version":[{"id":12985,"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/posts\/12961\/revisions\/12985"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/media\/12978"}],"wp:attachment":[{"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/media?parent=12961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/categories?post=12961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/longwatchstudio.com\/en\/wp-json\/wp\/v2\/tags?post=12961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}