Block Visibility
Easily create dynamic content in WordPress that will increase conversions, enhance the user experience, and improve your workflow. With this no-code solution, control which blocks are visible on your website and who can see them. Schedule content to show or hide at a specific time. Display exclusive promotions to your customers or members. Restrict blocks to specific user roles, screen sizes, query strings, WooCommerce products, EDD downloads, ACF fields, WP Fusion tags, and more. Block Visibility is built exclusively for the WordPress Editor (Gutenberg) and is designed to work with any WordPress block. This includes blocks natively provided by WordPress, third-party blocks, and even block-based widgets. Create Conditional Blocks in Seconds! Work directly in the WordPress Editor with blocks you’re already familiar with. There is no external editor or new interface to learn. In seconds, you can transform static blocks into conditional and personalized content. It takes just 3 simple steps: Create your content using any WordPress block. Select the desired visibility conditions. Save the page/post and marvel at the results! Packed With Features Visibility Controls determine whether a block should be visible to users on the front end of your website. Features include: Hide blocks from all users. Schedule when content should be visible using a start and end date/time. Conditionally display blocks based on screen size (Desktop, Tablet, Mobile, and more) Only show blocks to logged-in users. Only show blocks to logged-out users. Only show blocks to users with specific roles (Administrator, Subscriber, Customer, Member, etc.) Only show blocks to specific users. Great for personalization. Show or hide dynamic blocks based on URL query strings. Great for marketing campaigns! Show or hide blocks based on their location and “attributes” of their location (post type, taxonomy, archive, etc.) Display blocks based on a website visitor’s referral source (domain/URL). Support for all post and user metadata (custom fields). Display blocks based on HTML cookies. WooCommerce: Show or hide blocks based on products, cart contents, customer purchase history, and more. Advanced Custom Fields (ACF): Control the visibility of block content based on ACF fields. Easy Digital Downloads: Show or hide blocks based on downloads, cart contents, customer purchase history, and more. WP Fusion: Combine Block Visibility with the power of WP Fusion to conditionally show or hide content based on data from your favorite CRM or marketing automation platform. PLUS: Powerful Settings allow you to customize Block Visibility to your needs or those of your clients. Visibility Presets allow you to control multiple blocks at once. Globally disable any visibility control. Restrict visibility controls to specific block types. Set permissions so only certain users have access to visibility conditions. Configure up to 4 different breakpoints to optimize the screen size controls. Disable contextual indicators and other plugin utilities. Customize the contextual indicator color to enhance theme compatibility. Enable Full Control Mode 🚀 (See the FAQs). Remove all plugin settings on uninstall. Why Do I Need This? While there are countless applications for conditional blocks, here are a few examples to get you started: Use as a content management tool. Hide new blocks while working on them, but keep the page published. Temporarily hide seasonal content on your website rather than having to delete it. Schedule time-sensitive promotional content or event information to display automatically. Show or hide specific content on desktops, tablets, or mobile devices. Restrict content so it’s only visible to your customers, members, or subscribers. Display messaging to logged-out users, encouraging them to subscribe to your blog. Create unique marketing campaigns using query string parameters to display personalized messaging (See it in action) Conditionally display elements in the Site Editor using advanced visibility logic. Increase visitor engagement and conversions with dynamic content and personalization. Why Choose Block Visibility? 1. Easy to Use Block Visibility is the easiest way to create conditional blocks in WordPress. All with no code and just a few clicks! 2. A Balance of Power and Simplicity Block Visibility is for you whether you’re building a sophisticated time-based promotional campaign for your customers or need to hide a few blocks on mobile. Don’t need certain functionality? Toggle it off in the plugin settings. 3. Helpful Support and Continuous Development Block Visibility is designed, developed, and supported by Nick Diego with contributions from the broader Block Visibility community. Have an idea for additional block logic? Let us know in the plugin support forum. Knowledge Base (Documentation) Support Forum For an unbiased review, the plugin was featured on WordPress Tavern. Plays nice with others Block Visibility is designed to work with any block and is tested with these top block libraries and plugins. Compatibility + Direct Integration WooCommerce Advanced Custom Fields Easy Digital Downloads WP Fusion Stay Connected Stay up-to-date on Block Visibility using the links below. The plugin is also being developed transparently on GitHub, so give it a star and follow along! 😉 Plugin Website Knowledge Base YouTube Channel Follow on Twitter View on GitHub
Top keywords
- blocks24×2.91%
- block18×2.18%
- visibility18×2.18%
- content13×1.58%
- hide11×1.33%
- show11×1.33%
- block visibility10×1.21%
- display8×0.97%
- users8×0.97%
- wordpress8×0.97%
- show or hide7×0.85%
- only6×0.73%
Dynamic Month & Year into Posts
Automate your SEO Insert dynamic dates anywhere in your WordPress content using simple shortcodes: Years: [year] (current), [nyear] (next), [pyear] (previous) Months: [month] (January), [mon] (Jan), [nmonth]/[pmonth] (next/previous) Dates: [date] (full date), [dt] (day number), [weekday] (day name) Age: [age date="1990-05-15"] calculates years from any date Season: [season] displays current season (supports hemispheres) Countdowns: [daysuntil date="2025-12-25"] and [dayssince date="2020-01-01"] Post Dates: [datemodified] and [datepublished] shortcodes. Event Dates: [blackfriday] and [cybermonday] shortcodes. Block Editor support: Toolbar to quickly insert the shortcodes, customizable date and countdown blocks. Works in posts, pages, titles, widgets, and SEO meta. Renders in your WordPress language. Perfect for affiliate marketers, bloggers, and anyone who wants evergreen content that updates automatically. But that’s not it. See Full List of Shortcodes New: Display current season with [season] shortcode. Supports hemisphere: [season region="south"] for Southern hemisphere. New: Calculate age with [age date="1990-05-15"] shortcode. Add ordinal suffix with ordinal="true" (e.g., “35th”). New: Post dates with [datemodified] and [datepublished] shortcodes. New: Event dates with [blackfriday] and [cybermonday] shortcodes. Gutenberg Blocks Four dedicated blocks for the Block Editor: Dynamic Date Block – Insert any dynamic date with live preview: Select date type from dropdown (year, month, date, age, season, etc.) Configure age format (years only, years & months, full breakdown) Set ordinal suffix for age display Typography and color controls Spacing options (margin, padding) Live Countdown Block – Real-time countdown powered by WordPress Interactivity API: Count days until or since any date Auto-updates without page reload, even when the page HTML is cached Repeat the countdown annually Customizable label text Correct singular and plural day labels Typography and color styling Perfect for event promotions and milestones Published Date Block – Display the post’s publication date: Uses WordPress date format from Settings Custom format support Typography and color controls Modified Date Block – Display the post’s last modified date: Uses WordPress date format from Settings Custom format support Typography and color controls All blocks are found under “Widgets” category in the Block Inserter. Plus, a toolbar button in the formatting toolbar lets you quickly insert any shortcode into text blocks. Works with popular SEO Plugins Supports RankMath, Yoast and SEOPress plugins and can be used to replace all their date based variables. [year] works as a replacement to %currentyear% , [month] as a replacement to %currentmonth% already. Use various combinations to make your articles even more dynamic and make your content always SEO ready — no matter the date or year. Extremely useful for Affiliate Marketers, Amazon Affiliates and Copywriters. Tested Support With Rank Math Rank Math Pro SEOPress SEOPress Premium Yoast SEO Yoast SEO Premium SureRank Gutenberg and Block Editor Content, Headings and Buttons All popular Block Editor Addons, including Greenshift, GenerateBlocks, Ultimate Blocks, Kadence Blocks, Spectra, Otter Blocks. Elementor Page Builder WP Bakery Page Builder Visual Composer Beaver Builder Brizy Builder Oxygen Builder Bricks Builder Jetpack Related Posts Intelly Related Posts a.k.a. Inline Related Posts (IRP) Advanced Custom Fields (Manual: please see the FAQs) Lightweight Accordion (including Schema) All major themes including Twenty Twenty-Five, Twenty Twenty-Four, Twenty Twenty-Three, Twenty Twenty-Two, Twenty Twenty-One, Twenty Twenty, Astra, Neve, Hello (Elementor), Kadence, GeneratePress, Blocksy, and OceanWP. Tested to be totally working with Yoast SEO, SEOPress and Rank Math’s breadcrumbs, custom meta titles, excerpt etc. Note: Since August 2021, Google has started showing h1 titles in search results, this plugin becomes even more useful as no other SEO plugins adds Current Month, Current Year or Today’s Date in h1 titles except this; keeping the same in SEO meta as well. More features Full Rank Math OpenGraph Support. Full Schema and OpenGraph support in YoastSEO. Multiple Langauge (WPML) Support: Shortcode renders your site’s defined language. Contextual Related Posts Support. Jetpack Related Posts Support. Totally native. Doesn’t write anything to the database. No configuration required. The Live Countdown corrects cached day counts in the browser. Easy to use Just install the plugin (see Installation tab) and activate it. Add [year] to render current year, [nyear] to render next year, [pyear] to render previous year, [month] to render current month (full name) and [mon] to render first three letters of months automatically. See Full List of Shortcodes (You can also see this link in Plugins page in your WordPress dashboard). As the months & years change, these shortcodes get updated into the content and title automatically on the shortcode locations. Zero bloat. Editor assets load only in the editor, and frontend JavaScript loads only for the Live Countdown block. Shortcode rendering makes no plugin database queries. Ordinary shortcodes are server-rendered, so configure your page cache to expire or purge when a cached year, month, date or age should change. Also, Dynamic Month & Year into Posts is a totally free plugin. There are no upsells and will never be. More details Free Support More WordPress Plugins and Web Tools WordPress Deals Request a Feature Privacy Dynamic Month & Year into Posts by Gaurav Tiwari is a completely native shortcode plugin. It has no settings page and does not use any analytics tool to gather or use your data. It’s bloat and ad-free. No notifications. No upgrade notices. Nothing. Fast Support and Feature Implementation I will provide instant support for all your queries or feature requests. Use support forum to ask your questions, request new features or report something broken. I will also update the plugin for every major and minor WordPress version. Compatibility I use the plugin myself on my primary website and other client sites that I run. I try my best to ensure that this plugin is compatible with every functionality plugin you use. Please let me know if this plugin isn’t compatible with your stack, create a support request and allow me some time. Please note that some plugins strip shortcodes or disable rendering of shortcodes. In such cases, it’s impossible to implement dynamic dates without rewriting the whole plugin code and breaking a couple of things. But still, I’ll give a try. Help me with a positive review to keep the development going.