How to Use Yes/No Button Extension
Yes/No button extension is a great tool for creating various acceptance requests on the website, such as asking to agree to terms and conditions or using cookies of the website. The extension can be used to warn about the content of the website, along with the situations, when the website includes restricted material.
Therefore, users can access the website only if they choose the ''Yes'' button.
When the ''No'' button is clicked, users will be redirected to the restriction URL.
The extension is paid and can be purchased along with the bundles or as a single extension.
Once purchased, it should be installed like this:
In case it is purchased within bundle, the following article needs to be checked.
If it is purchased as a single extension, check this article.
Open the Popup Builder from your WordPress Dashboard and click on ''Add new'':
Click on the ''Yes/No buttons'':
The following options are available for the ''Yes'' button:
Label: the name of the button can be changed from here
Background color: the background of the button can be customized using this option
Text color: use the option to change the color of the button name
Border color: customize the border color of button using this option
Fixed Sizes: the options is turned on by default, but if you want to set custom size for the button, the Width and Height can be changed as well
Padding: set the respective padding for the button
Font size: use the option to set the desired font size for label
Border width: customize the border width of the button via px
Radius: the border radius can be adjusted with this option via px or %
Save choice: the option is turned on by default and is a great way to set the frequency of the popup opening for the same user who clicked on ''Yes'' button. It suggests the following options:
Expiration time: here you can set the respective days after which the popup can be shown to the same user after they choose the ''Yes'' option.
Page level cookie saving - Once the option is "checked" the popup confirmation date will refer to the current page. If the option is unchecked, then the page level cookie saving option will refer to all pages sitewide.
Options available with the ''No'' button:
It has the same options as ''Yes'' button, except ''Save Choice''. Instead, it has the following additional options:
Restriction URL: set the URL where users will be redirected once the ''No'' button is clicked.
Push to bottom: if there is a content within the buttons, it will be shown above the buttons, when the options is turned on.
As the labels of the buttons are fully customizable and can be changed according to your needs, you can change the label of ''Yes'' button into ''No'' and the label of the ''No'' button into ''Yes'' so the users will be redirected to the desired URL after choosing the ''Yes'' button and access the website content when choosing the ''No'' button.
Therefore, users can access the website only if they choose the ''Yes'' button.
When the ''No'' button is clicked, users will be redirected to the restriction URL.
The extension is paid and can be purchased along with the bundles or as a single extension.
Once purchased, it should be installed like this:
In case it is purchased within bundle, the following article needs to be checked.
If it is purchased as a single extension, check this article.
Steps to create Yes/No button popup:
Open the Popup Builder from your WordPress Dashboard and click on ''Add new'':
Click on the ''Yes/No buttons'':
Steps to customize the Yes/No buttons popup:
The following options are available for the ''Yes'' button:
Label: the name of the button can be changed from here
Background color: the background of the button can be customized using this option
Text color: use the option to change the color of the button name
Border color: customize the border color of button using this option
Fixed Sizes: the options is turned on by default, but if you want to set custom size for the button, the Width and Height can be changed as well
Padding: set the respective padding for the button
Font size: use the option to set the desired font size for label
Border width: customize the border width of the button via px
Radius: the border radius can be adjusted with this option via px or %
Save choice: the option is turned on by default and is a great way to set the frequency of the popup opening for the same user who clicked on ''Yes'' button. It suggests the following options:
Expiration time: here you can set the respective days after which the popup can be shown to the same user after they choose the ''Yes'' option.
Page level cookie saving - Once the option is "checked" the popup confirmation date will refer to the current page. If the option is unchecked, then the page level cookie saving option will refer to all pages sitewide.
Options available with the ''No'' button:
It has the same options as ''Yes'' button, except ''Save Choice''. Instead, it has the following additional options:
Restriction URL: set the URL where users will be redirected once the ''No'' button is clicked.
Push to bottom: if there is a content within the buttons, it will be shown above the buttons, when the options is turned on.
As the labels of the buttons are fully customizable and can be changed according to your needs, you can change the label of ''Yes'' button into ''No'' and the label of the ''No'' button into ''Yes'' so the users will be redirected to the desired URL after choosing the ''Yes'' button and access the website content when choosing the ''No'' button.
Updated on: 21/04/2022
Thank you!