Gutenberg Block: How to reload a ServerSideRender?

I solved it with an “update” button in the block. It is a bit weird because I need to send “fake” attributes to re-render it. But it works. var el = wp.element.createElement; var registerBlockType = wp.blocks.registerBlockType; var BlockControls = wp.blockEditor.BlockControls; var ServerSideRender = wp.serverSideRender; var Toolbar = wp.components.Toolbar; var IconButton = wp.components.Button; function sendfakeAttribute(props) { … Read more

category page multiple products add to cart any plugin available for woocommerce

In your WooCommerce settings, go to the Products tab. You want to disable “Redirect to the cart page after successful addition” and make sure “Enable AJAX add to cart buttons on archives” is checked. I think the default behaviour for WooCommerce is to allow AJAX ‘Add to Cart’ functionality – but I believe that only … Read more

Allow members to create groups on my site

You can use BuddyPress to create groups, manage groups, allow users to join groups and search them. BuddyPress is like a Social Network plugin for WordPress. Has it’s own sub-section/ecosystem of plugins and add-ons and code snippets that you can apply. https://en-ca.wordpress.org/plugins/buddypress/ There’s an active developer community and lots of documentation too: https://codex.buddypress.org