Custom button class for specific blocks built with Lazy Blocks
April 27, 2022 | Code Snippets,Lazy Blocks
How to add your own custom class to Button blocks when using Lazy Blocks
April 27, 2022 | Code Snippets,Lazy Blocks
How to add your own custom class to Button blocks when using Lazy Blocks
April 22, 2022 | Code Snippets,WordPress
When registering a sidebar, you can set the “before_widget” value to include some classes that WordPress will define. With Gutenberg, you can now use blocks in your sidebars – yay! However, that “before_widget” class by default does not include anything about the block that is used so it can be a challenge to custom style […]
February 21, 2022 | Releases
Released today is Confetti 1.4 which includes support for Contact Form 7. In 1.3, I introduced support for LearnDash and LifterLMS. I also confirmed support for WP Simple Pay and Restrict Content Pro was available even with the free version using the simple shortcode method. I am looking for even more integrations so if you […]
February 15, 2022 | Releases
WIth the release of Confetti 1.1, I am happy to say that the Confetti WordPress plugin now integrates with GiveWP and Forminator. GiveWP – Add a confetti effect after someone submits an online donation. A great way for the person donating to your cause to celebrate! See the documentation Forminator – Like our other form […]
February 14, 2022 | Gravity Forms,Releases,WooCommerce,WordPress
I am very excited to announce a new plugin by WP Sunshine: Address Autocomplete! It comes in both Free and Premium flavors. Address Autocomplete is my favorite feature on any e-commerce site or any time I need to fill out my address on a website. I recently built it into the core of Sunshine Photo […]
January 17, 2022 | Code Snippets,Easy Digital Downloads
Here on WPSunshine I use Easy Digital Downloads to sell my plugins. I do not allow customers to purchase multiples of the same plugin. I offer all Sunshine Photo Cart paying customers a free Confetti single site license via a discount code with a unique URL. However, clicking that URL multiple times meant someone could […]
June 7, 2021 | Releases
The Order Redirects for WooCommerce plugin has been updated to version 0.8. With this release comes new Template Tags which allow you to add order metadata to an order redirect URL. This will allow you to pass any stored information about the order onto any URL. Available template tags: {order_id}{meta:anymetakeyhere} Example redirect URL:https://anysite.com/?order_id={order_id}&state={meta:_billing_state}
May 13, 2021 | WordPress
I ran into a situation where I created a reuseable block for many of the content pages of an e-commerce site. We wanted to use this same block at the bottom of all WooCommerce product pages as well. I could have written custom HTML/CSS for this small banner block but I always love making things […]
April 23, 2021 | Code Snippets,Gravity Forms
Gravity Forms has a fancy List field that lets you do repeatable form fields. Then, using the “gform_column_input” filter, you can adjust your columns to be <select> (or drop-down) fields. We had a situation where the drop-down fields had a lot of options and using Gravity Forms enhanced UI to allow users to search all […]
April 1, 2021 | Code Snippets,Gravity Forms
With this small code snippet, a class is added to the <body> tag of your page once a Gravity Form has been submitted. I used this code so I could hide some other elements on a contact page after form submission via CSS. This does not work with ajax forms, sorry.