<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code Snippet Archives - The NOKIA Blog</title>
	<atom:link href="https://thenokiablog.com/tag/code-snippet/feed/" rel="self" type="application/rss+xml" />
	<link>https://thenokiablog.com/tag/code-snippet/</link>
	<description></description>
	<lastBuildDate>Sun, 07 Jun 2026 17:11:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://thenokiablog.com/wp-content/uploads/2024/03/cropped-Cjdowner-Cryptocurrency-Flat-ICON-ICX.512-32x32.png</url>
	<title>Code Snippet Archives - The NOKIA Blog</title>
	<link>https://thenokiablog.com/tag/code-snippet/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Quick Tip: How To Use WordPress Block Notes</title>
		<link>https://thenokiablog.com/quick-tip-how-to-use-wordpress-block-notes/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sun, 07 Jun 2026 17:11:45 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Block Editor]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Gutenberg]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/quick-tip-how-to-use-wordpress-block-notes/</guid>

					<description><![CDATA[<p>The WordPress Block Editor is great for creating custom layouts. There are plenty of core and...</p>
<p>The post <a href="https://thenokiablog.com/quick-tip-how-to-use-wordpress-block-notes/">Quick Tip: How To Use WordPress Block Notes</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The WordPress Block Editor is great for creating custom layouts. There are plenty of core and third-party blocks to choose from. They bring a world of possibilities &ndash; all without writing a line of code. Add a block theme, and get a browser-based design and development experience.</p>
<p>There is one valuable thing that WordPress blocks left behind, however: code commenting. They&rsquo;re common when building custom PHP templates and writing CSS. We use them to provide context for what a code snippet does or why it was implemented.</p>
<p>There are times when that extra context is useful in the Block Editor. For example, you might want to share information about a block with clients or colleagues. Perhaps it&rsquo;s locked or requires a specific setting to display correctly. Sometimes we need to remind ourselves why we did something.</p>
<p>That&rsquo;s where the WordPress Notes feature comes in handy. Use it to add notes to specific blocks and even keep a threaded conversation. It&rsquo;s another way to improve your editorial workflow and provide a quick reference for users.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>Here&rsquo;s a look at how the feature works. We&rsquo;ll show you how to add and retrieve notes to any block on your site. In addition, we&rsquo;ll share a few tips and hidden gems worth knowing about.</p>
<h2><span id="Sample_Project_Lets_Collaborate_With_Blocks">Sample Project: Let&rsquo;s Collaborate With Blocks</span></h2>
<p>The WordPress Notes feature is part of the larger Gutenberg Collaboration phase. At the very least, it&rsquo;s a way to add reminders or have an asynchronous discussion with other site users. That second part is what we&rsquo;ll focus on here.</p>
<p>We&rsquo;ll simulate a discussion of colleagues regarding a Group block. We promise it will be quick and easy!</p>
<h3><span id="Step_1_Choose_a_Block">Step 1: Choose a Block</span></h3>
<p>The first step is to open a page or post in the Block Editor and <strong>select a block</strong>. We&rsquo;ll choose a Group block at the top of the page. We want to discuss its styling with a colleague.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p><img fetchpriority="high" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/06/quick-tip-how-to-use-wordpress-block-notes.webp" alt="We chose the Group block to add our note" width="900" height="400"></p>
<h3><span id="Step_2_Add_a_Note">Step 2: Add a Note</span></h3>
<p>Now that we know which block we want to discuss, it&rsquo;s time to add a note.</p>
<ol>
<li>Click on the <strong>Options</strong> menu (<strong>&#8942;</strong>) and select <strong>Add note</strong>.</li>
<li>A note dialog appears on the right side of the screen. We can add our note in this space.</li>
<li>Click the <strong>Add note</strong> button to save the note.</li>
</ol>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/06/quick-tip-how-to-use-wordpress-block-notes-1.webp" alt="The Add Note feature lives in the block Options menu" width="900" height="400"></p>
<p>For reference, we asked if our Group block should have a background color to stand out from the rest of the content.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/06/quick-tip-how-to-use-wordpress-block-notes-2.webp" alt="We add a note to our Group block" width="900" height="400"></p>
<p>Next, we&rsquo;ll wait for our colleague to reply to our note. When they click the block in question, they&rsquo;ll see a user avatar that indicates a note is available.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2026/06/quick-tip-how-to-use-wordpress-block-notes-3.webp" alt="An avatar icon signals that a note is available for this block" width="900" height="400"></p>
<h3><span id="Step_3_Our_Colleague_Replies">Step 3: Our Colleague Replies</span></h3>
<p><strong>Here&rsquo;s a handy feature:</strong> WordPress will send you an email when someone replies to your note (it&rsquo;s based on the existing comment system). As such, we don&rsquo;t have to keep checking our page for the latest news.</p>
<p>Our colleague replied to our note and acted on our design suggestion. When we visit the page, we notice that their avatar has also been added to the block&rsquo;s note notification.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2026/06/quick-tip-how-to-use-wordpress-block-notes-4.webp" alt="Our colleague replied to the block note" width="900" height="400"></p>
<h3><span id="Step_4_Reply_and_Resolve">Step 4: Reply and Resolve</span></h3>
<p>We love what our colleague did to dress up the Group block on the page. The last steps are to reply and mark the note as resolved.</p>
<p>To resolve the note, we&rsquo;ll <strong>click the checkmark</strong> on the upper right of the dialog. Keep in mind that the note will stay in place unless we manually delete it from the block.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2026/06/quick-tip-how-to-use-wordpress-block-notes-5.webp" alt="We marked our note as resolved. It will stay attached to the block until we remove it" width="900" height="400"></p>
<h2><span id="An_Easy_Way_To_Collaborate_in_WordPress">An Easy Way To Collaborate in WordPress</span></h2>
<p>The WordPress Notes feature is a great way to relay information to others or remind yourself of something important. And it will continue to be enhanced as more collaborative features are added to the content management system (CMS).</p>
<p>Even better, you don&rsquo;t need a plugin to get started &ndash; it&rsquo;s already built into WordPress. That being the case, there are ways to customize the experience. We recommend checking out this guide to tapping into that potential.</p>
<p>Whether you&rsquo;re part of a team or working solo, give WordPress Notes a try. You may wonder how you lived without it!</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/quick-tip-how-to-use-wordpress-block-notes/">Quick Tip: How To Use WordPress Block Notes</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>A New Choice: Use an Existing Plugin or Vibe Code Your Own?</title>
		<link>https://thenokiablog.com/a-new-choice-use-an-existing-plugin-or-vibe-code-your-own/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sun, 07 Jun 2026 14:38:29 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress AI]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/a-new-choice-use-an-existing-plugin-or-vibe-code-your-own/</guid>

					<description><![CDATA[<p>The process for adding functionality to your WordPress website has been the same for years. You...</p>
<p>The post <a href="https://thenokiablog.com/a-new-choice-use-an-existing-plugin-or-vibe-code-your-own/">A New Choice: Use an Existing Plugin or Vibe Code Your Own?</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The process for adding functionality to your WordPress website has been the same for years. You find a plugin that fits your needs (or gets you close) and install it. It&rsquo;s no wonder we have sites with dozens of plugins &ndash; many of which go unused.</p>
<p>Sure, building a custom plugin has always been an option. That&rsquo;s fine for scenarios that require a code snippet. However, complex tasks were reserved for highly-skilled developers. This meant that most of us had to settle for whatever was available on the market.</p>
<p>AI has swooped in to change that calculus. Advanced models like Claude Code enable even novice developers to build powerful, multi-layered projects. These days, it&rsquo;s more about knowing what to ask for than understanding every line of code. We now have a tool that does the heavy lifting for us.</p>
<p>This technological shift gives new life to an old question:<em> Should you use an existing plugin or build one yourself?</em> AI certainly expands the potential scope of what&rsquo;s possible, thus calling into question the need for third-party tools.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>But don&rsquo;t go on a vibe-coding rampage just yet! There are some important considerations when making this decision. Let&rsquo;s talk about them.</p>
<h2><span id="Which_Approach_Best_Fits_Your_Needs">Which Approach Best Fits Your Needs?</span></h2>
<p>There are tens of thousands of WordPress plugins on the market. Some utility-based options are very niche, but most plugins are built to serve a broad range of use cases. Product makers must account for the many ways people use WordPress.</p>
<p>The downside of that approach is that a plugin might be more than what you need, or fall short in some areas. The old &ldquo;too much or not enough&rdquo; conundrum has long been a part of the plugin experience.</p>
<p>Building a plugin with AI, on the other hand, lets you narrow the focus. You can include only the features and functionality your project needs.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>For example, let&rsquo;s say you need a feature that only applies to one WooCommerce product. There is probably a third-party extension to fit this purpose. But a single-purpose plugin could do the same thing without the overhead or the cost of a yearly renewal. AI makes the process quick and easy.</p>
<p>On the other hand, needs evolve during a project&rsquo;s lifecycle. Perhaps your client will need similar functionality on more products down the line. A vibe-coded solution may not be quite as flexible in that case. You may need to refactor the plugin to meet new requirements.</p>
<p>As such, it&rsquo;s important to consider your current and future needs. If scope creep is a concern, a third-party plugin may be a better choice.</p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/06/a-new-choice-use-an-existing-plugin-or-vibe-code-your-own.webp" alt="In some cases, a custom WordPress plugin will be the better option for your project" width="900" height="600"></p>
<h2><span id="Do_You_Want_the_Maintenance_Responsibilities">Do You Want the Maintenance Responsibilities?</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>An existing WordPress plugin may not solve your every need. However, it takes you off the hook regarding future maintenance. It&rsquo;s the plugin author&rsquo;s responsibility to fix bugs and build new features.</p>
<p>Naturally, that&rsquo;s a double-edged sword. Some product makers are more responsive to issues than others. In addition, more than a few plugins have been abandoned over the years. And sometimes a product goes in a direction you don&rsquo;t support. You don&rsquo;t want to be left to pick up the pieces or placate clients when there&rsquo;s a problem.</p>
<p>It&rsquo;s all about control and responsibility. If your project (or personality) requires absolute control, then building it yourself makes sense. That way, you know what&rsquo;s going on every step of the way. You don&rsquo;t have to wait for someone else to take action.</p>
<p>Still, we should note that vibe coding plugins result in a higher level of responsibility. It means checking for security holes, compatibility testing, and acting as your own technical support staff. The practice puts everything back into your capable hands.</p>
<p>Kudos to you if this fits with your philosophy! To be safe, we also suggest thinking about how these responsibilities scale. Maintaining a single plugin for a client is one thing. The upkeep of dozens of plugins spread over dozens of websites is another. Make sure you have processes in place to keep things running smoothly.</p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/06/a-new-choice-use-an-existing-plugin-or-vibe-code-your-own-1.webp" alt="Building custom plugins requires future maintenance" width="900" height="600"></p>
<h2><span id="Can_You_Build_It_Better">Can You Build It Better?</span></h2>
<p>The final consideration on our list is simple. The idea is that just because you <em>can</em> build something with AI, it doesn&rsquo;t mean you <em>should</em> do so. Sometimes, there are established products that do the job well enough. Why reinvent the wheel?</p>
<p>The scope and depth of a plugin play a role here. Consider a popular plugin like Jetpack. It does a lot of things and has been around for a long time. Sure, you could vibe code your own suite of similar functions. However, ask yourself if you want to take on a project of that magnitude, or if it&rsquo;s even worth the effort. The same could be said for Yoast SEO, Gravity Forms, and other flagship products.</p>
<p>That being said, you could reasonably use AI to recreate specific aspects of a plugin. For example, building a social sharing plugin that includes a few of the missing features you want. Smaller and more focused projects are better in most cases. And there&rsquo;s also an opportunity to build your own extensions of an existing plugin.</p>
<p>There are also scenarios when your needs are very specific, and there aren&rsquo;t any great options available. It&rsquo;s here where vibe coding really begins to shine. You can take your idea to your favorite AI model and build it from scratch. It&rsquo;s empowering for those working with clients!</p>
<p>The bottom line is to use AI when it&rsquo;s beneficial. You might be able to build the next WooCommerce, but what&rsquo;s the payoff? Instead, look for opportunities that help you level up.</p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/06/a-new-choice-use-an-existing-plugin-or-vibe-code-your-own-2.webp" alt="Building a niche plugin can be more performant than installing third-party options" width="900" height="600"></p>
<h2><span id="There_Are_Endless_Plugin_Options_and_Opportunities">There Are Endless Plugin Options and Opportunities</span></h2>
<p>The WordPress plugin ecosystem has an answer for many project requirements. It&rsquo;s one reason why the content management system (CMS) has remained so popular. Adding more capabilities has always been a few clicks away.</p>
<p>The introduction of AI into the development process has expanded those possibilities even further. If an existing plugin doesn&rsquo;t do everything you need, it&rsquo;s easier than ever to build your own solution. In many cases, AI works quickly and is cost-effective. It helps us provide clients with more personalized functionality.</p>
<p>All of this makes deciding to go custom more compelling. AI lowers the bar for building complex features. Sometimes that means fewer advantages for existing products.</p>
<p>Still, vibe coding isn&rsquo;t always the best option. It comes with a higher level of responsibility and adds to your long-term maintenance list. Plus, there are questions about code safety and stability. AI doesn&rsquo;t necessarily reduce those risks.</p>
<p>The good news is that you have a world of choices. We hope the considerations above help you make the right one!</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/a-new-choice-use-an-existing-plugin-or-vibe-code-your-own/">A New Choice: Use an Existing Plugin or Vibe Code Your Own?</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Why Humans Should Still Be a Part of WordPress Development</title>
		<link>https://thenokiablog.com/why-humans-should-still-be-a-part-of-wordpress-development/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sun, 03 May 2026 10:24:27 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Freelance Clients]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Agency]]></category>
		<category><![CDATA[WordPress AI]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/why-humans-should-still-be-a-part-of-wordpress-development/</guid>

					<description><![CDATA[<p>WordPress developers use AI for a wide range of tasks. We&#8217;re building custom plugins, troubleshooting code,...</p>
<p>The post <a href="https://thenokiablog.com/why-humans-should-still-be-a-part-of-wordpress-development/">Why Humans Should Still Be a Part of WordPress Development</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>WordPress developers use AI for a wide range of tasks. We&rsquo;re building custom plugins, troubleshooting code, and automating processes. It&rsquo;s all good stuff!</p>
<p>Adopting this technology has significantly changed our role. It&rsquo;s no longer about poring over each line of code. Now, we&rsquo;re closer to a symphony conductor, orchestrating projects as a large language model (LLM) does the dirty work.</p>
<p>We can certainly appreciate the increase in productivity. Fewer moments spent knee-deep in documentation or support forums means more time to get things done.</p>
<p>This also makes it tempting to remove humans from the picture. Some agencies and development shops have cut staffing in favor of AI. It makes sense on a few levels. An AI tool is cheaper than an employee or freelancer. And the gains in efficiency mean one person can do the work of many.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>But there&rsquo;s a fine line between increasing output and relying too heavily on AI. Here&rsquo;s why humans should still be a part of the process.</p>
<h2><span id="Knowledgeable_Humans_Are_Essential_for_Quality_Assurance">Knowledgeable Humans Are Essential for Quality Assurance</span></h2>
<p>There&rsquo;s something to be said for a well-trained eye. A seasoned developer can envision how an app should work. Their experience helps them effectively structure projects and avoid common pitfalls. They understand the importance of performance and security.</p>
<p>On the other hand, AI models are great at generating code, but they don&rsquo;t think like a human. They may use techniques that aren&rsquo;t as efficient for a particular purpose. They can also misinterpret what we&rsquo;re asking them to do. Like their human counterparts, AI tools aren&rsquo;t perfect.</p>
<p>Even the most advanced coding tools can make mistakes. It could be as simple as a syntax error. However, they may also produce work that doesn&rsquo;t account for edge cases or future maintenance.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>That&rsquo;s why a human should carefully review all AI output. Generated code should be tested with a mix of manual observation and automated tools. It&rsquo;s no different than a senior-level developer keeping a watchful eye on what their team is producing.</p>
<p>Remember, automation isn&rsquo;t an excuse to lower your standards. If anything, it provides an opportunity to squash bugs and refine functionality. Building with AI works best when done in tandem with a knowledgeable person.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/why-humans-should-still-be-a-part-of-wordpress-development.webp" alt="Don't rely on AI tools to get everything right"></p>
<h2><span id="Developers_Can_Shift_Their_Focus_to_the_Bigger_Picture">Developers Can Shift Their Focus to the Bigger Picture</span></h2>
<p>Solo developers and teams alike have traditionally struggled with the little things. Tight deadlines and shoestring budgets make it hard to get the details right. So often, it&rsquo;s a race to the finish line, rather than a quest to create the best possible result.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>The details are often what make a WordPress plugin or theme great. This happens when we go beyond software that merely works and focus on things like the user experience. AI gives us a chance to take a larger view of our projects.</p>
<p>We no longer have to write code by hand. That may bring a tear to your eye (or make you leap for joy). The bright side is that you now have time to create a comprehensive plan for each project. You can define how it looks, how it works, and how it will adapt to future needs. Even if you were doing these things before, you&rsquo;ll have a chance to think bigger and better.</p>
<p>All of a sudden, deadlines are a little less important. You&rsquo;re free to explore options and test them. Most of all, you can afford to make a mistake or two along the way. Rewriting a code snippet isn&rsquo;t a disaster that puts you behind. Rather, it was just a failed experiment you encountered along the way.</p>
<p>The additional room for creativity could be a difference-maker. We can go from &ldquo;we&rsquo;ll get to it later&rdquo; to &ldquo;let&rsquo;s get it right from the start&rdquo; &ndash; that&rsquo;s powerful for developers of all stripes.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/why-humans-should-still-be-a-part-of-wordpress-development-1.webp" alt="The time AI saves you can be spent planning your strategy"></p>
<h2><span id="People_and_AI_Are_Better_Together">People and AI Are Better Together</span></h2>
<p>Every WordPress developer should be exploring AI and how it can benefit their workflow. We&rsquo;re well beyond the point where it&rsquo;s just a curiosity. The future of our industry depends on how we use and adapt to this technology.</p>
<p>The sad truth is that AI will continue to cause some businesses to reduce their staff. It seems like an unavoidable consequence.</p>
<p>We must be careful, though. To borrow from WordPress terminology, this doesn&rsquo;t mean we should cut people out of the loop. Humans are still integral to building great software. As such, we shouldn&rsquo;t cede everything to the machines quite yet.</p>
<p>Things like quality control and holistic thinking are too important &ndash; and it&rsquo;s what we do best. We should use AI as a vehicle to put those traits into action. Doing so will put us on a path to greater efficiency and better outcomes.</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/why-humans-should-still-be-a-part-of-wordpress-development/">Why Humans Should Still Be a Part of WordPress Development</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Using my.WordPress.net to Experiment With AI</title>
		<link>https://thenokiablog.com/using-my-wordpress-net-to-experiment-with-ai/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sun, 03 May 2026 09:44:12 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Dashboard]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress AI]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Hosting]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/using-my-wordpress-net-to-experiment-with-ai/</guid>

					<description><![CDATA[<p>Experimenting with AI can be a great way to learn about its capabilities. And yes, it&#8217;s...</p>
<p>The post <a href="https://thenokiablog.com/using-my-wordpress-net-to-experiment-with-ai/">Using my.WordPress.net to Experiment With AI</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Experimenting with AI can be a great way to learn about its capabilities. And yes, it&rsquo;s also a lot of fun. A few prompts can take you in any direction you want to go &ndash; or to places you never expected.</p>
<p>WordPress is the ideal testing ground for AI tools. You can work with code, generate content, or discover new ways to manage your website. It could do wonders for your workflow.</p>
<p>However, you probably don&rsquo;t want to experiment in a production environment. There&rsquo;s always a chance that something will go wrong and affect users. It&rsquo;s not a risk worth taking!</p>
<p>Thankfully, there&rsquo;s a new option worth getting excited about. The recently released my.WordPress.net installs a copy of the content management system (CMS) directly in your browser. It&rsquo;s completely private, but can connect with various AI providers. It&rsquo;s the perfect place to get a feel for what you can do with AI inside WordPress.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>Let&rsquo;s take a quick tour of my.WordPress.net. We&rsquo;ll install it (super easy), connect it to AI, and start experimenting.</p>
<h2><span id="Sample_Project_Integrate_AI_Into_a_Local_WordPress_Install">Sample Project: Integrate AI Into a Local WordPress Install</span></h2>
<p>Today&rsquo;s project is dead simple. First, we&rsquo;ll install WordPress in our browser. Then, we&rsquo;ll add our ChatGPT API key to integrate with the AI model. Finally, we&rsquo;ll run a few test prompts to explore AI-based site management. Oh, and we&rsquo;re sure to have a few adventures along the way.</p>
<p>Here we go!</p>
<h3><span id="Step_1_Install_WordPress_in_Your_Browser">Step 1: Install WordPress in Your Browser</span></h3>
<p>We don&rsquo;t want to spoil any surprises, but you might be amazed at how easy it is to install WordPress in your web browser.</p>
<ol>
<li>Visit my.WordPress.net.</li>
<li><strong>Enter a name</strong> for your website when prompted.</li>
</ol>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/using-my-wordpress-net-to-experiment-with-ai.webp" alt="my.Wordpress.net installs in your web browser"></p>
<p>That&rsquo;s all there is to it! You could optionally import content from another WordPress site. But we&rsquo;re starting from scratch.</p>
<p>Once installed, you&rsquo;ll see a welcome screen.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/using-my-wordpress-net-to-experiment-with-ai-1.webp" alt="The My WordPress welcome screen"></p>
<h3><span id="Step_2_Install_the_AI_Assistant_App">Step 2: Install the AI Assistant App</span></h3>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>Those familiar with WordPress might be confused by the use of the term &ldquo;apps&rdquo;. After all, the CMS is famous for its <em>plugin</em> ecosystem. Not to worry. This offshoot decided that &ldquo;apps&rdquo; was a more user-friendly word for beginners. Consider plugins and apps as interchangeable.</p>
<p>Regardless, our next task is to install the AI Assistant app. Once again, it will be quick and easy.</p>
<ol>
<li>Click on the <strong>Apps menu</strong> (an icon with four squares) on the upper right of the screen.</li>
<li>Find &ldquo;<strong>AI Assistant</strong>&rdquo; on the list and click on it.</li>
</ol>
<p>The AI Assistant will automatically be installed on your local site. You&rsquo;ll be returned to the welcome screen after it&rsquo;s finished.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/using-my-wordpress-net-to-experiment-with-ai-2.webp" alt="The My WordPress Install Apps screen"></p>
<h3><span id="Step_3_Connect_With_an_AI_Model">Step 3: Connect With an AI Model</span></h3>
<p>We have everything we need to connect WordPress with an AI model. Now, it&rsquo;s time to choose a provider.</p>
<p>At the time of this writing, AI Assistant works with Anthropic (Claude), OpenAI (ChatGPT), or a local AI model via Ollama. More providers may be added in the future.</p>
<ol>
<li>Click on the <strong>command menu</strong> at the top of the screen (the long bar with a &ldquo;/&rdquo; inside) and select <strong>Dashboard</strong>.</li>
<li>Navigate to <strong>Settings &gt; AI Assistant</strong> inside the dashboard.</li>
<li>Choose an <strong>AI provider</strong> and enter your <strong>API key</strong>.</li>
<li>Choose a model from your AI provider (we used gpt-4o-2024-08-06).</li>
<li><strong>Save</strong> the revised settings.</li>
</ol>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/using-my-wordpress-net-to-experiment-with-ai-3.webp" alt="Navigating to the My WordPress dashboard"></p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/using-my-wordpress-net-to-experiment-with-ai-4.webp" alt="The AI Assistant Settings screen"></p>
<p>In our case, we grabbed a ChatGPT API key and entered it into the settings. <strong>For reference, this method requires purchasing </strong>API credits<strong> from OpenAI. This is <em>separate</em> from your regular ChatGPT account.</strong></p>
<p>The AI Assistant app also provides some information on what various WordPress user roles can access. You can also choose to add an AI Assistant button on the front-end of your site, which is displayed to logged-in users.</p>
<h3><span id="Step_4_Experiment">Step 4: Experiment!</span></h3>
<p>The only thing left to do is have some fun with AI inside WordPress. You&rsquo;ll find the AI Assistant throughout the dashboard and, optionally, the front-end of your website.</p>
<ol>
<li>Click the <strong>AI Assistant</strong> button at the top right of the dashboard.</li>
<li><strong>Enter a prompt</strong> in the chat window and start working with AI.</li>
</ol>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/using-my-wordpress-net-to-experiment-with-ai-5.webp" alt="The AI Assistant tab is located on the upper right of the dasbhoard"></p>
<p>Here are a few sample prompts to get you started:</p>
<pre class="language-html"><code class="language-html">Create the following new pages on my website: About Us, Services, Contact Us</code></pre>
<pre class="language-html"><code class="language-html">What time zone is my website using?</code></pre>
<pre class="language-html"><code class="language-html">Activate the Hello Dolly plugin.</code></pre>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/05/using-my-wordpress-net-to-experiment-with-ai-6.webp" alt="We asked the AI Assitant to create new pages for us"></p>
<p>ChatGPT handled each of these requests without hassle. However, it did install a second copy of the Hello Dolly plugin. We&rsquo;ll chalk it up to an early bug.</p>
<p>Note that you may be asked to approve certain actions, like creating pages or installing plugins. It&rsquo;s a safety measure and is worth reviewing before allowing AI to make changes.</p>
<h2><span id="An_Easy_Way_To_Try_AI_Inside_WordPress">An Easy Way To Try AI Inside WordPress</span></h2>
<p>Perhaps our experiments weren&rsquo;t earth-shattering, but that&rsquo;s not the point. The idea is that AI can tell you a lot about your website and perform routine tasks. And my.WordPress.net provides a safe space to learn and play.</p>
<p>Even better, the process for installing WordPress and integrating an AI model couldn&rsquo;t be easier. You can be up and running within a few minutes. Just note the potential cost of using Anthropic or OpenAI for this purpose. Be sure to check your spending limits so you don&rsquo;t lose a small fortune.</p>
<p>All told, it&rsquo;s a great way to discover how AI can help your workflow inside of WordPress. So, take some time and find what works for you!</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/using-my-wordpress-net-to-experiment-with-ai/">Using my.WordPress.net to Experiment With AI</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How AI Could Change Collaboration for Web Designers &#038; Developers</title>
		<link>https://thenokiablog.com/how-ai-could-change-collaboration-for-web-designers-developers/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sun, 19 Apr 2026 14:19:24 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Freelance Business]]></category>
		<category><![CDATA[Freelance Career]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress AI]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/how-ai-could-change-collaboration-for-web-designers-developers/</guid>

					<description><![CDATA[<p>Connecting and working with other web professionals is one of my favorite parts of this industry....</p>
<p>The post <a href="https://thenokiablog.com/how-ai-could-change-collaboration-for-web-designers-developers/">How AI Could Change Collaboration for Web Designers &amp; Developers</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Connecting and working with other web professionals is one of my favorite parts of this industry. Web designers are always willing to share what they know, and that benefits everyone. I can&rsquo;t begin to measure how much I&rsquo;ve learned thanks to this generous spirit.</p>
<p>There are also opportunities to build professional relationships. We hire each other for coding tasks, marketing, support, or even business consulting. It&rsquo;s a way to expand our capabilities and boost revenue, not to mention the new products and services that were launched as a result of these relationships.</p>
<p>Like everything else in our industry, artificial intelligence (AI) is poised to impact these professional bonds. We&rsquo;re experimenting with this technology, looking for ways to make us leaner and more productive. Perhaps we&rsquo;re in the early stages. But it&rsquo;s reasonable to assume that there will be a human cost to adopting AI.</p>
<p>Let&rsquo;s look at the potential benefits and drawbacks of going all-in on AI and its impact on our relationships.</p>
<h2><span id="Greater_Productivity_and_Expanded_Capabilities">Greater Productivity and Expanded Capabilities</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>If there&rsquo;s one thing we&rsquo;ve discovered about AI, it&rsquo;s the relative ease with which it writes code. It can spin up a new WordPress plugin (or a framework for one) within a few minutes. It can also troubleshoot a code snippet in the blink of an eye.</p>
<p>These tasks used to take hours, days, or weeks to complete. AI has saved me from countless searches of support forums and blog posts. In some cases, I might have broadcast my pain points on social media, hoping for a kind soul to offer advice.</p>
<p>These days, AI generally points me in the right direction. There are several positive aspects to this arrangement.</p>
<p>For one, I feel more self-sufficient when working with code. Perhaps that&rsquo;s ironic, as the machine is writing the code for me. Still, there&rsquo;s something to be said about not placing my burden on anyone else.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>AI also improves my productivity and expands my capabilities. Those client requests that used to drive me crazy aren&rsquo;t as stressful these days. It&rsquo;s not always easy, but I&rsquo;m still producing solutions faster than ever.</p>
<p>What&rsquo;s the downside? An individual working this way might not have a big impact. The problem arises when we use AI for all the things at scale.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/04/how-ai-could-change-collaboration-for-web-designers-developers.webp" alt="Artificial intelligence may make support forums a thing of the past"></p>
<h2><span id="Web_Developers_Working_in_Silos">Web Developers Working in Silos</span></h2>
<p>The cumulative effect of &ldquo;doing it ourselves&rdquo; with AI is less collaboration. For example, why would I send a task to a fellow freelancer if I can perform it with AI? I&rsquo;m saving time and money.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>Agencies that rely on contractors will do the same thing. They&rsquo;ll have less incentive to outsource all or some of a project because AI is cheaper and easier. Never mind that it potentially adds more to an employee&rsquo;s plate.</p>
<p>This will result in fewer gigs for some of us. There will be an economic impact, as we&rsquo;ll lose some of the recurring revenue we depend on. It will also require a shift to building our own things, rather than building for others.</p>
<p>The other potential side effect is becoming more insulated from the community around us. We might find ourselves interacting more with bots than people (it&rsquo;s already the case for me). We could be less likely to share what we&rsquo;re doing or explore what others have done.</p>
<p>If we&rsquo;re not careful, it might also lead to less in-person interaction. AI won&rsquo;t make conferences and WordCamps irrelevant. However, some may feel less desire to learn from other humans. Again, why travel and sit through a session when AI will do whatever I want?</p>
<p>Sharing knowledge is such a big part of what web professionals do. Once we&rsquo;re past the experimentation phase of AI, we might have fewer tips to share &ndash; not to mention fewer people willing to listen.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/04/how-ai-could-change-collaboration-for-web-designers-developers-1.webp" alt="Using AI may lead to less collaboration among web professionals"></p>
<h2><span id="Lets_Keep_the_Human_Element_in_Web_Design">Let&rsquo;s Keep the Human Element in Web Design</span></h2>
<p>For all the amazing things AI can do, it shouldn&rsquo;t replace what makes the web design industry so unique. We are a community of thinkers and doers. We&rsquo;re at our best when working together.</p>
<p>Just think, the open-source movement wouldn&rsquo;t be where it is today without collaboration. People built the foundation of this work. Technologies like AI can contribute, but only humans can be the thinking and breathing stewards of such projects.</p>
<p>I hope we don&rsquo;t lose sight of what we&rsquo;ve accomplished. In the rush to use AI for this and that, we shouldn&rsquo;t leave our traditions behind. If anything, we should use technology to create <em>more</em> time for human interaction.</p>
<p>Less time working, more time getting together. That sounds like a better future to me!</p>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/how-ai-could-change-collaboration-for-web-designers-developers/">How AI Could Change Collaboration for Web Designers &amp; Developers</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What AI Can Teach Web Developers About WordPress</title>
		<link>https://thenokiablog.com/what-ai-can-teach-web-developers-about-wordpress/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sat, 11 Apr 2026 17:28:31 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Learn Web Design]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress AI]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/what-ai-can-teach-web-developers-about-wordpress/</guid>

					<description><![CDATA[<p>Artificial intelligence (AI) is a tool for getting things done. The WordPress community is already using...</p>
<p>The post <a href="https://thenokiablog.com/what-ai-can-teach-web-developers-about-wordpress/">What AI Can Teach Web Developers About WordPress</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/04/what-ai-can-teach-web-developers-about-wordpress.webp" class="ff-og-image-inserted"></div>
<p>Artificial intelligence (AI) is a tool for getting things done. The WordPress community is already using it to write and troubleshoot code. Meanwhile, the WordPress project is in the midst of making AI integrations easier for all.</p>
<p>That&rsquo;s all great and exciting stuff. However, we may be missing the boat regarding other use cases. AI has the potential to do more than perform menial tasks. We can also pick its virtual brain to learn more about WordPress and related technologies.</p>
<p>Human knowledge still matters, and AI is only as effective as the person interacting with it. So, why not learn as much as we can? This new technology could be a goldmine of information, with the results improving our project outcomes and helping us develop better processes.</p>
<p>So, what can AI teach us about WordPress? Let&rsquo;s find out!</p>
<h2><span id="Explain_What_a_Function_or_Code_Snippet_Does">Explain What a Function or Code Snippet Does</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>Code snippets aren&rsquo;t always easy to understand, particularly when you&rsquo;re unfamiliar with them. For example, you may inherit a website that includes a custom plugin or theme template. Likewise, you might not recall the purpose of something you wrote years ago.</p>
<p>In addition, WordPress includes hundreds of hooks, filters, and functions. Some have better documentation than others (and even that can be difficult to comprehend).</p>
<p>AI can help you identify what a code snippet does in short order. Paste it into your favorite Large Language Model (LLM), and you&rsquo;ll receive a detailed overview of what&rsquo;s happening. You can even ask follow-up questions to narrow down a specific line.</p>
<hr>
<p>Here&rsquo;s a simple example, using a snippet commonly found in theme templates and plugins. We&rsquo;ll ask ChatGPT to provide some details.</p>
<pre class="language-text"><code class="language-html">"What does the following code snippet do?"</code></pre>
<pre class="language-text"><code class="language-php">if ( ! defined( 'ABSPATH' ) ) {
  exit;
}
</code></pre>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p><strong>ChatGPT responded with a breakdown of the code&rsquo;s functionality and operation.</strong></p>
<blockquote>
<p>
This snippet is a standard security guard used in WordPress PHP files, especially in plugins and themes.</p>
<p><strong>What it does</strong><br>It prevents the PHP file from being accessed directly via the browser.</p>
<p><strong>How it works</strong><br>1. ABSPATH</p>
<ul>
<li>ABSPATH is a constant defined by WordPress in wp-config.php during the normal WordPress bootstrap process.</li>
<li>It contains the absolute filesystem path to the WordPress installation.</li>
</ul>
<p>2. defined( &lsquo;ABSPATH&rsquo; ) check</p>
<ul>
<li>The code checks whether WordPress has already been loaded.</li>
<li>If WordPress is running normally, ABSPATH will exist.</li>
</ul>
<p>3. Direct access scenario<br>If someone tries to access the file directly in a browser, e.g.:<br>https://example.com/wp-content/plugins/my-plugin/my-file.php</p>
<p>WordPress <strong>has not been loaded</strong>, so:<br>defined(&lsquo;ABSPATH&rsquo;) === false</p>
<p>4. exit;<br>Because the constant isn&rsquo;t defined, the script immediately stops executing.</p>
<p><strong>Why this matters</strong><br>Without this check:<br>-Someone could directly run the PHP file.<br>-Internal functions might run outside the WordPress environment.<br>-It could expose sensitive data, database queries, or admin functionality.
</p>
</blockquote>
<p>ChatGPT&rsquo;s response was even more robust than what&rsquo;s included above. It also gave specifics on where our snippet is typically found and advice on security best practices.</p>
<p>This is all valuable information. We now know the purpose of our snippet and have a step-by-step guide to explain what it does.</p>
<h2><span id="Discover_Different_Approaches_for_Building_a_Feature">Discover Different Approaches for Building a Feature</span></h2>
<p>Our first attempt to build a feature isn&rsquo;t always the best one. After all, the goal is to find the <em>best</em> answer, not the quickest.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>That&rsquo;s why code typically undergoes several rounds of revisions. It seems like there is always something we didn&rsquo;t account for in the initial try. For instance, there could be a missing detail or a feature that includes unnecessary bloat. Both humans and AI models make these mistakes.</p>
<p>As such, it&rsquo;s worth weighing your options. There may be an approach that&rsquo;s easier to maintain or extend later. This also comes in handy when a client inevitably changes their mind.</p>
<p>We can use this line of thinking when instructing AI to generate code. Let&rsquo;s consider building a related posts plugin.</p>
<p>You might start with a prompt like this:</p>
<pre class="language-text"><code class="language-html">"Build me a related posts plugin for WordPress."</code></pre>
<p>The above may get the job done. However, AI may not offer you multiple approaches by default. Let&rsquo;s add some nuance to the prompt:</p>
<pre class="language-text"><code class="language-html">"I want to build a related posts plugin for WordPress. Give me at least two approaches for achieving this, along with the pros and cons for each one."</code></pre>
<p>AI&rsquo;s answer may even lead you to think of other potential features or issues. It&rsquo;s another example of how AI should work <em>for</em> you, not the other way around.</p>
<h2><span id="Research_Improvements_and_Optimizations">Research Improvements and Optimizations</span></h2>
<p>Our code may work, but is it the best it can be? Is it secure and performant? Will it be compatible with the next version of WordPress? All are important considerations.</p>
<p>There&rsquo;s something to be said for having a second set of eyes (or the virtual equivalent) review your work. That applies to proofing a new project or refactoring legacy code. You won&rsquo;t have to look far to find room for improvement.</p>
<p>Why not ask AI for a few suggestions? Paste a code snippet or upload a file, then instruct the app to improve performance, efficiency, and security.</p>
<p>You may also want to share relevant documentation, such as the WordPress theme and plugin handbooks. That will ensure AI compares your code against best practices.</p>
<hr>
<p>Let&rsquo;s put that theory to the test by asking AI to review an old-school WordPress post query.</p>
<pre class="language-text"><code class="language-html">"Review this code snippet and tell me how to improve it. Could it be more secure or efficient?"</code></pre>
<pre class=" language-text"><code class=" language-php">
  &lt;?php
  global $post;
  $args = array( 'numberposts' =&gt; 1, 'offset'=&gt; 0,  'category' =&gt; 4 );
  $myposts = get_posts( $args );
  foreach( $myposts as $post ) :&nbsp;&nbsp;&nbsp; setup_postdata($post); ?&gt;
  &lt;p&gt;&lt;a target="_blank" href="&lt;?php the_permalink();  ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;?php endforeach; ?&gt;

  &lt;?php wp_reset_query(); ?&gt;</code></pre>
<p><strong>Once again, ChatGPT gave us a detailed overview of what our code does and steps to improve it.</strong></p>
<blockquote>
<p>Yes &mdash; you can make this cleaner, safer, and a bit more correct (especially around globals and reset functions).</p>
<p><strong>What your snippet currently does</strong></p>
<ul>
<li>Fetches 1 post from category ID 4</li>
<li>Loops it, outputs a link with title</li>
<li>Calls setup_postdata() so template tags like the_title() / the_permalink() work</li>
<li>Resets something at the end</li>
</ul>
<p><strong>Issues / improvements</strong></p>
<p>1. Don&rsquo;t rely on global $post in the loop variable</p>
<p>Right now you&rsquo;re doing:<br>global $post;<br>foreach ( $myposts as $post ) :</p>
<p>That overwrites the global $post reference inside the loop (and can confuse readers). Use a different variable name (e.g. $featured_post) and then pass it to setup_postdata().</p>
<p>2. Use wp_reset_postdata() (not wp_reset_query())</p>
<ul>
<li>get_posts() does not modify the main query ($wp_query)</li>
<li>wp_reset_query() resets the main query and is meant for query_posts() usage (which you should avoid)</li>
<li>After setup_postdata(), the right cleanup is wp_reset_postdata()</li>
</ul>
<p>3. Escape output (security/hardening)</p>
<ul>
<li>the_title() and the_permalink() generally output safe data, but in custom code it&rsquo;s best practice to use the &ldquo;get_&rdquo; versions and escape yourself:</li>
<li>esc_url( get_permalink( &hellip; ) )</li>
<li>esc_html( get_the_title( &hellip; ) )</li>
</ul>
<p>This is the main &ldquo;more secure&rdquo; improvement.</p>
<p>4. Prefer newer/clearer query args</p>
<p>numberposts works, but posts_per_page is the more standard arg.</p>
<p>Also consider:</p>
<ul>
<li>&lsquo;no_found_rows&rsquo; =&gt; true (micro-optimization; avoids pagination counts)</li>
<li>&lsquo;ignore_sticky_posts&rsquo; =&gt; true (avoid sticky surprises)</li>
<li>&lsquo;post_status&rsquo; =&gt; &lsquo;publish&rsquo; (explicit)</li>
</ul>
<p>5. If you only need one post, you don&rsquo;t need a foreach</p>
<p>You can grab the first result and output it, reducing code and risk.</p>
</blockquote>
<p>In addition, AI provided two revised snippets that include the above suggestions. It&rsquo;s an easy way to modernize an old code snippet.</p>
<h2><span id="Using_AI_as_a_Learning_Opportunity">Using AI as a Learning Opportunity</span></h2>
<p>AI apps are easy to use when working with code &ndash; almost <em>too</em> easy. It&rsquo;s tempting to copy the results and ignore the app&rsquo;s explanation of what it just did. However, there&rsquo;s value in slowing down and reading those details.</p>
<p>In some ways, using AI can be akin to having a seasoned developer by your side. You can learn a lot by paying attention.</p>
<p>That&rsquo;s particularly true for well-documented software like WordPress. The content management system (CMS) is full of niche functions and settings. Not to mention a whole ecosystem of themes and plugins.</p>
<p>You can use AI as a guide for understanding how everything works. It&rsquo;s a way to dig deeper and experiment with building from scratch and reworking your existing code.</p>
<p>The bottom line is that, if you want to learn more about WordPress, AI offers a simple way to do it. Even better, it (probably) won&rsquo;t get mad if you keep asking questions!</p>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/what-ai-can-teach-web-developers-about-wordpress/">What AI Can Teach Web Developers About WordPress</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How WordPress Agencies Can Give Back to the Community</title>
		<link>https://thenokiablog.com/how-wordpress-agencies-can-give-back-to-the-community/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Wed, 08 Apr 2026 20:08:59 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Freelance Business]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Agency]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/how-wordpress-agencies-can-give-back-to-the-community/</guid>

					<description><![CDATA[<p>After more than 20 years, WordPress still provides a career path for freelancers and agencies. There...</p>
<p>The post <a href="https://thenokiablog.com/how-wordpress-agencies-can-give-back-to-the-community/">How WordPress Agencies Can Give Back to the Community</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>After more than 20 years, WordPress still provides a career path for freelancers and agencies. There are opportunities to build your niche while working with clients. For many, the open-source software is a growth engine.</p>
<p>It&rsquo;s more than just business as usual, though. WordPress also boasts a global community of users and contributors. As such, agencies don&rsquo;t have to operate in a vacuum. There&rsquo;s an opportunity to connect with people and pay it forward.</p>
<p>Community engagement is a win-win situation. First, you&rsquo;re helping others learn and use WordPress more effectively. There&rsquo;s a great sense of satisfaction that comes with getting involved.</p>
<p>There are also benefits to your business. It puts your name out there and helps you build relationships. That could result in booking more clients. At the very least, you&rsquo;ll create goodwill and establish a strong reputation.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>Giving back is also easier than you think. Here are a few ways to say thanks to the WordPress community!</p>
<h2><span id="Join_or_Host_a_Local_Meetup">Join or Host a Local Meetup</span></h2>
<p>If you want to impact the WordPress community at a grassroots level, Meetups are a great place to start. They&rsquo;re local get-togethers that welcome people of all skill levels, including beginners.</p>
<p>These events open up a world of possibilities. You might have meetings dedicated to a specific subject, guest presentations, or group projects. It&rsquo;s also an opportunity for attendees to help each other with site issues or plugin suggestions.</p>
<p>Agencies are uniquely positioned to help. Your team of experts can give talks and connect with your local community. That makes you a trusted resource &ndash; one that prospective clients will remember when it&rsquo;s time for a new website or other project.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>Finding a place to hold regularly scheduled meetings is challenging in some communities. So, hosting a meetup at your office or another space is a huge help.</p>
<p>Plus, not every city has a meetup. In that case, you might consider establishing one. It brings people together and builds enthusiasm for the WordPress project.</p>
<p>Being part of the meetup space requires a commitment. However, connecting with others one-on-one is worth the effort.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/04/how-wordpress-agencies-can-give-back-to-the-community.webp" alt="Local WordPress Meetup events are a great way to connect with users and professionals"></p>
<h2><span id="Set_Aside_Time_To_Contribute_to_WordPress">Set Aside Time To Contribute to WordPress</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>The WordPress project includes several teams tasked with building and maintaining the software. There are also teams dedicated to providing technical support, writing documentation, language translation, and reviewing themes/plugins.</p>
<p>Joining one or more teams is an opportunity to improve WordPress and its community. This could include anything from fixing bugs, building new features, or improving the user experience. That&rsquo;s only scratching the surface of the potential impacts.</p>
<p>Contributions of all kinds are welcome &ndash; even if they don&rsquo;t involve writing code. So, think about which team(s) interest you and fit your skillset. It&rsquo;s also worth considering how much time you can dedicate to the project.</p>
<p>The Five for the Future program is a compelling option for agencies willing to commit 5% of their time to the project. Individuals are also welcome to join.</p>
<p>However, the type or number of contributions you make isn&rsquo;t as important as your willingness to participate. One way to look at it is that every contribution helps someone. That makes a difference!</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/04/how-wordpress-agencies-can-give-back-to-the-community-1.webp" alt="Giving back to the WordPress project ensures its sustainability"></p>
<h2><span id="Build_Free_Plugins_Themes_or_Educational_Resources">Build Free Plugins, Themes, or Educational Resources</span></h2>
<p>There&rsquo;s also a more traditional approach to paying it forward. Your agency is likely building custom plugins or themes for your projects. And teaching is a key part of working with clients. Why not level up and share what you know?</p>
<p>Once again, this benefits everyone. The community receives something useful. Meanwhile, you increase your visibility across the WordPress ecosystem. It&rsquo;s a way to generate leads while doing good.</p>
<p>What you share and how you share it are up to you. It might be as simple as posting your GitHub repository link on social media. Or, you might opt to distribute your work via the official WordPress theme and plugin directories.</p>
<p>We should note that some responsibilities are involved with either approach. Plugins and themes must be maintained and supported. Community engagement is part of the deal. It&rsquo;s also a good idea to keep sales pitches to a minimum if your goal is to give back.</p>
<p>Offering educational resources, such as online courses or tutorials, is also a possibility. Being a guide to users or developers will showcase your expertise. Do it well, and you&rsquo;ll have loyal visitors returning to your site or YouTube channel.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/04/how-wordpress-agencies-can-give-back-to-the-community-2.webp" alt="Sharing free resources helps others learn how to use WordPress"></p>
<h2><span id="Say_Thanks_to_WordPress_and_Its_Community">Say Thanks to WordPress and Its Community</span></h2>
<p>If your agency builds websites with WordPress, it benefits from the open-source software. It also stands to reason that you&rsquo;ve benefited from the knowledge shared by community members. Every code snippet or piece of advice is valuable.</p>
<p>Giving back is simply the right thing to do. It says that you care about the project and the people surrounding it. Consider the potential boost to your business as good karma.</p>
<p>It&rsquo;s also a chance to connect with other people and organizations. You never know what may come of these relationships. Friendships, business ventures, and side projects could be in store.</p>
<p>So, think about ways to give back and pick one that&rsquo;s right for you. It will help you grow as a person and a web professional.</p>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/how-wordpress-agencies-can-give-back-to-the-community/">How WordPress Agencies Can Give Back to the Community</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How To Protect Media Files Uploaded to WordPress</title>
		<link>https://thenokiablog.com/how-to-protect-media-files-uploaded-to-wordpress/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sun, 05 Apr 2026 11:51:00 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Security]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/how-to-protect-media-files-uploaded-to-wordpress/</guid>

					<description><![CDATA[<p>The WordPress Media Library is a handy tool for managing images, documents, and multimedia content. It...</p>
<p>The post <a href="https://thenokiablog.com/how-to-protect-media-files-uploaded-to-wordpress/">How To Protect Media Files Uploaded to WordPress</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The WordPress Media Library is a handy tool for managing images, documents, and multimedia content. It arranges uploaded files into date-based folders and creates multiple image sizes. All great features for a basic website.</p>
<p>There are a few drawbacks, however. The content management system&rsquo;s (CMS) predictable file structure makes it easy to guess where a file is stored. For instance, a UK budget document leaked before its official release. How did this happen? A journalist was able to guess the file name based on last year&rsquo;s version:</p>
<blockquote>
<p>The BBC was able to access the PDF version of the OBR&rsquo;s key report at 11:45 on Wednesday by replacing the word &lsquo;March&rsquo; with &lsquo;November&rsquo; in the web address of a previous edition.</p>
</blockquote>
<p>Search engines can also index your site&rsquo;s media files. This can be a benefit to your SEO strategy, but it&rsquo;s not always desirable. Consider a membership website that requires registration to access specific files. A user may stumble upon a file via search, defeating the purpose of hiding files behind a login.</p>
<p>None of this means that there&rsquo;s a security flaw. Rather, WordPress wasn&rsquo;t built with private media storage in mind. Thankfully, there are easy ways to improve media file security.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>Let&rsquo;s review some tools and techniques for protecting your WordPress media files. They&rsquo;ll keep your files away from prying eyes and might even save you some hosting bandwidth.</p>
<h2><span id="Available_Methods_of_File_Protection">Available Methods of File Protection</span></h2>
<p>The first thing to know about protecting your media files is that there are multiple types of protection. The method(s) you use will depend on your specific needs. We&rsquo;ll break this section down by common scenarios.</p>
<p>Note that none of the following options will guarantee file security in high-stakes situations such as the UK government leak above. Rather, they are <strong>basic measures</strong> that will make it harder for someone (or something) to access your files.</p>
<p>With that in mind, here are a few ways to improve file security.</p>
<h3><span id="Block_Direct_File_Access_From_Outside_Sites_Hotlinking">Block Direct File Access From Outside Sites (Hotlinking)</span></h3>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>Let&rsquo;s say you have a large PDF file on your website. By default, an external website could link directly to that file (a.k.a. hotlinking). It may seem harmless, but every time a user clicks that link, the file access counts against your hosting bandwidth. Even worse, the user never visits your website.</p>
<p>The solution is to block hotlink access at the server level. Add the following snippet to your website&rsquo;s <code>.htaccess</code> file:</p>
<pre><code class="language-markup"># Deny direct access to uploads unless navigated from your  site (change example.com to your domain name)
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On

# Only apply to files inside uploads directory
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/ [NC]

# Allow requests from your own domain
RewriteCond %{HTTP_REFERER} !^https?://(www.)?example.com/  [NC]

# Block direct access to specified file types
RewriteRule .(mp3|mp4|pdf|zip)$ - [F,NC,L]

&lt;/IfModule&gt;</code></pre>
<p>If your website runs on an NGINX server, add this snippet to the <code>nginx.conf</code> file:</p>
<pre><code class="language-markup"># Deny direct access to uploads unless navigated from your  site (change example.com to your domain name)
# File types protected: mp3, mp4, pdf, zip
  location ~* ^/wp-content/uploads/.*.(pdf|zip|mp4|mp3)$ {
  
	valid_referers  none blocked server_names *.example.com example.com;
&nbsp;&nbsp;&nbsp; if  ($invalid_referer) {
  return 403;
  }
}</code></pre>
<p>Be sure to change <code>example.com</code> to match your domain name and edit the included file extensions to match your needs.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p><strong>Note:</strong> We don&rsquo;t recommend protecting image files this way, as it may lead to undesirable results. For instance, you won&rsquo;t be able to include images or file links from the server in your email newsletter without adding some exceptions to the code above.</p>
<h3><span id="Prevent_Search_Engines_From_Indexing_Your_Media_Files">Prevent Search Engines From Indexing Your Media Files</span></h3>
<p>Uploaded WordPress media files can easily end up in search results. This can be undesirable for a few reasons:</p>
<ul>
<li>Direct links to large files can eat up bandwidth.</li>
<li>Users aren&rsquo;t visiting your website, just downloading files.</li>
<li>Members-only files could be exposed to the public.</li>
</ul>
<p>Part of any file protection strategy should include preventing (or discouraging) search engine indexing. As such, there are a few methods to implement.</p>
<p>First, we can add the following to our site&rsquo;s robots.txt file to discourage crawling of the <code>/wp-content/uploads/</code> folder:</p>
<pre><code class="language-markup">User-agent: *
Disallow: /wp-content/uploads/</code></pre>
<p>This <strong>won&rsquo;t prevent indexing</strong> of your files, just crawling. The main benefit is reducing the load on your server.</p>
<p>To<strong> fully prevent</strong> indexing, we can use the X-Robots-Tag header.</p>
<p>For Apache servers, add this snippet to your site&rsquo;s <code>.htaccess</code> file:</p>
<pre><code class="language-markup"># Prevent indexing of media files in /wp-content/uploads/
&lt;IfModule mod_headers.c&gt;
&lt;FilesMatch  ".(pdf|doc|docx|xls|xlsx|ppt|pptx|zip|rar|7z|mp3|m4a|wav|mp4|mov|avi|webm)$"&gt;
Header always set  X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"
&lt;/FilesMatch&gt;
&lt;/IfModule&gt;</code></pre>
<p>NGINX users can add this to their <code>nginx.conf</code> file:</p>
<pre><code class="language-markup"># Prevent indexing of media files in /wp-content/uploads/
  location ~*  ^/wp-content/uploads/.*.(pdf|doc|docx|xls|xlsx|ppt|pptx|zip|rar|7z|mp3|m4a|wav|mp4|mov|avi|webm|jpg|jpeg|png|gif|webp|svg)$  {
  add_header  X-Robots-Tag "noindex, nofollow, nosnippet, noarchive" always;
  }</code></pre>
<p>The above methods will reduce bot traffic and reduce the likelihood that your files will appear in search results.</p>
<h3><span id="Prevent_Access_to_WordPress_Attachment_Pages">Prevent Access to WordPress Attachment Pages</span></h3>
<p>By default, WordPress creates a post for every media file you upload. It may come in handy for some niche use cases, but it is most often a forgotten feature. Without further action, these posts can be indexed by search engines.</p>
<p>Some SEO plugins, such as Yoast SEO, RankMath, and All in One SEO, offer settings to disable attachment pages. This is the simplest way to prevent search engines or users from accessing them.</p>
<p>Short of that, you can also use a code snippet in your theme&rsquo;s functions.php file or a custom plugin. We&rsquo;ll share a couple of them that cover common scenarios.</p>
<h4>Return a 404 Error on Attachment Pages:</h4>
<p>If you&rsquo;d like to deny access to attachment pages, the following snippet will do just that. Visitors will see a 404 page, rather than the attachment.</p>
<pre><code class="language-php">&lt;?php
  /**
  * Force attachment  pages to 404.
  */
  add_action( 'template_redirect', function () {
  if ( !  is_attachment() ) {
  return;
  }
  
&nbsp; global  $wp_query;
  $wp_query-&gt;set_404();
  status_header(  404 );
  nocache_headers();
  
&nbsp; // Load  your 404 template.
  include  get_query_template( '404' );
  exit;
  } );</code></pre>
<h4>Redirect Attachment Pages to Parent Post:</h4>
<p>Here&rsquo;s a slightly different approach that redirects users to the attachment&rsquo;s parent post. This is handy for blogs and other online publications looking to ensure users see their content, rather than media files.</p>
<pre><code class="language-php">&lt;?php
  /**
  * Redirect attachment  pages to their parent post when available.
  */
  add_action( 'template_redirect', function () {
  if ( !  is_attachment() ) {
  return;
  }

  $attachment_id  = get_queried_object_id();
  $parent_id&nbsp;&nbsp;&nbsp;&nbsp; = wp_get_post_parent_id( $attachment_id );
  if (  $parent_id ) {
  wp_safe_redirect(  get_permalink( $parent_id ), 301 );
  exit;
  }

  // No  parent: redirect to file URL if it exists.
  $url =  wp_get_attachment_url( $attachment_id );
  if ( $url  ) {
  wp_safe_redirect(  $url, 301 );
  exit;
  }
  wp_safe_redirect(  home_url( '/' ), 302 );
  exit;
  } );</code></pre>
<p>If you don&rsquo;t need WordPress attachment pages, there&rsquo;s no reason to keep them around. Thankfully, you have several options for giving them the heave-ho.</p>
<h3><span id="Use_a_Plugin_for_Media_File_Protection">Use a Plugin for Media File Protection</span></h3>
<p>You can also use a plugin to protect your WordPress media files. The right plugin can do some or all of the above functions to keep your files safer.</p>
<p>For example, Download Monitor offers multiple functions, including file protection. Among its features:</p>
<ul>
<li>Disable or enable specific folders for file downloads.</li>
<li>Create randomly-generated URLs for files you want to protect.</li>
<li>Attempting to access a file directly will result in a 404 error.</li>
<li>Require users to log in before accessing a file.</li>
<li>Keep track of how many times a file has been downloaded.</li>
</ul>
<p>The free version of the plugin covers common use cases. A premium version goes the extra mile by integrating with popular form plugins and adding CAPTCHA protection.</p>
<p>Meanwhile, many membership plugins come with some form of file protection. Check out the plugin&rsquo;s documentation to see what&rsquo;s available.</p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/04/how-to-protect-media-files-uploaded-to-wordpress.jpg" alt="The Download Monitor plugin offers file protection features" width="900" height="300" class="alignnone size-full wp-image-178745"></p>
<h2><span id="Take_Control_of_Your_Files_and_Gain_Peace_of_Mind">Take Control of Your Files and Gain Peace of Mind</span></h2>
<p>There are several reasons for locking down your WordPress media files, even if you aren&rsquo;t posting sensitive information. For one, the rise of AI bot traffic means higher bandwidth usage. Restricting access to large files can prevent surprise charges on your hosting bill.</p>
<p>Plus, media files and attachment pages can be taken out of context. A simple redirect can help by pointing users toward your content. That could be the difference between a one-time visitor and a loyal reader. Say hello to lower bounce rates!</p>
<p>The above solutions are easy to implement into your existing website. What&rsquo;s more, they bring a little peace of mind. You won&rsquo;t have to worry about the wrong people accessing your files or causing a traffic nightmare on your server.</p>
<p>Consider your file protection needs and how they might impact your SEO strategy. From there, you can create a plan that works for you.</p>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/how-to-protect-media-files-uploaded-to-wordpress/">How To Protect Media Files Uploaded to WordPress</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Use AI To Extend the Functionality of WordPress Plugins</title>
		<link>https://thenokiablog.com/how-to-use-ai-to-extend-the-functionality-of-wordpress-plugins/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Mon, 02 Mar 2026 20:12:34 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress AI]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/how-to-use-ai-to-extend-the-functionality-of-wordpress-plugins/</guid>

					<description><![CDATA[<p>Artificial intelligence (AI) technology can make life easier for WordPress developers. We can use it to...</p>
<p>The post <a href="https://thenokiablog.com/how-to-use-ai-to-extend-the-functionality-of-wordpress-plugins/">How to Use AI To Extend the Functionality of WordPress Plugins</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Artificial intelligence (AI) technology can make life easier for WordPress developers. We can use it to increase our efficiency and coding capabilities. AI takes the pain out of tasks like troubleshooting a buggy code snippet or querying data.</p>
<p>Some of us are using AI to build custom plugins, but it doesn&rsquo;t have to end there. We can also extend existing ones. This skill comes in handy when a free or commercial plugin doesn&rsquo;t quite do everything you need. Everything from minor tweaks to complex features is possible.</p>
<p>For instance, we&rsquo;ve used AI to generate a custom WooCommerce email when a specific product is ordered. Perhaps that doesn&rsquo;t sound like an earth-shattering use case. But building such functionality without hours of research is a win in our book. About 30 minutes is all we needed to go from concept to finished product.</p>
<p><strong>Let&rsquo;s face it:</strong> Every WordPress project is nuanced. There are always things our clients would like to change &ndash; regardless of size or difficulty. AI can help us go from &ldquo;Oh, no!&rdquo; to &ldquo;That was easy!&rdquo;</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>With that in mind, here are some tips for using your favorite large language model (LLM) to extend an existing WordPress plugin.</p>
<h2><span id="Is_This_the_Right_Plugin_for_the_Job">Is This the Right Plugin for the Job?</span></h2>
<p><em>Wouldn&rsquo;t it be nice if the plugin you installed also did x, y, and z?</em> It&rsquo;s a common refrain when building a website. After all, the little details often separate the good from the great.</p>
<p>Perhaps a client requested a feature that differs from the plugin&rsquo;s default behavior. Or maybe you had an idea for leveling up the user interface. It&rsquo;s a great way to spark creativity and go the extra mile.</p>
<p>However, not every plugin is the right one for the job. Some extensions may be too complex and difficult to maintain, while others could take the plugin in a completely different direction. The result is an inefficient path to achieve your goals. In short, it&rsquo;s an easy way to go down the old rabbit hole.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>The WordPress plugin ecosystem is vast, and there are often multiple options for every need. As such, you may find that a different product is a better fit for your project. <strong>Look for a plugin that already does most of what you need.</strong> From there, extending will be easier.</p>
<p>It&rsquo;s great that we can extend plugins using AI. Yet, that doesn&rsquo;t mean we <em>should</em> extend every plugin. So, consider the pros and cons of a product before you dive in headfirst.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/03/how-to-use-ai-to-extend-the-functionality-of-wordpress-plugins.webp" alt="The first step is to determine if a plugin is suitable for extending"></p>
<h2><span id="A_Well-Documented_Plugin_Often_Yields_the_Best_Results">A Well-Documented Plugin Often Yields the Best Results</span></h2>
<p>WordPress plugins come from all corners of the ecosystem. Thus, you&rsquo;ll notice that some authors provide more thorough documentation than others.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>Well-documented plugins tend to be better candidates for an AI-generated extension. AI models will have ready access to that information, and it will likely improve your odds of a successful outcome.</p>
<p>Another side effect is that other developers have probably built extensions as well. AI can research forums and blog posts to understand how things work. Plugins often have custom functions, hooks, and filters that developers can tap into. The more information that&rsquo;s available, the better.</p>
<p><strong>Hint:</strong> Feel free to include any relevant documentation or demo links in your AI prompts. This ensures that the AI model is looking in the right place. It could save you from some trial-and-error when building an extension.</p>
<p>What if a plugin has little or no documentation? You may still have a chance to build on top of it. Upload the plugin or share a relevant snippet with AI. The model should be able to determine how things work and move forward from there.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/03/how-to-use-ai-to-extend-the-functionality-of-wordpress-plugins-1.webp" alt="AI tools can use plugin documenation as a reference"></p>
<h2><span id="Think_About_Structure_and_Future_Maintenance">Think About Structure and Future Maintenance</span></h2>
<p>Let&rsquo;s say that you&rsquo;ve found the perfect plugin to extend with AI. Now what? You&rsquo;ll want to think about the best way to structure your extension and how you&rsquo;ll maintain it.</p>
<p>It&rsquo;s always tempting to paste a few code snippets into your theme&rsquo;s functions.php file. That may work in the short term. But what happens when it&rsquo;s time to change to a new theme? You&rsquo;ll have to do another copy-and-paste, or risk losing your custom functionality.</p>
<p>Placing your code into a custom plugin is usually the best option. This ensures that your functionality stays intact throughout your website&rsquo;s lifespan. Better still, most AI apps can help you build a plugin structure that&rsquo;s easy to maintain. A simple plugin might require a single file, while a more robust one could benefit from a tree structure.</p>
<p>Speaking of maintenance, that places another responsibility on your shoulders. It&rsquo;s possible to build a custom extension that you won&rsquo;t need to edit for years. However, it&rsquo;s important to keep track of changes to the plugin you&rsquo;re extending. For instance, a major change to Elementor or Gravity Forms could mean refactoring your code.</p>
<p>Building plugins that depend on other plugins is great &ndash; just be sure to understand what you&rsquo;re getting into.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/03/how-to-use-ai-to-extend-the-functionality-of-wordpress-plugins-2.webp" alt="Create a plan for your plugin extension that's easy to maintain"></p>
<h2><span id="Make_Your_Existing_WordPress_Plugins_Do_More">Make Your Existing WordPress Plugins Do More</span></h2>
<p>AI is a great asset when extending an existing WordPress plugin. Explain what you want to achieve, share code and/or documentation, and let the app do the dirty work for you. It&rsquo;s possible to have a working prototype within minutes.</p>
<p>That&rsquo;s not to say the entire process is seamless. AI can make mistakes or misinterpret your instructions. As such, your generated code may require a few rounds of revisions. Not to worry! That&rsquo;s still faster than writing something from scratch.</p>
<p><strong>A word of advice:</strong> Ensure that your generated code uses security best practices. We have a handy guide to help you test. Taking a few extra minutes here will give you peace of mind.</p>
<p>Do you have an idea that makes an existing plugin even better? Now is a great time to experiment with a little help from AI.</p>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/how-to-use-ai-to-extend-the-functionality-of-wordpress-plugins/">How to Use AI To Extend the Functionality of WordPress Plugins</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Protect WordPress Block Layouts From Accidental Changes</title>
		<link>https://thenokiablog.com/how-to-protect-wordpress-block-layouts-from-accidental-changes/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sat, 03 Jan 2026 18:01:43 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Design Clients]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Block Editor]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Gutenberg]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/how-to-protect-wordpress-block-layouts-from-accidental-changes/</guid>

					<description><![CDATA[<p>The WordPress Block Editor enables browser-based design. That&#8217;s leaps and bounds from where the old Classic...</p>
<p>The post <a href="https://thenokiablog.com/how-to-protect-wordpress-block-layouts-from-accidental-changes/">How to Protect WordPress Block Layouts From Accidental Changes</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The WordPress Block Editor enables browser-based design. That&rsquo;s leaps and bounds from where the old Classic Editor fell short. It may eliminate the need for a page builder plugin in some cases.</p>
<p>That&rsquo;s all good news. However, it&rsquo;s also tricky for web developers hoping to prevent their clients from accidentally breaking a layout. It&rsquo;s all too easy to delete a component or drag one to a different spot. Oh, the horror!</p>
<p>Keeping your designs looking good and safe is essential. Fortunately, WordPress offers several built-in methods for doing just that. They could save you from a headache or two.</p>
<p>Let&rsquo;s learn how to protect your WordPress block layouts the easy way!</p>
<h2><span id="Step_1_Create_WordPress_Block_Patterns">Step 1: Create WordPress Block Patterns</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>You spent all that time creating a custom block layout. Preserve your work by saving it as a block pattern. It only takes a few seconds and allows you to reuse custom layouts at any time.</p>
<p>This means you can easily restore a layout if something goes wrong. That&rsquo;s simpler than trying to piece things back together or clean up a royal mess.</p>
<p>Even better, you can export block patterns and save them locally. This keeps your original layout intact, no matter what happens on the live site. You can then re-import the pattern should the worst happen. The other benefit is that the pattern can be imported to other sites or included in a custom plugin.</p>
<p>To create a block pattern, click on a block&rsquo;s Options menu (<strong>&#8942;</strong>) and select <strong>Create pattern</strong>. Give the pattern a name and optionally assign it a category.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/01/how-to-protect-wordpress-block-layouts-from-accidental-changes.webp" alt="Create a block pattern to preserve your custom layout."></p>
<p>Once your pattern is saved, you can access it in the <strong>Appearance &gt; Design</strong> menu within WordPress.</p>
<p><strong>Helpful Resources:</strong></p>
<h2><span id="Step_2_Lock_Your_Blocks">Step 2: Lock Your Blocks</span></h2>
<p>Block layouts can be easily edited and rearranged by default. For example, you might use the Block Editor&rsquo;s List View to drag items to different areas of your page. It&rsquo;s great for flexibility, but it can also result in some unintended consequences.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>The Lock feature allows you to prevent blocks from being modified or removed from your layout. Users can still change the contents of a block. However, they must use the same type of content. For instance, you can only replace an image with another image, and so on.</p>
<p>If you&rsquo;re locking a Group block, you can also choose to lock all blocks within the group. This step protects the entire custom layout. It&rsquo;s another reason why the Group block is great for housing layouts.</p>
<p>To lock a block, click on its Options menu (<strong>&#8942;</strong>) and select <strong>Lock</strong>.</p>
<p>Note that there&rsquo;s also an option to unlock a block if you need to make further edits. If you want more control over who has permission to unlock a block, there&rsquo;s a code snippet that can help.</p>
<p><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/01/how-to-protect-wordpress-block-layouts-from-accidental-changes-1.webp" alt="Locking block layouts allows users to change content, but not the layout."></p>
<p><strong>Helpful Resources:</strong></p>
<h2><span id="Keep_Your_Block_Layouts_Safe_and_Beautiful">Keep Your Block Layouts Safe and Beautiful</span></h2>
<p>In days past, web developers had various tricks to client-proof custom layouts in WordPress. We hardcoded them into PHP-based theme templates and implemented custom fields to allow content changes. This approach doesn&rsquo;t work as well in the world of blocks, though.</p>
<p>No, using the WordPress Block Editor to build layouts is about more than just aesthetics. You also need a plan to ensure that what you create is protected against breakage &ndash; block patterns and locking offer quick, built-in solutions for doing so.</p>
<p>Combined, these features add some resiliency to your custom layouts. And, even if something goes wrong, you can still restore the original version. That provides some peace of mind for you and your clients.</p>
<p>                &lt;!&ndash;</p>
<hr class="wordpress-box-border">Our WordPress.com Review Migrate to WordPress.com 

<p>&ndash;&gt;</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/how-to-protect-wordpress-block-layouts-from-accidental-changes/">How to Protect WordPress Block Layouts From Accidental Changes</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Build a Custom WordPress Block With Telex</title>
		<link>https://thenokiablog.com/how-to-build-a-custom-wordpress-block-with-telex/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Tue, 02 Dec 2025 08:16:12 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress AI]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Gutenberg]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/how-to-build-a-custom-wordpress-block-with-telex/</guid>

					<description><![CDATA[<p>WordPress is known for its flexibility. The ability to build custom blocks keeps with that tradition....</p>
<p>The post <a href="https://thenokiablog.com/how-to-build-a-custom-wordpress-block-with-telex/">How to Build a Custom WordPress Block With Telex</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>WordPress is known for its flexibility. The ability to build custom blocks keeps with that tradition. There are so many potential use cases. It feels like the sky is the limit.</p>
<p>However, building a custom block hasn&rsquo;t always been easy. Even seasoned WordPress developers can struggle to learn the process. Blocks are based on React, rather than PHP. As such, there&rsquo;s a serious learning curve. That has left many to look at alternative methods or use third-party block suites.</p>
<p>There&rsquo;s a new tool looking to change the narrative. Telex is Automattic&rsquo;s AI-powered block builder. Tell the app what you want, and Telex goes to work. It generates code and, once you&rsquo;re satisfied with the result, creates a custom plugin to install on your website.</p>
<p>Telex is ripe for experimentation. Let&rsquo;s take it for a spin and see what it can do.</p>
<hr>
<div>
<div class="host-card">
<div class="host-card-body">
<div class="host-logo"><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex.jpg" width="150" height="150" alt="WordPress.com WordPress Hosting"></div>
<div class="host-details">
<div class="host-card-header">
<div>WordPress.com Black Friday Deal</div>
</div>
<div>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>For Black Friday, if you sign up for a WordPress.com <strong>Business Plan</strong>, you will not only get a 10% discount, but also a free professionally designed website <strong>worth $499</strong>, which includes setup on the platform with a custom theme and five core pages.</p>
<p>Get the WordPress.com Hosting Deal </p>
</div>
</div>
</div>
</div>
</div>
<h2><span id="Getting_Started_With_Telex">Getting Started With Telex</span></h2>
<p>First things first, you&rsquo;ll need a free WordPress.com account to use Telex and save your projects. Click the <strong>Login</strong> button on the upper right of the screen to get started.</p>
<p>Once that&rsquo;s taken care of, it&rsquo;s time to tell Telex about your project. The interface should be familiar to anyone who has used ChatGPT, Gemini, or other popular AI models.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>Enter your idea into the text field, and the tool takes care of the rest. It generates your custom block&rsquo;s code and even lets you test it in a real WordPress installation (thanks to WordPress Playground).</p>
<p>Doesn&rsquo;t that sound otherworldly? Follow along as we create a demo block.</p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex.png" alt="Enter your prompt and Telex build a custom WordPress block to your specifications." width="900" height="400"></p>
<h2><span id="Creating_a_Custom_Timeline_Block">Creating a Custom Timeline Block</span></h2>
<p>From the looks of things, there&rsquo;s no idea that&rsquo;s too far-flung for Telex. There is a plethora of creative examples popping up on the web.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>For our purposes, we&rsquo;ll try to keep things practical. We&rsquo;ll create a Timeline block that allows us to highlight important dates with style.</p>
<p>Here&rsquo;s the prompt we used:</p>
<pre><code class="language-text">Create a Timeline block that allows me to highlight important dates in a vertical format. It should have fields for the following:

1. Year
2. Content

The design should feature the Year on the left and the Content on the right. A vertical line should be displayed between the Year and the Content. The Year should be bold text and stand out.</code></pre>
<p><strong>Hint:</strong> Telex has an &ldquo;Enhance Prompt&rdquo; feature that will that will rewrite your prompt using AI. Give it a try if you&rsquo;re having trouble describing what you want. We tried the feature, and it added a few elements we hadn&rsquo;t thought of, including responsive styling.</p>
<p>Click the <strong>Build</strong> button once you&rsquo;re satisfied with your prompt.</p>
<h2><span id="Generating_Testing_Our_Custom_Block">Generating &amp; Testing Our Custom Block</span></h2>
<p>Telex will start building your block in plain view. The UI shows your prompt at the top of the screen, while the app&rsquo;s internal dialog scrolls by below.</p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex-1.png" alt="Telex displays its process for building your block." width="900" height="600"></p>
<p>In our case, the process took about two minutes to complete. Once finished, we were redirected to a WordPress install and placed into the Block Editor.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex-2.png" alt="Our custom Timeline block is shown in the WordPress Block Editor." width="900" height="600"></p>
<p>This is where the fun begins! Telex provides an opportunity to test our new block and see how it works. We can use the chat panel on the right side of the screen to ask questions or make edits.</p>
<h3><span id="Judging_the_Initial_Result">Judging the Initial Result</span></h3>
<p>At first glance, our Timeline block looks similar to what we envisioned. Telex followed our instructions with the help of its AI enhancement feature. It also added a few details we didn&rsquo;t think of, such as the ability to style the block&rsquo;s colors and spacing.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex-3.png" alt="The initial review of our custom block looks good." width="900" height="400"></p>
<p>There&rsquo;s even a handy plus (+) icon for adding additional milestones to our block. As promised, the block is also responsive. The Year and Content blocks are stacked on small screens for easier reading.</p>
<p>It&rsquo;s a strong start. However, we think there&rsquo;s room for improvement. Can Telex help?</p>
<h3><span id="Improving_Our_Timeline_Block">Improving Our Timeline Block</span></h3>
<p>Perhaps the biggest thing missing from our block is the ability to customize the typography. We&rsquo;d love to change the font sizing and spacing. Let&rsquo;s ask Telex for some help:</p>
<pre><code class="language-text">Can you add font size and spacing settings to the Year and Content fields?</code></pre>
<p>Telex receives our prompt and immediately begins revising the block. Once finished, the Block Editor is refreshed, and it&rsquo;s time to inspect the changes.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex-4.png" alt="We asked Telex to add typography settings to our block." width="900" height="400"></p>
<p>Sure enough, our block now features typography settings for the Year and Content fields. Nice!</p>
<p>We&rsquo;re one step closer to completion. However, there are a few other small tweaks we&rsquo;d like to make:</p>
<pre><code class="language-text">I notice the line between entries isn't connected. Can we change that?

Also, I'd love the ability to horizontally align each entry to the Top, Middle, or Bottom.</code></pre>
<p>Telex got both requests correct, to a point. We can now align our milestones horizontally. However, the connecting line has now moved to the left side, which is not what we wanted. Recall that the line had been in the middle.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex-5.png" alt="Telex successfully implemented a text alignment setting." width="900" height="400"></p>
<pre><code class="language-text">Can you move the connecting line back to the middle? It should be connected to the icon between the Year and Content fields.</code></pre>
<p>It took a few tries and a recovery from a PHP crash inside WordPress Playground. Telex eventually moved the line to the middle and adjusted the styling so the milestones are connected on the front end (there was still a bit of space in the editor).</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/how-to-build-a-custom-wordpress-block-with-telex-6.png" alt="Telex eventually made our requested design changes." width="900" height="400"></p>
<p>Things are looking good, so we&rsquo;ll click the Download button on the upper right of the screen. Telex provides a ZIP file containing a plugin for our custom block.</p>
<p>Now, we can install the plugin on any WordPress website!</p>
<h2><span id="Making_Custom_Blocks_a_Prompt_Away">Making Custom Blocks a Prompt Away</span></h2>
<p>Our experience with Telex was a pleasant one. Within 30 minutes, we had a working prototype of our custom Timeline block. Even the most talented of React developers would have difficulty matching that pace.</p>
<p>Sure, there were a few glitches along the way. That&rsquo;s to be expected from any AI tool. However, Telex produced the result we were hoping for.</p>
<p>What about security? We ran the plugin through Plugin Check, which gave us a thumbs-up. We recommend using the tool for every custom block you generate. Also, review the code manually. Don&rsquo;t take security for granted.</p>
<p>Telex is still in its &ldquo;experimental&rdquo; phase as of this writing. However, it&rsquo;s safe to say that the future looks very bright.</p>
<p>                &lt;!&ndash;</p>
<hr class="wordpress-box-border">Our WordPress.com Review Migrate to WordPress.com 

<p>&ndash;&gt;</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/how-to-build-a-custom-wordpress-block-with-telex/">How to Build a Custom WordPress Block With Telex</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>6 Best Plugins for Adding Two-Factor Authentication (TFA) to WordPress</title>
		<link>https://thenokiablog.com/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Mon, 01 Dec 2025 08:25:30 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Identity]]></category>
		<category><![CDATA[Learn WordPress]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Security]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress/</guid>

					<description><![CDATA[<p>Every WordPress website is a target for brute-force login attempts. Bots will swarm your site and...</p>
<p>The post <a href="https://thenokiablog.com/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress/">6 Best Plugins for Adding Two-Factor Authentication (TFA) to WordPress</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Every WordPress website is a target for brute-force login attempts. Bots will swarm your site and flood it with various usernames and password combinations. If they find a weak or compromised password, they can do untold damage.</p>
<p>Enhancing your site&rsquo;s login security is crucial, and implementing two-factor authentication (2FA) should be a part of your plan. The technology requires a user to verify their identity via email, text message, or a third-party app. It&rsquo;s the last line of defense against a hacker accessing a user&rsquo;s account.</p>
<p>The good news is that you don&rsquo;t have to be a security expert to implement 2FA on your website. Several WordPress plugins can add this layer of security in just a few clicks.</p>
<p>We&rsquo;ve put together a list of the top 2FA plugins to help you get started. You&rsquo;ll find options covering different authentication methods, along with the ability to protect administrator and lower-level accounts. You&rsquo;re sure to find the perfect match for your site&rsquo;s needs.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p>An official plugin from the WordPress team, Two-Factor adds 2FA settings to each user&rsquo;s profile. It also supports several verification methods, including email, time-based one-time passwords (TOTP), FIDO Universal 2nd Factor (U2F), and backup codes. Note that 2FA can be enabled on a per-user basis or for all users via a code snippet. </p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2025/12/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress.jpg" alt="Two-Factor WordPress plugin" width="900" height="400" class="alignnone size-full wp-image-177664"></p>
<p>Wordfence is known for its all-in-one security suite. However, they also offer a niche plugin that secures your site&rsquo;s login. Wordfence Login Security supports TOTP-based apps such as Google Authenticator and Authy. What&rsquo;s more, you can add reCAPTCHA protection to your login pages and guard against XML-RPC attacks. It&rsquo;s a lightweight option that adds peace of mind.</p>
<p><img loading="lazy" decoding="async" src="https://thenokiablog.com/wp-content/uploads/2025/12/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress-1.jpg" alt="Wordfence Login Security WordPress plugin" width="900" height="400" class="alignnone size-full wp-image-177665"></p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>WP 2FA makes it easy to protect user accounts. There are options for protecting all users, specific users, or users with a particular role. The plugin supports email and TOTP authentication methods. It also allows users to set up their 2FA preferences on the front end where appropriate. Developers can use the plugin&rsquo;s API to add support for additional 2FA providers.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress-2.jpg" alt="WP 2FA WordPress Plugin" width="900" height="400" class="alignnone size-full wp-image-177668"></p>
<p>Add a layer of security to any user or user role on your WordPress website. Two Factor Authentication supports TOTP and HOTP methods. It&rsquo;s also compatible with WooCommerce, Elementor Pro, Gravity Forms, and other popular plugins. The plugin can also remember trusted devices and will alert you if a user enters the correct password with an incorrect 2FA code. </p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress-3.jpg" alt="WP 2FA WordPress plugin" width="900" height="400" class="alignnone size-full wp-image-177666"></p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p>Here&rsquo;s a simple solution for adding 2FA to your website. Install Two Factor (2FA) Authentication via Email, and a toggle will be added to each user profile. Enable 2FA for individuals or use the provided code snippet to turn it on sitewide. Note that email is the only supported authentication method.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress-4.jpg" alt="Two Factor (2FA) Authentication via Email WordPress plugin" width="900" height="400" class="alignnone size-full wp-image-177670"></p>
<p>Solid Security includes a suite of tools to protect your website, including 2FA. The free version of the plugin offers email-based authentication, while the pro version supports TOTP and backup codes. You can also configure strong password requirements and ban users after repeated failed login attempts.</p>
<p><img decoding="async" loading="lazy" src="https://thenokiablog.com/wp-content/uploads/2025/12/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress-5.jpg" alt="Solid Security Basic WordPress plugin" width="900" height="400" class="alignnone size-full wp-image-177671"></p>
<h2><span id="An_Easy_Way_To_Improve_Your_Websites_Security">An Easy Way To Improve Your Website&rsquo;s Security</span></h2>
<p>Two-factor authentication is a must-have feature for every WordPress website. It&rsquo;s also one of the easiest items to implement.</p>
<p>The plugins above streamline the process and provide multiple authentication options. So, whether you need to protect site administrators, e-commerce customers, or both, there&rsquo;s a plugin for you.</p>
<p>We hope you found this plugin roundup useful. Check out our WordPress Security section for more helpful tips and tools.</p>
<hr>
<div class="explore-more">
<h2><span id="More_Essential_Free_WordPress_Plugins">More Essential Free WordPress Plugins</span></h2>
<p>Our WordPress.com Review Migrate to WordPress.com </p></div>

<p>&ndash;&gt;</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p>                here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/6-best-plugins-for-adding-two-factor-authentication-tfa-to-wordpress/">6 Best Plugins for Adding Two-Factor Authentication (TFA) to WordPress</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
