{"id":1822,"date":"2024-09-25T08:27:42","date_gmt":"2024-09-25T06:27:42","guid":{"rendered":"https:\/\/skopje.wordcamp.org\/2024\/?post_type=wcb_session&#038;p=1822"},"modified":"2024-10-15T17:11:27","modified_gmt":"2024-10-15T15:11:27","slug":"wordpress-gems-for-devs-fresh-new-features-youll-actually-want-to-use","status":"publish","type":"wcb_session","link":"https:\/\/skopje.wordcamp.org\/2024\/session\/wordpress-gems-for-devs-fresh-new-features-youll-actually-want-to-use\/","title":{"rendered":"WordPress gems for devs: fresh new features you&#8217;ll actually want to use (language: EN )"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Latest WordPress editions bring some real treats for developers. We&#8217;ll take a closer look at the innovative HTML and Interactivity APIs as the most significant game changers in today\u2019s WordPress development, with a splash of WP-CLI magic for fast, more fun development.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There might be a surprise or two.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prepare for WordCamp Skopje 2024 workshop<a href=\"https:\/\/github.com\/zzap\/WordPress-Gems-for-devs\/blob\/conf\/WC-skopje-2024\/wc-skopje-2024.md#prepare-for-wordcamp-skopje-2024-workshop\"><\/a><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements<a href=\"https:\/\/github.com\/zzap\/WordPress-Gems-for-devs\/blob\/conf\/WC-skopje-2024\/wc-skopje-2024.md#requirements\"><\/a><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Latest WordPress installed in local environment.<\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/themes\/twentytwentytwo\/\">Twenty Twenty Two<\/a>\u00a0theme &#8211; because it&#8217;s the last theme that uses style.css for actual styles.<\/li>\n\n\n\n<li><a href=\"https:\/\/docs.npmjs.com\/downloading-and-installing-node-js-and-npm\">NPM and NodeJS<\/a>\u00a0&#8211; for creating blocks<\/li>\n\n\n\n<li><a href=\"https:\/\/make.wordpress.org\/cli\/handbook\/guides\/installing\/\">WP-CLI<\/a>\u00a0&#8211; not necessary but we&#8217;re going to use it for quick scaffolding the plugin.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Preparation<a href=\"https:\/\/github.com\/zzap\/WordPress-Gems-for-devs\/blob\/conf\/WC-skopje-2024\/wc-skopje-2024.md#preparation\"><\/a><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install the latest WordPress in your local environment (preferably\u00a0<a href=\"http:\/\/wpgems.loc\/\">http:\/\/wpgems.loc<\/a>\u00a0but it can be anything else you want)<\/li>\n\n\n\n<li>Copy content of the\u00a0<a href=\"https:\/\/github.com\/zzap\/WordPress-Gems-for-devs\/blob\/conf\/WC-skopje-2024\/db\/hello-world.txt\">db\/hello-world.txt<\/a>\u00a0and paste it in Hello World post. If your local URL is not\u00a0<a href=\"http:\/\/wpgems.loc\/\">http:\/\/wpgems.loc<\/a>, change it to what you chose.<\/li>\n\n\n\n<li>Install (if not present in your install) and activate\u00a0<a href=\"https:\/\/wordpress.org\/themes\/twentytwentytwo\/\">Twenty Twenty Two<\/a>\u00a0theme (you can use any other theme where it&#8217;s easy enough to add a snippet of CSS code).<\/li>\n\n\n\n<li>In theme&#8217;s style.css add the following code:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">a[rel~=nofollow] {\n background-color: red !important;\n color: white !important;\n}<\/pre>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Check in Hello World post if the styles are applied (all links but one should be highlighted)<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-wordcamp-session-speakers\"><span class=\"wp-block-wordcamp-session-speakers__byline\">Presented by<\/span><span class=\"wp-block-wordcamp-session-speakers__name\"><a href=\"https:\/\/skopje.wordcamp.org\/2024\/speaker\/milana-cap\/\">Milana Cap<\/a><\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>Latest WordPress editions bring some real treats for developers. We&#8217;ll take a closer look at the innovative HTML and Interactivity APIs as the most significant game changers in today\u2019s WordPress development, with a splash of WP-CLI magic for fast, more fun development. There might be a surprise or two. Prepare for WordCamp Skopje 2024 workshop &hellip; <a href=\"https:\/\/skopje.wordcamp.org\/2024\/session\/wordpress-gems-for-devs-fresh-new-features-youll-actually-want-to-use\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress gems for devs: fresh new features you&#8217;ll actually want to use (language: EN )&#8221;<\/span><\/a><\/p>\n","protected":false},"author":7923389,"featured_media":0,"template":"","meta":{"_wcpt_session_time":1729339800,"_wcpt_session_duration":5100,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1821],"footnotes":""},"session_track":[19],"session_category":[20],"class_list":["post-1822","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-workshop","wcb_session_category-development"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"October 19, 2024","time":"2:10 pm"},"session_speakers":[{"id":"1821","slug":"milana-cap","name":"Milana Cap","link":"https:\/\/skopje.wordcamp.org\/2024\/speaker\/milana-cap\/"}],"session_cats_rendered":"Development","_links":{"self":[{"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/1822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/1822\/revisions"}],"predecessor-version":[{"id":3082,"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/1822\/revisions\/3082"}],"speakers":[{"embeddable":true,"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/speakers\/1821"}],"author":[{"embeddable":true,"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wporg\/v1\/users\/milana_cap"}],"wp:attachment":[{"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/media?parent=1822"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_track?post=1822"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/skopje.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_category?post=1822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}