Connect with us

WORDPRESS

Show and Hide Content via the Block Visibility WordPress Plugin

Published

on

show-and-hide-content-via-the-block-visibility-wordpress-plugin

Nick Diego’s Block Visibility is not the only plugin to take on the challenge of controlling when blocks are visible on the front end. Other plugins like EditorsKit do a fine job of it. However, Block Visibility is a solution users should not overlook, even if they have already begun testing other options.

Diego first released the plugin in August 2020. Since then, he has added routine updates that have added value without shifting its focus.

One of the biggest reasons to use this plugin is that it is a standalone project. It is purely about doing one thing and doing it well. Its settings are all about giving users complete control over how they want to manage block visibility. From my experience with it, the plugin does its job better than alternatives.

It may not have a large number of installs, but if its five-star rating on WordPress.org is any indication, it at least has a happy user base.

Diego does have plans for a pro add-on. The tentative release date is set for Spring 2021. He seems to be moving forward with that launch after adding some foundational code in the recent version 1.4 release.

“As Block Visibility grows, there will be advanced and/or niche functionality that will be useful for certain users,” wrote Diego in the 1.4 release announcement. “Think integrations with other third-party plugins. There will always be a free version of the plugin but some of these additional features will ultimately be provided by a premium (paid) add-on called Block Visibility Pro.”

In my previous job, one of my primary products focused on membership solutions. There is a seemingly endless number of possibilities that users dream up to control content visibility. I have little doubt that a pro add-on is necessary for catching all of the edge cases.

See also  How to Send WooCommerce Abandoned Cart Emails (for Free)

How the Plugin Works

Block Visibility is easy to use. End-users click a toggle switch, select from a date-picker, or tick a radio box. Their blocks are shown or hidden on the front end based on their selections. It does not get much simpler than that.

The plugin adds a new “Visibility” tab for each block, which displays the visibility controls. The exception to this is for inner blocks. For example, the Columns block has controls, but the inner Column blocks do not. However, this can be enabled for inner blocks via the “Full Control Mode” on the plugin’s settings screen.

There are three primary types of options:

  • Hide the block from everyone.
  • Time-based start and stop dates for displaying.
  • Visibility by user role.
Block Visibility plugin controls in the WordPress block editor.
Block Visibility’s controls in the inspector.

Hiding the block from everyone might be useful for users who are testing on a page or for blocks that are a work in progress. Start and stop dates create the potential for drip or trial content on membership-based sites, especially when combined with the role-based visibility options.

These basic options will cover the majority of scenarios that the average user will need them for.

One of the nicer features of the plugin is that it adds a transparent gray overlay, dashed border, and icon to each block that has visibility options set. This is shown when the block is not selected in the editor. It is one of those small touches that make the plugin useful.

Block Visibility plugin gray overlay when a block is not selected.

 

Overlay for blocks with visibility options.

There is one confusing piece of the UI. There are two instances where there is a “public” option. That label immediately makes me think that the block should be visible to everyone. However, reading the description is necessary. These options are for showing content to logged-out users only. I would rather see these two options renamed to “logged out” for clarity.

See also  WordPress Response to Rogue Plugin Updates

A Promising Future

While Block Visibility is a solid plugin right now, we are barely scratching the surface of what will be possible in the long run. In version 1.4, released two weeks ago, Diego added preliminary compatibility with Full Site Editing. This means visibility options will no longer be confined to the post or page content.

“Once every piece of content on a website is a ‘block,’ you will be able to easily control the visibility of practically anything on a WordPress website,” wrote Diego in the version 1.4 announcement post. “From dynamic navigation menus to user specific headers and footers, the possibilities are endless!”

Gutenberg’s site editor is a beta feature right now, but the plugin’s integration seems to already work well. I ran a quick test to show a custom nav menu to shop customers only. I had no problems on my end.

Using the Block Visibility plugin with the Gutenberg site editor.

 

Setting visibility options for a menu in Gutenberg’s site editor.

Users will not be limited to such basic needs in the future. Imagine showing ads in a sidebar to logged-out users. Imagine adding a time-sensitive holiday sale banner in the header. Imagine designing a homepage template that displays different content to subscribers vs. visitors.

There are ways to do all of this today by piecing various plugins together, using custom shortcodes, or writing code. However, when an entire site is made of blocks, you only need one method to control anything’s visibility. Literally.

Read More

Continue Reading
Advertisement

WORDPRESS

Removing Malware from Your WordPress Website

Published

on

What is the best way to get rid of malware from your WordPress website? Trust me you are not the only one in search of an answer to this question. Because of the prominence of WordPress, site owners all around the world are concerned about malware attacks. Consider that for a moment. When a platform becomes so popular that it is the indisputable CMS industry leader, you can bet that hackers are looking at it as well.

How to Know If Your Site is Malware Infected?

Before anything else, let’s have a look at how to identify if your site is infected in the first place.

Some of the obvious indicators of a malware infestation are as follows:

●       Your website’s traffic has suddenly changed.

●       Your website has been suspended by your web server or Google, preventing visitors from accessing it.

●       Customers are unable to access your website or their accounts.

●       “Your site is hacked” message appears.

●       Pop-up adverts that are not approved display on your website.

●       You or your customers begin to receive a large number of spam emails.

These are just a few signs that your WordPress site may have been compromised with malware. It can harm your business’s reputation, SEO rankings, traffic, and bottom line. For SEO rankings, you should consider hiring a good SEO Agency Sydney and it will be a cherry on the cake if you also outsource WordPress development services to a professional.

Removing Malwares From A WordPress Site

It’s time to get rid of the virus from your WordPress site now that you’ve found it. This must be done in a way that the malware is completely removed from your site.

See also  Google Improves Web Stories WordPress Plugin

There are two methods for removing WordPress malware –

1. Remove malware manually

Manual cleanup is a time-consuming and technical method that requires two steps:

●       Getting rid of infected WordPress files and folders

●       Cleaning the tables in the compromised WordPress database

Manual cleanups can backfire badly and damage your website due to their intricacy. Manual scanning and cleaning may not be successful against every sort of malware threat, especially as hackers devise new ways to compromise websites. Since it’s tricky, it’s advisable to hire a WordPress Developer Brisbane who will know it all about this complicated technical process.

 2. Use a malware plugin

All you have to do is download a security plugin on your site and they’ll take care of the rest.

Malware attempts and attacks do not occur infrequently, they will happen again. Hackers will try to infiltrate your website once more. You must ensure that your website is secure in the future. And what’s the ideal approach to do this? Outsource services to a professional wordpress developer Brisbane like WP Creative, who will make all the tedious tasks easier for you.

Author: Amelia Thompson is an experienced content writer who has written various useful articles on SEO Agency Sydney, WordPress Developer Brisbane and many more. To read all such articles you can visit: https://wpcreative.weebly.com/seo-services-sydney.html

Continue Reading

WORDPRESS

WordPress 5.9 to Introduce Language Switcher on Login Screen

Published

on

wordpress-5.9-to-introduce-language-switcher-on-login-screen-–-wp-tavern

More than half of all WordPress sites (50.5%) are using translations for non-English speaking locales. It’s only natural that these users would want the ability to register, log in, and reset their passwords in their own languages. A new language switcher on the login screen has finally made its way into core, four years after the ticket was opened.

WordPress 5.9 will introduce a new dropdown on the login screen that will display all the languages that are currently installed. (New languages can be added under the Settings > General screen in the admin.)

In a dev note for the new features, WordPress Core Committer Jb Audras demonstrated how developers can filter the default arguments for the languages dropdown. This might be useful for sites that have dozens of languages installed where administrators only wish to display a handful in the dropdown.

WordPress 5.9 beta 3 was released last week. In addition to the new language switcher, the latest beta also includes the following:

  • Editor: Add FSE infrastructure from Gutenberg plugin into Core (#54335).
  • Formatting: Allow PDFs to embedded as objects (#54261)
  • REST API: Add navigation areas REST API endpoint from Gutenberg plugin (#54393)
  • Themes: A fix for the Live Preview button bug (#54578)

RC1 is expected January 4, 2022, which will bring a code freeze for both Gutenberg and core and a hard string freeze. Contributors are also aiming to have the field guide with dev notes published at this time.

If you have time to contribute during the upcoming holiday weeks, the 5.9 release team welcomes more testing for bugs. Anne McCarthy has published a detailed guide to testing the full-site editing features that are anticipated in 5.9. Testers should check against the list of known issues before reporting bugs on Trac or in the Alpha/Beta forums.

See also  How to Disable Plugins in WordPress Website?
Continue Reading

WORDPRESS

WordPress SEO: More Success in Google Marketing

Published

on

wordpress-seo:-more-success-in-google-marketing-–-broadway

WordPress is the most popular content management system, but many websites do not take full advantage of its SEO capabilities.

Why CMS was originally designed as a pure blogging software urdPress It has thrived to become number one in the world over the years, not just because of its simple and largely coding-free handling. WordPress is also ideal for many of the typical SEO tasks that need to be done to get a good ranking on Google & Co.

So if you rely on a CMS with an attractive graphical user interface, you are killing two birds with one stone: with WordPress, not only can a new website be created in a visually appealing way, but the content can also be relatively easily optimized for a good standing in search engines. This does not even require in-depth programming knowledge.

Of course it also causes WordPress No wonder: The top three positions in Google and other search engine results cannot be reached overnight. But there are ways to boost luck a bit. With the following 3 SEO tools, you can set your WordPress site to achieve sustainable SERP success (SERP = Search Engine Ranking Position). Ideally, this can be done at the planning stage of a new web project.

Anyone who plans the best possible technical and basic foundation for a new WordPress installation right from the start will also later be on top in the search results. As everywhere, the same is true in the digital world: a good foundation pays off. Even if the €1 super bargaining web space offers may sound tempting – if you’re in full swing here, you’ll at least run into trouble when the load gets too high. And it often happens faster than you might imagine when building a great new WordPress website.

See also  WordPress Response to Rogue Plugin Updates

The reason: Most WordPress sites buy a wide range of functionality through the use of various plug-ins, so-called plugins. This is practical because you can save planning and programming efforts with add-ons. But add-ons are sensitive to pressure on the growing number Site performance ratings.

If your web project is also located with several third-party websites in a small shared web space on a crowded cheap server, this quickly becomes noticeable with long loading times, choppy transitions, and poor Google rankings. Last but not least, Google rates websites based on load times: they largely want to spare searchers a bad user experience on poor websites.

So your work does not depend on an ultra-cheap display of web space, but on a display of appropriate dimensions Offer WordPress Hosting Ideally with the following features which are essential for good web performance:

  • Fast PHP version, better PHP 7.3 or higher,
  • Server-side caching, for example with OPcacheAnd
  • Server-side compression with eg gZIP or shrink And
  • the talk HTTP/2.

If there is one point missing from this list of minimum requirements, you should look for a different basis for your new WordPress project right away. The features listed together ensure a comprehensive basic performance configuration of the web server.

Do you know the greatest performance that can be found on almost all WordPress sites? It’s the pictures. This is where even experienced web designers, web developers, and content managers find a really practical WordPress function to be a killer when it comes to performance: Autofocus! This ensures that graphic and image elements that are too large also fit into the template being used as if by magic. But this only happens visually – the actual file size remains unchanged. This costs valuable computing power – with every page view.

See also  Google Improves Web Stories WordPress Plugin

The good news: What used to be very difficult to deal with is now implemented with specially designed accessories such as EWWW Photo Enhancer. Once installed and configured, the powerful plugin automatically ensures that even large image and graphics files no longer turn into a dreaded PageSpeed ​​killer on your WordPress site.

Also called logical lazy loading, which is an optimization technique by which content is loaded only when it comes to your website’s visitors – not, as is usually the case, when the page is initially loaded. This delays downloading and serving content that is not currently needed. Technology becomes especially interesting when a website has many embedded videos and high-resolution images. It’s easy to find lazy loading using keyword research in the WordPress plugin library. Anyone who uses it will quickly find that the dreaded Google SpeedTest just got a whole lot better.

with Performance – Optimierungs – Plugins how automatic optimization or W3 Total Cache Source code components such as CSS, HTML, and JavaScript can also be highly compressed. They usually also offer the option to activate additional browser caching options. A little tip: anyone who has already paid attention to the most important performance features when choosing a server can forget this point. In this case, optimal caching is already provided from the start, leaving nothing undesirable – and usually greatly bypassing any CMS-indexed option.

Powerful, perfect also pre-installed Netzwerk Content Delivery (CDN) It is another important CMS-level improvement key. Because whenever the distance between your server location and where the user wants to access your WordPress website is too large, valuable milliseconds are wasted in response times. Due to its network structure, a CDN significantly reduces these response times, thus contributing to a fast user experience, which is ultimately reflected in search engine optimization (SEO) results.

See also  How to Send WooCommerce Abandoned Cart Emails (for Free)

Even if the above technical settings at the server and WordPress level form the basis for successful WordPress SEO, it often ends up being the last optimization step: the best possible content for site visitors (and thus also for search engines).

Fortunately, there are a number of useful plugins for this task that make life easier for webmasters. The plugin is one of the most popular software for WordPress SEO in recent years Yoast Seo Created, which can be found and installed using keyword search in the included plug-in library.

When creating new articles, it is useful to hit the front in terms of content, keyword technique, and text length. Importance descriptive information Such as title, description and so-called open graph data can be stored quickly and easily using the handy plugin. (hv)

Continue Reading

DON'T MISS ANY IMPORTANT NEWS!
Subscribe To our Newsletter
We promise not to spam you. Unsubscribe at any time.
Invalid email address

Trending