NFT Token Gating for Polygon Blockchain on WordPress
NFT Token Gating for Polygon Blockchain on WordPress
NFT Token Gating is a feature that allows users to restrict access to their NFTs (Non-Fungible Tokens) and FTs (Fungible Tokens)based on certain criteria, such as ownership of another NFT or possession of a specific token. This feature is available for users of the Polygon blockchain who are using WordPress as their content management system.
To implement NFT Token Gating on Polygon blockchain, users can use the miniorange web3 authentication plugin. This plugin makes it easy to authenticate users and restrict access to NFTs/FTs based on specific criteria. With this plugin, users can easily set up rules for how their content can be accessed, ensuring that they are only accessible to authorized users who hold the specific NFTs/FTs .
Pre-requisites : Download And Installation
Note: To set up NFT Token Gating for Polygon on your WordPress site, you will need a premium version of the WordPress Web3 authentication plugin. You can also try our free plugin by following the download steps below.
Log into your WordPress instance as an admin.
Go to the WordPress Dashboard -> Plugins and click on Add New.
Search for a WordPress Web3 authentication plugin and click on Install Now.
Go the miniOrange web3 authentication plugin dashboard, and switch to Contract Address Config Tab to configure NFTs details for Polygon blockchain.
Click on Add Token Detail.
A modal will pop up, and add the following details:
Contract Address Name:
Give any arbitrary name to this field, let's say SpacePunk877, now this contract address name will refer to the complete configuration.
Fill the collection address/ contract address of your NFT collection.If you do not have any contract address please reach out to us at email@example.com. Our team will help to deploy your first NFT contract.
No. of tokens(optional):
To access gated content, your user needs to hold at least 'x' amount of tokens. As an example, if x = 1, then user must have at least 1 token/nft to gain access to token gated content
Token Ids can be specified if you want your user to hold specific NFTs. In the case of multiple token IDs, they should be separated by commas (,) For e.g 1,2,3,4,5,6. If a user holds any NFT from the configured ID, then they will have access to the token-gated page.
Click on Add button.
You have successfully added the NFT Token Details for Polygon blockchain.
Step 2. Configure NFT Token Gating
Go to the NFT Content Restriction tab and click on Add Content Gating Details button.
A modal popup will appear on screen. Modal popup have the Following fields:
1. Page URL : Enter the page url that you want to restrict, also you can restrict all the child page of a parent page. For e.g let say the page url is https://<your-wp-site-url>/parent-page/, if you configure this as Page URL then all the child page extending this URL will get restricted too. https://<your-wp-site-url>/parent-page/child-page-1 https://<your-wp-site-url>/parent-page/child-page-2 https://<your-wp-site-url>/parent-page/child-page-3 …. and so on
2. Contract Address Name: Now you can select the contract address Name from the dropdown, it is the same Contract Address Name that we configured in the Contract Address Config tab, and it refers all the configuration correspondence to it.
3. Error URL: If the user does not hold an NFT, and attempts to access the gated content, then where should they be redirected. You can create a customized page that says "you are not authorized to access this page". You can also provide a link for purchasing those NFT's.
Once you configured all the details click on Add button. Likewise, you can add more details.
Step 3. Test the configuration for any wallet address
Click on Test Configuration button a modal popup will appear.
Enter the wallet address against which you want to test the configurations, also select the respective blockchain and click on submit button.
Once you click on the submit button, you will get the configuration for that wallet address results as shown.
We support a wide range of wallets, blockchains, and tokens
Mail us at firstname.lastname@example.org for quick guidance (via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.
Need Help? We are right here!
Contact miniOrange Support
Thanks for your inquiry.
If you dont hear from us within 24 hours, please feel free to send a follow up email to email@example.com
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.