{"id":4816,"date":"2023-01-12T17:05:52","date_gmt":"2023-01-12T10:05:52","guid":{"rendered":"https:\/\/danielepais.com\/journal\/?p=4816"},"modified":"2026-08-11T00:39:18","modified_gmt":"2026-08-10T17:39:18","slug":"quick-and-easy-make-a-wordpress-plugin-level-3","status":"publish","type":"post","link":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/","title":{"rendered":"Quick and easy make a WordPress Plugin \u2013 level 3"},"content":{"rendered":"<p>Make a WordPress plugin: : For this week&#8217;s WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that can be changed from the WP dashboard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/960fcecb66cf\/make-a-wordpress-plugin-level-3.webp?p=4816&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/405e31e4fd3c\/make-a-wordpress-plugin-level-3.webp?p=4816&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/b830c2fd19bc\/make-a-wordpress-plugin-level-3.webp?p=4816&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/6676a09b04aa\/make-a-wordpress-plugin-level-3.webp?p=4816&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/c0dfd115c0f8\/make-a-wordpress-plugin-level-3.webp?p=4816&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/ef044f9ac568\/make-a-wordpress-plugin-level-3.webp?p=4816&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/5b03a51616f5\/make-a-wordpress-plugin-level-3.webp?p=4816&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/5f5426edccc6\/make-a-wordpress-plugin-level-3.webp?p=4816&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/c9687fff769e\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/5701ef307c35\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/db3fb271f75f\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1600&h=0&c=0 1600w\" class=\"alignnone size-full wp-image-4821\" title=\"Make a WordPress plugin level 3\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9NYWtlLWEtV29yZFByZXNzLXBsdWdpbi1sZXZlbC0zLmpwZw\/9e831bf88921\/make-a-wordpress-plugin-level-3.webp?p=4816\" alt=\"Make a WordPress plugin level 3\" width=\"900\" height=\"506\" \/><\/p>\n<p>Without going into extreme difficulty, let&#8217;s keep it nice and easy, our aim is to understand the concept.<\/p>\n<p>So here comes your third plugin brief description of what it should do.<\/p>\n<p>Let&#8217;s say you want to have an area of your website that displays a YouTube playlist so you don&#8217;t have to load all the videos manually. So our plugin should be able to do the following tasks:<\/p>\n<ol>\n<li>fetch the playlist from YouTube<\/li>\n<li>load the next video in the playlist<\/li>\n<li>repeat everything when the playlist is finished<\/li>\n<\/ol>\n<p>Well, it shouldn&#8217;t be difficult. I will split this job in two parts, the easy part 1 is a demonstration of how you could have just the plugin with no settings. In the advanced part 2 we will implement the settings.<\/p>\n<p>Right, let&#8217;s do this!<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6ac80a8976a0c\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #18bc9c;color:#18bc9c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #18bc9c;color:#18bc9c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6ac80a8976a0c\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#Part_1_%E2%80%93_Make_a_WordPress_plugin_Simple_method\" >Part 1 &#8211; Make a WordPress plugin Simple method<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#Here_it_comes%E2%80%A6the_code\" >Here it comes&#8230;.the code:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#Part_2_%E2%80%93_Make_a_WordPress_plugin_Advanced_method_Introducing_the_setting_feature\" >Part 2 &#8211; Make a WordPress plugin Advanced method: Introducing the setting feature<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#Key_Web_Technology_Development_Keywords\" >Key Web Technology &amp; Development Keywords<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Part_1_%E2%80%93_Make_a_WordPress_plugin_Simple_method\"><\/span>Part 1 &#8211; Make a WordPress plugin Simple method<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here is an example of a WordPress plugin that will display a YouTube playlist from the provided channel URL:<\/p>\n<p>Note: As we are already at the third video of this series, I will not explain again how to add the headers and how to zip the files and &#8220;make&#8221; the plugin to upload on WP, please have a look at the previous <a href=\"https:\/\/danielepais.com\/journal\/quick-easy-make-a-wordpress-plugin-level-1\" target=\"_blank\" rel=\"noopener\">article 1<\/a>\u00a0 and <a href=\"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-2\" target=\"_blank\" rel=\"noopener\">article 2<\/a>\u00a0 for that information.<\/p>\n<p>Alright, now let&#8217;s create a php file and call it youtube-playlist-dust.php where &#8220;<a href=\"https:\/\/www.youtube.com\/@watchdust\" target=\"_blank\" rel=\"noopener\">dust<\/a>&#8221; is the actual sci fi YouTube channel where we are going to fetch this amazing films for our WordPress plugin tutorial.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Here_it_comes%E2%80%A6the_code\"><\/span><strong>Here it comes&#8230;.the code:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre id=\"code-snippet-source-28\" class=\"code-snippet-source linkable-line-numbers\"><code class=\"language-php line-numbers\">&lt;?php\n\n\/*\r\n* Plugin Name: YouTube Playlist Plugin\r\n* Plugin URI: https:\/\/example.com\/youtube-playlist-plugin\r\n* Description: Displays a YouTube playlist on your WordPress site.\r\n* Version: 1.0\r\n* Author: Your Name\r\n* Author URI: https:\/\/example.com\r\n*\/\r\n\r\nfunction youtube_playlist_shortcode($atts) {\r\n$atts = shortcode_atts(array(\r\n&#039;channel_url&#039; =&gt; &#039;https:\/\/www.youtube.com\/watch?v=HBxiEpIMSQY&amp;list=PL2X2odndvaIcICvdgVso1pLmWC8a9AJtp&#039;,\r\n), $atts);\r\n\r\n$channel_url = $atts[&#039;channel_url&#039;];\r\n\r\n\/\/ Extract the playlist ID from the channel URL\r\npreg_match(&#039;\/list=([^&amp;]+)\/&#039;, $channel_url, $matches);\r\n$playlist_id = $matches[1];\r\n\r\n\/\/ Build the embed URL for the playlist\r\n$embed_url = &#039;https:\/\/www.youtube.com\/embed\/videoseries?list=&#039; . $playlist_id;\r\n\r\n\/\/ Return the embed code for the playlist\r\nreturn &#039;&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;&#039; . $embed_url . &#039;&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;\/iframe&gt;&#039;;\r\n}\r\nadd_shortcode(&#039;youtube_playlist&#039;, &#039;youtube_playlist_shortcode&#039;);<\/code><\/pre>\n<p>To use this plugin, simply copy the code and paste it into a new WordPress plugin file, then activate the plugin from the WordPress dashboard. Once the plugin is activated, you can use the [youtube_playlist] shortcode in any post or page to display the YouTube playlist.<\/p>\n<p>For example, to display the playlist from the provided channel URL, you can use the following shortcode:<\/p>\n<pre id=\"code-snippet-source-30\" class=\"code-snippet-source linkable-line-numbers\"><code class=\"language-php line-numbers\">[youtube_playlist channel_url=&quot;https:\/\/www.youtube.com\/watch?v=HBxiEpIMSQY&amp;list=PL2X2odndvaIcICvdgVso1pLmWC8a9AJtp&quot;]<\/code><\/pre>\n<p>Great, so far so good, surely you have already tested the plugin and realized that it works well&#8230;.but&#8230;now let&#8217;s try something different. What if we wanted to change the playlist regularly from the back-end by just adding the URL, rather than editing the webpage and shortcode?<\/p>\n<p>How can that be done?<\/p>\n<p>We would need some sort of setting from the back-end that allows us to enter the web address in a field and save everything in order to make the task of showing the videos as simple and functional as possible &#8230; so &#8230; how do we go about it?<\/p>\n<p><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.danielepais.dpiptv\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/0ae746b8df13\/make-a-wordpress-plugin-level-3.webp?p=4816&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/e6c053c068b4\/make-a-wordpress-plugin-level-3.webp?p=4816&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/1d05189677ee\/make-a-wordpress-plugin-level-3.webp?p=4816&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/9d2c4455b4db\/make-a-wordpress-plugin-level-3.webp?p=4816&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/1eb12cc2d620\/make-a-wordpress-plugin-level-3.webp?p=4816&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/6001ea6fb98a\/make-a-wordpress-plugin-level-3.webp?p=4816&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/6a06361ef38c\/make-a-wordpress-plugin-level-3.webp?p=4816&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/4ff102ddc9a8\/make-a-wordpress-plugin-level-3.webp?p=4816&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/967ab215197b\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/789450a60667\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/400447feb35b\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1600&h=0&c=0 1600w\" class=\"aligncenter wp-image-4844 size-full\" title=\"Watch FREE Internet TV and Listen FREE Internet Radio with dp - IPTV and Radio\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9sZWFkZXJib2FkLTEzMDEyMDIzLTcyOHg5MC0xLmpwZw\/ede7e4527ba1\/make-a-wordpress-plugin-level-3.webp?p=4816\" alt=\"Watch FREE Internet TV and Listen FREE Internet Radio with dp - IPTV and Radio\" width=\"728\" height=\"90\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Part_2_%E2%80%93_Make_a_WordPress_plugin_Advanced_method_Introducing_the_setting_feature\"><\/span>Part 2 &#8211; Make a WordPress plugin Advanced method: Introducing the setting feature<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here is an updated version of the plugin that includes a settings page where the playlist URL can be set:<\/p>\n<pre id=\"code-snippet-source-29\" class=\"code-snippet-source linkable-line-numbers\"><code class=\"language-php line-numbers\">&lt;?php\n\n\/*\r\n* Plugin Name: YouTube Playlist Plugin\r\n* Plugin URI: https:\/\/example.com\/youtube-playlist-plugin\r\n* Description: Displays a YouTube playlist on your WordPress site.\r\n* Version: 1.0\r\n* Author: Your Name\r\n* Author URI: https:\/\/example.com\r\n*\/\r\n\r\nfunction youtube_playlist_shortcode($atts) {\r\n$atts = shortcode_atts(array(\r\n&#039;channel_url&#039; =&gt; get_option(&#039;youtube_playlist_url&#039;),\r\n), $atts);\r\n\r\n$channel_url = $atts[&#039;channel_url&#039;];\r\n\r\n\/\/ Extract the playlist ID from the channel URL\r\npreg_match(&#039;\/list=([^&amp;]+)\/&#039;, $channel_url, $matches);\r\n$playlist_id = $matches[1];\r\n\r\n\/\/ Build the embed URL for the playlist\r\n$embed_url = &#039;https:\/\/www.youtube.com\/embed\/videoseries?list=&#039; . $playlist_id;\r\n\r\n\/\/ Return the embed code for the playlist\r\nreturn &#039;&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;&#039; . $embed_url . &#039;&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;\/iframe&gt;&#039;;\r\n}\r\nadd_shortcode(&#039;youtube_playlist&#039;, &#039;youtube_playlist_shortcode&#039;);\r\n\r\nfunction youtube_playlist_settings_init() {\r\n\/\/ Add a new section to the Settings &gt; General page\r\nadd_settings_section(\r\n&#039;youtube_playlist_section&#039;,\r\n&#039;YouTube Playlist Settings&#039;,\r\n&#039;youtube_playlist_section_callback&#039;,\r\n&#039;general&#039;\r\n);\r\n\r\n\/\/ Add a new field to the section\r\nadd_settings_field(\r\n&#039;youtube_playlist_url&#039;,\r\n&#039;Playlist URL&#039;,\r\n&#039;youtube_playlist_url_callback&#039;,\r\n&#039;general&#039;,\r\n&#039;youtube_playlist_section&#039;\r\n);\r\n\r\n\/\/ Register the setting\r\nregister_setting(&#039;general&#039;, &#039;youtube_playlist_url&#039;);\r\n}\r\nadd_action(&#039;admin_init&#039;, &#039;youtube_playlist_settings_init&#039;);\r\n\r\nfunction youtube_playlist_section_callback() {\r\necho &#039;Enter the URL of the YouTube playlist you want to display on your site:&#039;;\r\n}\r\n\r\nfunction youtube_playlist_url_callback() {\r\n$youtube_playlist_url = get_option(&#039;youtube_playlist_url&#039;);\r\necho &#039;&lt;input type=&quot;text&quot; name=&quot;youtube_playlist_url&quot; value=&quot;&#039; . $youtube_playlist_url . &#039;&quot; class=&quot;regular-text&quot;&gt;&#039;;\r\n}<\/code><\/pre>\n<p>In this variant of the plugin you can read from the code that we have implemented a couple of functions that add:<\/p>\n<ol>\n<li>Additional functions in the WordPress back-end settings in the &#8220;general&#8221; page for the &#8220;YouTube Playlist Settings&#8221;.\n<\/li>\n<li>Added a field to enter the playlist URL in setting&gt;general page with the label: &#8220;Enter the URL of the YouTube playlist you want to display on your site:&#8221; and the input field: &#8220;Playlist URL.&#8221;\n<\/li>\n<li>A function to record the additional settings<\/li>\n<\/ol>\n<p>Here is your new plugin for YouTube playlist from the back-end dashboard of WordPress.<\/p>\n<p><a href=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2023\/01\/here-it-is-your-new-youtube-plugin-activated-and-functional.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/179518846573\/make-a-wordpress-plugin-level-3.webp?p=4816&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/bfd856b3655d\/make-a-wordpress-plugin-level-3.webp?p=4816&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/aa69df71f235\/make-a-wordpress-plugin-level-3.webp?p=4816&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/01363fadc3d8\/make-a-wordpress-plugin-level-3.webp?p=4816&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/26f0b9208318\/make-a-wordpress-plugin-level-3.webp?p=4816&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/8dca0a8dee52\/make-a-wordpress-plugin-level-3.webp?p=4816&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/f6514e18ac1c\/make-a-wordpress-plugin-level-3.webp?p=4816&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/b98ff125f658\/make-a-wordpress-plugin-level-3.webp?p=4816&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/e01a1565513b\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/bba59ea7d3c9\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/a73d4d5f327e\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1600&h=0&c=0 1600w\" class=\"alignnone wp-image-4827 size-full\" title=\"\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMy8wMS9oZXJlLWl0LWlzLXlvdXItbmV3LXlvdXR1YmUtcGx1Z2luLWFjdGl2YXRlZC1hbmQtZnVuY3Rpb25hbC5qcGc\/baf975993945\/make-a-wordpress-plugin-level-3.webp?p=4816\" alt=\"here it is your new youtube plugin activated and functional\" width=\"900\" height=\"368\" \/><\/a><\/p>\n<p>You can set the playlist URL by going to Settings &gt; General and scrolling down to the &#8220;YouTube Playlist Settings&#8221; section.<\/p>\n<p><a href=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/back-end-settings-added-from-our-new-YouTube-Playlist-plugin.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/3ce0f903930e\/make-a-wordpress-plugin-level-3.webp?p=4816&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/eed7b20cb43f\/make-a-wordpress-plugin-level-3.webp?p=4816&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/40b90ae3ac55\/make-a-wordpress-plugin-level-3.webp?p=4816&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/1562c9fd80ec\/make-a-wordpress-plugin-level-3.webp?p=4816&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/aa163bfffd0c\/make-a-wordpress-plugin-level-3.webp?p=4816&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/633f09fdb714\/make-a-wordpress-plugin-level-3.webp?p=4816&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/dec880769bb7\/make-a-wordpress-plugin-level-3.webp?p=4816&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/878e6cbc669f\/make-a-wordpress-plugin-level-3.webp?p=4816&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/695a1ee0a6c9\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/bd97a6d41453\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/a13a9e6adba6\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1600&h=0&c=0 1600w\" class=\"alignnone wp-image-4817 size-full\" title=\"\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9iYWNrLWVuZC1zZXR0aW5ncy1hZGRlZC1mcm9tLW91ci1uZXctWW91VHViZS1QbGF5bGlzdC1wbHVnaW4uanBn\/ec13a3a996a7\/make-a-wordpress-plugin-level-3.webp?p=4816\" alt=\"back end settings added from our new YouTube Playlist plugin\" width=\"997\" height=\"655\" \/><\/a><\/p>\n<p>To display the playlist on your site, use the [youtube_playlist] shortcode in any post or page. The shortcode does not need any attributes, as it will automatically use the playlist URL set in the plugin settings.<\/p>\n<p><a href=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/here-is-the-shortcode-iserted-in-elementor-and-it-will-be-the-same-if-you-insert-in-the-calssic-or-block-editor.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/d9165af91e69\/make-a-wordpress-plugin-level-3.webp?p=4816&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/3ca2496ef3c2\/make-a-wordpress-plugin-level-3.webp?p=4816&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/72587d8bc57d\/make-a-wordpress-plugin-level-3.webp?p=4816&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/e41b463c0dfc\/make-a-wordpress-plugin-level-3.webp?p=4816&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/fe5212df3190\/make-a-wordpress-plugin-level-3.webp?p=4816&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/cc9bafbf0a2c\/make-a-wordpress-plugin-level-3.webp?p=4816&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/fedd4f22f3ce\/make-a-wordpress-plugin-level-3.webp?p=4816&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/90d6ffde95c2\/make-a-wordpress-plugin-level-3.webp?p=4816&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/75a4c4929ce8\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/244f673cda10\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/bf1bdab957c4\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1600&h=0&c=0 1600w\" class=\"alignnone wp-image-4818 size-full\" title=\"\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLXRoZS1zaG9ydGNvZGUtaXNlcnRlZC1pbi1lbGVtZW50b3ItYW5kLWl0LXdpbGwtYmUtdGhlLXNhbWUtaWYteW91LWluc2VydC1pbi10aGUtY2Fsc3NpYy1vci1ibG9jay1lZGl0b3IuanBn\/5cef6a2bd1d4\/make-a-wordpress-plugin-level-3.webp?p=4816\" alt=\"here is the shortcode iserted in elementor and it will be the same if you insert in the calssic or block editor\" width=\"900\" height=\"416\" \/><\/a><\/p>\n<p>Fantastic, now your playlist is much easier to set, anytime you like to change it. Below is an image to show how the plugin looks.<\/p>\n<p><a href=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/here-is-how-the-video-embed-shortcode-looks-from-the-front-end.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/ywAAAAAAQABAAACAUwAOw==\" fifu-lazy=\"1\" fifu-data-sizes=\"auto\" fifu-data-srcset=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/995fd9a87b35\/make-a-wordpress-plugin-level-3.webp?p=4816&w=75&h=0&c=0 75w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/b0157f2b01be\/make-a-wordpress-plugin-level-3.webp?p=4816&w=100&h=0&c=0 100w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/2675cafad1b6\/make-a-wordpress-plugin-level-3.webp?p=4816&w=150&h=0&c=0 150w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/f60a2ac34c6a\/make-a-wordpress-plugin-level-3.webp?p=4816&w=240&h=0&c=0 240w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/bfa206e17717\/make-a-wordpress-plugin-level-3.webp?p=4816&w=320&h=0&c=0 320w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/5bc12073b7ac\/make-a-wordpress-plugin-level-3.webp?p=4816&w=500&h=0&c=0 500w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/fe9de1b02e3a\/make-a-wordpress-plugin-level-3.webp?p=4816&w=640&h=0&c=0 640w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/49735c57c495\/make-a-wordpress-plugin-level-3.webp?p=4816&w=800&h=0&c=0 800w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/1b5502a774dd\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1024&h=0&c=0 1024w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/6b583f445927\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1280&h=0&c=0 1280w, https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/efc0b2c1eb2d\/make-a-wordpress-plugin-level-3.webp?p=4816&w=1600&h=0&c=0 1600w\" class=\"alignnone wp-image-4819 size-full\" title=\"\" fifu-data-src=\"https:\/\/wp.fifu.app\/danielepais.com\/aHR0cHM6Ly9kYW5pZWxlcGFpcy5jb20vam91cm5hbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMi8xMi9oZXJlLWlzLWhvdy10aGUtdmlkZW8tZW1iZWQtc2hvcnRjb2RlLWxvb2tzLWZyb20tdGhlLWZyb250LWVuZC5qcGc\/540c112e2e49\/make-a-wordpress-plugin-level-3.webp?p=4816\" alt=\"here is how the video embed shortcode looks from the front end\" width=\"900\" height=\"490\" \/><\/a><\/p>\n<p>In this third article we were able to see how a plugin can also have its own settings to better control its functioning.<\/p>\n<p>Well, that was the last part of this mini-series, at this point you can experiment some more by creating your own plugins that add useful features to your site and can be turned on and off whenever you like.<\/p>\n<p>Enjoy your creativity!<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Key_Web_Technology_Development_Keywords\"><\/span>Key Web Technology &amp; Development Keywords<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>\n<p><strong>WordPress<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0An open-source Content Management System (CMS) and PHP framework that powers dynamic websites and allows modular extension via custom themes and plugins.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Plugin<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0A self-contained piece of software or code snippet that hooks into a web platform to add specific features, tools, or functionality without modifying core files.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>PHP<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0The server-side scripting language executed on the web server to run logic, connect to databases, and dynamically generate HTML content for the browser.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Hooks<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0WordPress core architectural mechanisms\u2014comprising\u00a0<strong>Actions<\/strong>\u00a0(to execute custom code at specific events) and\u00a0<strong>Filters<\/strong>\u00a0(to modify data before it is rendered or stored)\u2014that enable safe, non-destructive customization.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Shortcode<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0A small macro tag (e.g.,\u00a0<code>[custom_element]<\/code>) created in code that allows users to easily embed dynamic UI elements or functional scripts directly into posts, pages, or widgets.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Sanitization<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0The security process of cleansing, validating, and filtering raw user input before storing it in the database to prevent vulnerabilities like SQL Injection.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Escaping<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0The practice of encoding data before rendering it to the browser&#8217;s HTML output, ensuring that untrusted content cannot execute malicious scripts (preventing Cross-Site Scripting \/ XSS).<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>UI<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0<strong>User Interface<\/strong>\u2014the visual elements, layouts, forms, buttons, and control panels through which a user interacts with a software application or website.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Dashboard<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0The administrative back-end interface (wp-admin) where site administrators configure options, manage plugins, and control site settings.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Database<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0The organized relational storage system (such as MySQL or MariaDB) used to store persistent site configurations, user data, posts, and plugin settings.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>CSS<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0<strong>Cascading Style Sheets<\/strong>\u2014the technology used to style and structure the visual presentation, color schemes, typography, and responsive layout of web interfaces.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>JavaScript<\/strong><\/p>\n<ul>\n<li>\n<p><em>Meaning:<\/em>\u00a0The programming language executed client-side in the browser to create dynamic interactions, asynchronous updates (AJAX), and interactive UI behaviors.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Make a WordPress plugin: : For this week&#8217;s WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..<\/p>\n","protected":false},"author":1,"featured_media":4821,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[561,233],"tags":[1156,1155,147,213],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Make a WordPress plugin: : For this week&#039;s WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Daniele Pais\"\/>\n\t<meta name=\"google-site-verification\" content=\"googleb91c9505ed997b99\" \/>\n\t<meta name=\"msvalidate.01\" content=\"AD1C96C338E051848BE08C67378B20CA\" \/>\n\t<meta name=\"keywords\" content=\"make a plugin,plugin development,tutorial,wordpress,web development\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Daniele Pais Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Quick and easy make a WordPress Plugin \u2013 level 3 | dp\" \/>\n\t\t<meta property=\"og:description\" content=\"Make a WordPress plugin: : For this week&#039;s WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t\t<meta property=\"og:image:height\" content=\"506\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-01-12T10:05:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-10T17:39:18+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@daniele_pais\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Quick and easy make a WordPress Plugin \u2013 level 3 | dp\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Make a WordPress plugin: : For this week&#039;s WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#article\",\"name\":\"Quick and easy make a WordPress Plugin \\u2013 level 3 | Phuket Web Design\",\"headline\":\"Quick and easy make a WordPress Plugin \\u2013 level 3\",\"author\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Make-a-WordPress-plugin-level-3.jpg\",\"width\":900,\"height\":506,\"caption\":\"Make a WordPress plugin level 3\"},\"datePublished\":\"2023-01-12T17:05:52+07:00\",\"dateModified\":\"2026-08-11T00:39:18+07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#webpage\"},\"articleSection\":\"Web Development, Wordpress, make a plugin, plugin development, tutorial, wordpress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/danielepais.com\\\/journal\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/#listItem\",\"name\":\"Web\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/#listItem\",\"position\":2,\"name\":\"Web\",\"item\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/wordpress\\\/#listItem\",\"name\":\"Wordpress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/wordpress\\\/#listItem\",\"position\":3,\"name\":\"Wordpress\",\"item\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/wordpress\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#listItem\",\"name\":\"Quick and easy make a WordPress Plugin \\u2013 level 3\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/#listItem\",\"name\":\"Web\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#listItem\",\"position\":4,\"name\":\"Quick and easy make a WordPress Plugin \\u2013 level 3\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/category\\\/web\\\/wordpress\\\/#listItem\",\"name\":\"Wordpress\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#person\",\"name\":\"Daniele Pais\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Daniele Pais\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/\",\"name\":\"Daniele Pais\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Daniele Pais\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#webpage\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/\",\"name\":\"Quick and easy make a WordPress Plugin \\u2013 level 3 | Phuket Web Design\",\"description\":\"Make a WordPress plugin: : For this week's WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/author\\\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Make-a-WordPress-plugin-level-3.jpg\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#mainImage\",\"width\":900,\"height\":506,\"caption\":\"Make a WordPress plugin level 3\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/quick-and-easy-make-a-wordpress-plugin-level-3\\\/#mainImage\"},\"datePublished\":\"2023-01-12T17:05:52+07:00\",\"dateModified\":\"2026-08-11T00:39:18+07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#website\",\"url\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/\",\"name\":\"Phuket Web Design\",\"description\":\"Digital Print\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/danielepais.com\\\/journal\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Quick and easy make a WordPress Plugin \u2013 level 3 | Phuket Web Design","description":"Make a WordPress plugin: : For this week's WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..","canonical_url":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/","robots":"max-image-preview:large","keywords":"make a plugin,plugin development,tutorial,wordpress,web development","webmasterTools":{"google-site-verification":"googleb91c9505ed997b99","msvalidate.01":"AD1C96C338E051848BE08C67378B20CA","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#article","name":"Quick and easy make a WordPress Plugin \u2013 level 3 | Phuket Web Design","headline":"Quick and easy make a WordPress Plugin \u2013 level 3","author":{"@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author"},"publisher":{"@id":"https:\/\/danielepais.com\/journal\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg","width":900,"height":506,"caption":"Make a WordPress plugin level 3"},"datePublished":"2023-01-12T17:05:52+07:00","dateModified":"2026-08-11T00:39:18+07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#webpage"},"isPartOf":{"@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#webpage"},"articleSection":"Web Development, Wordpress, make a plugin, plugin development, tutorial, wordpress"},{"@type":"BreadcrumbList","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal#listItem","position":1,"name":"Home","item":"https:\/\/danielepais.com\/journal","nextItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/#listItem","name":"Web"}},{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/#listItem","position":2,"name":"Web","item":"https:\/\/danielepais.com\/journal\/category\/web\/","nextItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/wordpress\/#listItem","name":"Wordpress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/wordpress\/#listItem","position":3,"name":"Wordpress","item":"https:\/\/danielepais.com\/journal\/category\/web\/wordpress\/","nextItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#listItem","name":"Quick and easy make a WordPress Plugin \u2013 level 3"},"previousItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/#listItem","name":"Web"}},{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#listItem","position":4,"name":"Quick and easy make a WordPress Plugin \u2013 level 3","previousItem":{"@type":"ListItem","@id":"https:\/\/danielepais.com\/journal\/category\/web\/wordpress\/#listItem","name":"Wordpress"}}]},{"@type":"Person","@id":"https:\/\/danielepais.com\/journal\/#person","name":"Daniele Pais","image":{"@type":"ImageObject","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g","width":96,"height":96,"caption":"Daniele Pais"}},{"@type":"Person","@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author","url":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/","name":"Daniele Pais","image":{"@type":"ImageObject","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/86bedf0ab24a6d4a4f32de230cc797ef?s=96&d=mm&r=g","width":96,"height":96,"caption":"Daniele Pais"}},{"@type":"WebPage","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#webpage","url":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/","name":"Quick and easy make a WordPress Plugin \u2013 level 3 | Phuket Web Design","description":"Make a WordPress plugin: : For this week's WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/danielepais.com\/journal\/#website"},"breadcrumb":{"@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#breadcrumblist"},"author":{"@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author"},"creator":{"@id":"https:\/\/danielepais.com\/journal\/author\/_-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2--2\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg","@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#mainImage","width":900,"height":506,"caption":"Make a WordPress plugin level 3"},"primaryImageOfPage":{"@id":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/#mainImage"},"datePublished":"2023-01-12T17:05:52+07:00","dateModified":"2026-08-11T00:39:18+07:00"},{"@type":"WebSite","@id":"https:\/\/danielepais.com\/journal\/#website","url":"https:\/\/danielepais.com\/journal\/","name":"Phuket Web Design","description":"Digital Print","inLanguage":"en-US","publisher":{"@id":"https:\/\/danielepais.com\/journal\/#person"}}]},"og:locale":"en_US","og:site_name":"Daniele Pais Blog","og:type":"article","og:title":"Quick and easy make a WordPress Plugin \u2013 level 3 | dp","og:description":"Make a WordPress plugin: : For this week's WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..","og:url":"https:\/\/danielepais.com\/journal\/quick-and-easy-make-a-wordpress-plugin-level-3\/","og:image":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg","og:image:secure_url":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg","og:image:width":900,"og:image:height":506,"article:published_time":"2023-01-12T10:05:52+00:00","article:modified_time":"2026-08-10T17:39:18+00:00","twitter:card":"summary","twitter:site":"@daniele_pais","twitter:title":"Quick and easy make a WordPress Plugin \u2013 level 3 | dp","twitter:description":"Make a WordPress plugin: : For this week's WordPress plugin, I would like to show you how you can have a plugin that has some sort of setting that..","twitter:image":"https:\/\/danielepais.com\/journal\/wp-content\/uploads\/2022\/12\/Make-a-WordPress-plugin-level-3.jpg"},"aioseo_meta_data":{"post_id":"4816","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"make a WordPress Plugin","score":87,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":4},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":9,"maxScore":9,"error":0},"keyphraseInImageAlt":{"score":9,"maxScore":9,"error":0},"keywordDensity":{"score":0,"type":"low","maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":"#post_title #separator_sa dp","og_description":"#post_excerpt","og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2022-12-25 04:23:16","updated":"2026-08-11 06:02:05","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/posts\/4816"}],"collection":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/comments?post=4816"}],"version-history":[{"count":2,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/posts\/4816\/revisions"}],"predecessor-version":[{"id":9299,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/posts\/4816\/revisions\/9299"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/media\/4821"}],"wp:attachment":[{"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/media?parent=4816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/categories?post=4816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danielepais.com\/journal\/wp-json\/wp\/v2\/tags?post=4816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}