Added a ‘content_visibility_replace_nested_block_content’ filter to allow add-ons to filter what a ‘removed’ nested block is replaced with.Added a ‘content_visibility_replace_block_content’ filter to allow add-ons to filter what a ‘removed’ block is replaced with.Turns out 0.1.1 wasn’t the first public release because I didn’t have the deploy script set up.Added finalized (…for now?) banner and icon.Icon used to show blocks which have content visibility rules changes depending on whether a block is shown or hidden.Content Visibility controls now appear on public custom post types.Enables you to select which posts, pages, or special types of content (such as the 404 error, a search results page, a date archive etc.) where each widget will be shown or hidden. Added content visibility to the block-editor based widgets screen currently only available with the Gutenberg plugin.Fixed a bug where setting no special pages may ignore other rules.Props Added dashboard and settings classes ready for add-ons which require settings. Fixed bug where data that is only intended to be loaded on the block editor widgets screen was being loaded on all block editor screens.Content Visibility controls now appear when you select multiple blocks.Content Visibility controls now show on the reusable blocks edit screen in addition to when you insert a reusable block.Fixed an issue with the build script which prevented 0.2.3 from being available in the plugins repo. Thanks to Karl Anderson in the support forum for making this request. So now you can you say “show this widget (block) when the post being shown has this tag” or maybe “hide this block when the post being shown is in this category”. Added Category and Tag controls for widgets screen.Fixed issue where the block controls didn’t appear on the WordPress 5.8 widgets screen.Fixed an issue where in some cases the block controls for widgets still weren’t appearing on the new 5.8 widgets screen.Do you have any feature requests? Let me know!ĭevelopment is mostly done on github and releases are made there and here to the WordPress plugins directory.Or when someone has submitted a specific Gravity Form. Show a block when someone has purchased something from your WooCommerce store. Specific 3rd-party plugin integrations.Specific Users: Show or hide a block to one or more specific users.Geolocation: Show this block only to users whose connection is in France.Think things like “Every Wednesday between 3pm and 4pm” or “First two weeks in November” Should be fine for non-authenticated requests, but need to dive deeper for auth’d requests A way to set replacement content when a block is hidden. ![]() Version 0.2.5 adds the ability to show or hide your widgets on posts that are in specific category or tags. Want to show a specific text block to only people who are signed in and ONLY on search results? You got it. Limit display of your widgets on specific URLs on your site. As long as you have version 9.9 or above of the Gutenberg plugin you are able to use content visibility on all of your widgets, just like you can with all of your blocks in the content editor. ![]() Since version 0.1.7 you are now able to control the visibility of your widgets. ![]() ![]() Other examples of nested blocks are the Group Block or if you use an accordion or tabs block all work! Widgets Columns and Nested Blocksĭo you use columns and put other blocks in them? Content Visibility allows you to control both the ‘nested’ blocks (such as a paragraph block in a column block) or the ‘parent’ block themselves (perhaps hide an entire column for users who aren’t signed in?). Use Reusable Blocks? No problem, Content Visibility handles those too. At a glanceĪn icon next to each block with active rules allows your content authors to see which blocks may or may not be shown to certain audiences at a glance. Only want those who are signed in to your site to see certain pieces of content? Easy peasy. Only want a message to appear on Christmas Day? You got it. Need some blocks to show to everyone and a few to only be available to your site’s subscribers? No problem. Mix and match the visibility of blocks on a single page. Individual Block ControlsĮvery individual block on all posts and pages (and custom post types) on your site can have their own controls. You can also show or hide blocks to folks using RSS Readers. Additional add-ons provide controls for role-based visibility, time-based visibility, and location-based visibility. Write content, decide who should see it, and press publish.Ĭontent Visibility provides a set of controls to say whether each discrete piece of content (or ‘block’ in WordPress parlance) should be shown to users who are signed in to your site or not.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |