❌

Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

How to Hide WordPress Blocks Based on Device

9 August 2026 at 09:42

Responsive controls are a long-sought-after feature for the WordPress Block Editor. Changing a page’s design or layout based on a user’s device is a staple of modern web design. Yet, doing so in WordPress has typically required a third-party solution, such as a page builder. Thankfully, that’s changing.

The WordPress project is slowly but surely inching toward responsive block settings. Version 6.9 introduced the Block Visibility feature, allowing you to temporarily disable a block without deleting it from a post. WordPress 7.0 took it a step further by adding options to hide a block based on device.

Perhaps it’s a niche feature. But it’s also quite handy for targeting mobile or desktop users with specific blocks. And it’s also a gateway to more responsive controls landing in WordPress 7.1.

Today’s tip will show you how easy it is to show or hide a block based on a user’s device. Here we go!

Sample Project: Simplify a Hero Area for Mobile Users

Here’s a common scenario: Your website has a large hero area, complete with a high-resolution image, text, and a call to action (CTA). It looks great on a desktop device but is clunky on a phone. The image is too big, and there’s too much text for users to digest. What to do?

The responsive Block Visibility controls will make this a piece of cake. We’ll create two hero areas – one for desktop and another optimized for mobile. The result will be a better user experience for everyone.

Step 1: Create Desktop and Mobile Hero Areas

The first step is to create the two hero areas for our page. We’ll grab one from the WordPress Block Pattern library and see what we can do with it.

A hero area optimized for desktop screens.

Our desktop hero area is beautiful on the big screen! It should also work well on tablets, such as an iPad. However, it may be overwhelming for mobile users.

Let’s simplify. We duplicated the desktop hero and made a few changes:

  • We replaced the image with a cropped version that is optimized for smaller screens.
  • We centered the text and CTA.
  • We replaced the three columns of text with one, shorter passage.
  • Finally, we tightened up the spacing to reduce scrolling.

The mobile hero offers the same immersive look without the extra bulk.

The revised hero area is optimized for mobile screens.

Step 2: Assign Hero Areas to Their Respective Devices

As of now, our page has two hero areas, each contained within a Group block. The next step is to set one of them to display on desktop/tablet devices, and the other on mobile. We’ll use the Block Visibility feature to make it happen.

Desktop/Tablet Devices:

  • Click on the Desktop Hero block we created.
  • Click on the Options menu (⋮) and select Hide Block.
  • Choose the Hide on Mobile option.
  • Click the Apply button and save the page.

Hiding the desktop version of our hero area on mobile devices.

Mobile Devices:

  • Click on the Mobile Hero block we created.
  • Click on the Options menu (⋮) and select Hide Block.
  • We’ll choose two options this time: Hide on Desktop, Hide on Tablet
  • Click the Apply button and save the page.

Our mobile hero area is now hidden on desktop and tablet devices.

You may notice that the mobile hero no longer displays on the Block Editor canvas. That’s the desired result, as it won’t be in the way when working in Desktop preview mode.

We see the correct hero area in Desktop preview mode.

Switch to Mobile preview mode, and you’ll see the opposite effect. The desktop hero is hidden, allowing the mobile version to take over. You can edit these blocks when in the appropriate preview mode.

Mobile preview mode hides the desktop version.

Note that you can also view and edit these blocks using the Document Overview (List View) feature (Shift+Alt+O). Select the block, click on the Options menu (⋮), and select Show from the menu. You can hide it again once you’re finished editing.

Oh, and be sure to test on different devices! It’s not enough to shrink your desktop’s browser window. You can use your browser’s dev tools to emulate a mobile device if you don’t have one handy.

Use Different WordPress Blocks on Different Devices

It’s often the little extras that make the biggest difference. Targeting different devices via the Block Visibility feature is a prime example. Its release didn’t draw much fanfare. However, it makes WordPress more flexible for designers.

Before WordPress 7.0, we’d have to work around this limitation. That could mean installing a specialized plugin or writing custom CSS rules in a theme. Now, we’re only a few clicks away from choosing which blocks display on a given device.

The feature saves us time, improves the user experience, and won’t hog server resources. Most of all, it’s a sign of things to come for WordPress.

The post How to Hide WordPress Blocks Based on Device appeared first on Speckyboy Design Magazine.

How To Make Your WordPress Website AI-Friendly

9 August 2026 at 09:37

There’s no doubt that artificial intelligence (AI) is changing how people discover websites. Google is all-in on the technology, showing generated search results above the tried-and-true list of links. We know that things are changing. The confusion lies in how to adjust to this brave new world.

SEO has always had a dash of mysticism to it. People have tried various tricks and techniques to improve rankings. Now, we’re faced with the challenge of pleasing AEO (Answer Engine Optimization). The goal is to get your content cited by AI models. That could be a search engine like Google. But it also includes ChatGPT, Claude, and other AI tools. When a user asks an AI model a question, you want to be a source of relevant information.

Much like SEO, AEO inspires debate about what providers are looking for in a website. Do we need to do anything drastic? Or are the fundamentals of adding metadata and structured content enough?

These are among the questions we’re trying to answer here today. We can’t promise perfect results, nor that best practices won’t change (that’s a given). But we can show you some tools and resources to help you on your journey.

The good news is that WordPress is a great platform for getting your site noticed by search engines. It already includes some basics, such as logical content structure and sitemaps. And its plugin ecosystem is full of high-quality tools. This includes options for improving your site’s AEO.

Let’s get started!

Why You Should Care About AEO

Traditional search engines are still an important piece of the puzzle for discovering content. However, people are also turning to AI tools for information within the context of a conversation. That differs quite a bit from how we’ve researched topics for the past 30 years or so.

For example, you might use Bing to find a list of WordPress e-commerce plugins. That’s great, but you still have to click through each relevant link to find what you’re looking for. You could, in theory, waste a lot of time researching plugins that aren’t a good fit for your project.

Compare that experience with using an AI tool like Gemini. You could ask for WordPress e-commerce plugins with specific features, such as subscriptions or shipping integrations. The AI model will provide a summary of plugins that match your request, complete with background information.

AI provides a succinct report that makes it easier for users to find links of interest. That’s important to every website owner, whether you’re a plumber or a tech publication. Making your site AEO-friendly is part of getting your content seen by the right people.

It’s also a different deal than the training bots that hog site resources. You can still block harmful bots while welcoming the legitimate ones.

People are starting to use AI apps to find what they need online.

Scan Your Site for AI Agent Readiness

What does your WordPress website need to be indexed by AI models? You may already be on the right track.

The basics of SEO, such as a robots.txt file and an XML sitemap, are must-haves. These items help direct bots to your content and tell them what to index, similar to how search engines use them. But there’s more to the story.

Cloudflare has a helpful scanning tool, Is Your Site Agent-Ready?, that analyzes your website’s structure. It looks for the following:

  • The discoverability of your site, via robots.txt, sitemaps, link response headers, and DNS records.
  • If your site makes content available in an AI-accessible format, such as Markdown.
  • How your site manages bot access via robots.txt.
  • Any agent skills your site may have, such as MCP.
  • E-commerce protocols.

You’ll receive a report that details where you’re succeeding and where there’s room for improvement. We should note that some of the above may not apply to your website. For example, agent skills won’t be relevant unless you have AI agents on your website. You can also adjust the scan settings to focus only on the areas you care about.

As with all scanning tools (AI and otherwise), take the results with a grain of salt. However, they will provide some actionable advice. It’s up to you to determine what makes sense for your website.

Is Your Site Agent-Ready will help you learn how to make your site compatible with AI.

Turn Your HTML Content Into Markdown

It may be a surprise, but HTML isn’t the best format for AI models to read. Instead, they prefer Markdown. This plain-text markup language is easier for bots (and humans) to understand. Elements like headings and lists can be identified without knowing code.

Markdown is also more efficient than HTML. Models don’t have to sift through lines of unnecessary code to access your content. That means fewer tokens, which is better for everyone.

WordPress doesn’t natively support Markdown output. However, WordPress.org recently added this capability via the experimental html-to-md plugin – and you can, too. It’s a simple way to make your site friendlier to AI models.

Install the plugin, activate it, and a <link> element will be added to each page’s header, pointing to the Markdown version. Your site’s visitors won’t know the difference, but AI models will.

LLM Markdown is a similar plugin, but with a twist. A settings page lets you enable or disable Markdown output for specific post types. Look for more plugins to hit the market as Markdown output becomes more commonplace.

Cloudflare users with paid plans also have access to a Markdown for Agents feature. It doesn’t require a plugin – simply turn it on in your account dashboard.

AI tools often prefer to read markdown instead of HTML.

Helpful AEO Resources

Optimizing your WordPress website (or any website, for that matter) for AI agents isn’t as hard as you may think. The tools and tips above will help you determine and address your needs.

But AEO is a nascent subject. As such, expect things to change quickly. The following are some resources you can use to learn more and stay ahead of the game:

We hope you found this overview useful. Now that you have a better idea of what AEO is, it’s time for action!

The post How To Make Your WordPress Website AI-Friendly appeared first on Speckyboy Design Magazine.

Best WordPress Staging Site Tools & Resources in 2026

4 July 2026 at 06:55

WordPress websites seem to grow more complex each year. We add a multitude of plugins and write custom code. And now we’re adding various flavors of AI to the mix.

It’s risky to apply these features to a production website without proper testing. As such, a staging site is crucial to ensure everything works. This enables you to catch bugs before they impact users. It also allows you to experiment with new features.

What is a staging site? It’s a copy of your production website that lives elsewhere. Common examples include a separate install on your web host or a local installation. The content doesn’t necessarily have to match. However, the site’s theme and plugins should be included to ensure an apples-to-apples comparison.

This guide will introduce you to how staging sites work, ways to implement them, and tools for building them. Soon, you’ll have everything you need to set up the perfect testing environment.


Does Your Web Host Offer Staging Environments?

Before we go any further, note that many web hosts offer staging environments. Some allow you to clone your production site with a click, making the process a piece of cake.

Beyond the convenience of this setup, there are a few other advantages. The first is that the hosting configuration is the same. You have the same server architecture, and can usually run the same versions of PHP and MySQL (or MariaDB, depending on what your host offers).

It’s also possible to change versions when needed. You can use this functionality to test PHP upgrades and make any necessary adjustments.

Another big plus is that you can often sync your websites across environments. This is a great solution for launching a redesign or shipping new features.

Best of all, hosts do the behind-the-scenes work to ensure your staging site works. They’ll assign a temporary URL, saving you from performing a search-and-replace in the database.

A host-based staging site is usually the best option. It’s easier and has all the features you’ll need.

Local Hosting Tools

Hosting your staging site locally is another worthwhile option. You get the speed and privacy of running WordPress on your device. Even better, there are tools for spinning up new sites in a jiffy. From there, you can use a backup plugin to copy your production site and import it locally.

Here are a few tools that you can use to build a local staging environment:

Studio

Studio is a free and open-source local development environment from WordPress.com (a sponsor of Speckyboy). The app uses WordPress Playground to help you create new sites on demand with no dependencies. If you use WordPress.com or Pressable for hosting, you can also sync your local sites.

WordPress Studio

Local

Local offers one-click WordPress installations and a host of other goodies. You can use SSH or WP-CLI to manage your sites via the command line, create live links to share with others, and hot-swap PHP versions for testing. The app also syncs with sites hosted on Flywheel and WP Engine.

LocalWP Staging App

MAMP and XAMPP

We’ll lump these two apps together, as they are similar in scope. Both are local server environments that work on multiple operating systems. XAMPP will install an Apache/MariaDB/PHP/Perl stack. MAMP lets you choose from Apache or NGINX, along with a MySQL/PHP/Perl/Python/Ruby stack. Consider them both a bit more hands-on than the other local apps in this roundup.

MAMP and XAMPP Local Servers

WordPress Staging Plugins

Finally, we’ll introduce you to some plugins that will help you create a staging environment. Some will create a separate WordPress install on your existing host, while others connect to third-party services. You’ll also find plugins that pack up your site so that you can upload it elsewhere.

WP STAGING

WP Staging provides flexibility for how and where to create a staging environment. The plugin will clone your site to a subdirectory on your existing host. But you can also download a package to use locally or remotely. It also doubles as a daily backup plugin.

WP Staging WordPress plugin

WPvivid

Create a custom site backup with WPvivid and migrate it to a subdirectory on your web host or other remote server. You can even send your site’s files to cloud services like Amazon S3, DigitalOcean Spaces, Dropbox, and Google Drive. There’s also a 1-click restore feature for rolling your site back to a previous version.

WPvivid WordPress plugin

InstaWP Connect

InstaWP is a WordPress cloud service for rapid site building and deployment. You can use the InstaWP Connect plugin to copy your production website to the platform. From there, you can sync content between environments – perfect for testing new items before launch. Note that you’ll need an InstaWP account to use their service.

InstaWP Connect WordPress plugin

BlogVault

You can use BlogVault to create a staging backup to their cloud service. Make changes on staging and merge them back to your production site. The plugin also supports migrating your site to another host and will create incremental backups as you make changes. Note that BlogVault offers a 7-day free trial – you’ll need to pay for long-term access.

Blog Valut WordPress plugin

A Better Way To Test WordPress

A staging environment is a must-have for any mission-critical WordPress website. It’s a safe place for testing, troubleshooting, and experimenting. In addition, it provides peace of mind in knowing your work won’t negatively impact users.

The tools above will give you a great start, but some go the extra mile. Features such as site syncing and backup restoration make your job that much easier. The more automation you can bring to the process, the better.

Don’t take chances with your live website! Staging environments have never been easier to build and use. Find the tool that fits your needs and create your own personal safety net.

The post Best WordPress Staging Site Tools & Resources in 2026 appeared first on Speckyboy Design Magazine.

Quick Tip: How To Use WordPress Block Notes

7 June 2026 at 17:11

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 – all without writing a line of code. Add a block theme, and get a browser-based design and development experience.

There is one valuable thing that WordPress blocks left behind, however: code commenting. They’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.

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’s locked or requires a specific setting to display correctly. Sometimes we need to remind ourselves why we did something.

That’s where the WordPress Notes feature comes in handy. Use it to add notes to specific blocks and even keep a threaded conversation. It’s another way to improve your editorial workflow and provide a quick reference for users.

Here’s a look at how the feature works. We’ll show you how to add and retrieve notes to any block on your site. In addition, we’ll share a few tips and hidden gems worth knowing about.

Sample Project: Let’s Collaborate With Blocks

The WordPress Notes feature is part of the larger Gutenberg Collaboration phase. At the very least, it’s a way to add reminders or have an asynchronous discussion with other site users. That second part is what we’ll focus on here.

We’ll simulate a discussion of colleagues regarding a Group block. We promise it will be quick and easy!

Step 1: Choose a Block

The first step is to open a page or post in the Block Editor and select a block. We’ll choose a Group block at the top of the page. We want to discuss its styling with a colleague.

We chose the Group block to add our note

Step 2: Add a Note

Now that we know which block we want to discuss, it’s time to add a note.

  1. Click on the Options menu (⋮) and select Add note.
  2. A note dialog appears on the right side of the screen. We can add our note in this space.
  3. Click the Add note button to save the note.

The Add Note feature lives in the block Options menu

For reference, we asked if our Group block should have a background color to stand out from the rest of the content.

We add a note to our Group block

Next, we’ll wait for our colleague to reply to our note. When they click the block in question, they’ll see a user avatar that indicates a note is available.

An avatar icon signals that a note is available for this block

Step 3: Our Colleague Replies

Here’s a handy feature: WordPress will send you an email when someone replies to your note (it’s based on the existing comment system). As such, we don’t have to keep checking our page for the latest news.

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’s note notification.

Our colleague replied to the block note

Step 4: Reply and Resolve

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.

To resolve the note, we’ll click the checkmark 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.

We marked our note as resolved. It will stay attached to the block until we remove it

An Easy Way To Collaborate in WordPress

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).

Even better, you don’t need a plugin to get started – it’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.

Whether you’re part of a team or working solo, give WordPress Notes a try. You may wonder how you lived without it!

The post Quick Tip: How To Use WordPress Block Notes appeared first on Speckyboy Design Magazine.

A New Choice: Use an Existing Plugin or Vibe Code Your Own?

7 June 2026 at 14:38

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’s no wonder we have sites with dozens of plugins – many of which go unused.

Sure, building a custom plugin has always been an option. That’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.

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’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.

This technological shift gives new life to an old question: Should you use an existing plugin or build one yourself? AI certainly expands the potential scope of what’s possible, thus calling into question the need for third-party tools.

But don’t go on a vibe-coding rampage just yet! There are some important considerations when making this decision. Let’s talk about them.

Which Approach Best Fits Your Needs?

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.

The downside of that approach is that a plugin might be more than what you need, or fall short in some areas. The old “too much or not enough” conundrum has long been a part of the plugin experience.

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.

For example, let’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.

On the other hand, needs evolve during a project’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.

As such, it’s important to consider your current and future needs. If scope creep is a concern, a third-party plugin may be a better choice.

In some cases, a custom WordPress plugin will be the better option for your project

Do You Want the Maintenance Responsibilities?

An existing WordPress plugin may not solve your every need. However, it takes you off the hook regarding future maintenance. It’s the plugin author’s responsibility to fix bugs and build new features.

Naturally, that’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’t support. You don’t want to be left to pick up the pieces or placate clients when there’s a problem.

It’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’s going on every step of the way. You don’t have to wait for someone else to take action.

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.

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.

Building custom plugins requires future maintenance

Can You Build It Better?

The final consideration on our list is simple. The idea is that just because you can build something with AI, it doesn’t mean you should do so. Sometimes, there are established products that do the job well enough. Why reinvent the wheel?

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’s even worth the effort. The same could be said for Yoast SEO, Gravity Forms, and other flagship products.

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’s also an opportunity to build your own extensions of an existing plugin.

There are also scenarios when your needs are very specific, and there aren’t any great options available. It’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’s empowering for those working with clients!

The bottom line is to use AI when it’s beneficial. You might be able to build the next WooCommerce, but what’s the payoff? Instead, look for opportunities that help you level up.

Building a niche plugin can be more performant than installing third-party options

There Are Endless Plugin Options and Opportunities

The WordPress plugin ecosystem has an answer for many project requirements. It’s one reason why the content management system (CMS) has remained so popular. Adding more capabilities has always been a few clicks away.

The introduction of AI into the development process has expanded those possibilities even further. If an existing plugin doesn’t do everything you need, it’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.

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.

Still, vibe coding isn’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’t necessarily reduce those risks.

The good news is that you have a world of choices. We hope the considerations above help you make the right one!

The post A New Choice: Use an Existing Plugin or Vibe Code Your Own? appeared first on Speckyboy Design Magazine.

❌
❌