> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.popup-builder.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Use Yes/No Button Extension

[Yes/No button extension](https://popup-builder.com/downloads/yes-no-button-popup/) 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](https://popup-builder.com/pricing/) or as a [single](https://popup-builder.com/product/yes-no-button-popup/) extension.
Once purchased, it should be installed like this:
* In case it is purchased within bundle, the [following article](/en/article/how-to-install-bundle-paid-version-3364s5/) needs to be checked.
* If it is purchased as a single extension, check [this article](/en/article/how-to-install-a-single-extension-1gc5noh/).

### Steps to create Yes/No button popup:
* Open the Popup Builder from your WordPress Dashboard and click on **''Add new''**:




![](https://storage.crisp.chat/users/helpdesk/website/3fee58eaeb6dda00/screenshot3_bzhtzd.png)
* Click on the **''Yes/No buttons''**:


![](https://storage.crisp.chat/users/helpdesk/website/3fee58eaeb6dda00/screenshot7_1j15vny.png)


### Steps to customize the Yes/No buttons popup:
* The following options are available for the **''Yes''** button:



![](https://storage.crisp.chat/users/helpdesk/website/3fee58eaeb6dda00/12419798-3890b1062d6467e06b9de_1eq1mic.png)

**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:

![](https://storage.crisp.chat/users/helpdesk/website/3fee58eaeb6dda00/12421053-68f29777c09b2a2d88c93_1buil6i.png)

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.


