Plugin Documentation

WordPress NFT Creator


Enter a new era of internet with WEB3 by starting a NFT marketplace by deploying contract directly to your favorite network ETH, Polygon, BSC etc.

Some features of the Plugin

Installation

There are two ways to complete the installation of this plugin:

Installation via WordPress dashboard

  1. Download the zip file of the plugin wpnc.zip from CodeCanyon
  2. Access the WordPress Dashboard and go to Plugins -> Add New -> Upload Plugin install
  3. Click Install to install/activate the plugin.

Installation via FTP

  1. Download the zip file of the plugin wpnc.zip from CodeCanyon
  2. Access the Filezilla (or any other FTP tool)
  3. Unzip the plugin archive wpnc.zip on your computer
  4. Browse to wp-content/plugins/ on Filezilla and upload the wpnc plugin directory
  5. Wait for the files to transfer and go to your dashboard -> Plugins and activate the plugin

Settings Overview

Go to admin dashboard > MT Plugins > NFT Creator and click the Settings button from the upper-right area.

step 1

General settings:

step 1

API Settings:

See this tutorial on how to Setup ThirdWeb API (Required)

Easily instruct your plugins where to upload the NFT's image/video/3d object etc. (Only one option can be active at the moment).
See this tutorial on how to Setup Infura (Optional)
See this tutorial on how to Setup Moralis (Optional)

step 1

Contract Settings:

Your contract data and the restricted networks.

step 1

Notice: You must click save for each tab individually to apply settings.

What Contract to Choose?

With the version 2.0.0 of the NFT Creator Plugin you can now let your users deploy a whole multitude of contracts.

We now provide prebuilt contracts from ThirdWeb. Or the possibility to add your own custom contracts (not just one) !

In the end, any option you are checking from inside the dropdown, they will be available for the user to choose on the Create Digital Asset form.

You can learn more about these contracts on ThirdWeb's website.

step 1

Add Custom Contract

The plugin offers, besides the option to select one of the prebuild contracts, the possibility to create and save your own custom contracts. In order to achieve that, follow the instructions shown below:

  1. Add a new contract:

  2. Complete the fields and save the contract:

  3. Save the settings:

You can now find the newly created contract in the dropdown list.

Plugin Setup

The only required settings before using the plugin is the Compiled NFT Contracts field from the Contract Settings Page. You can download the contract from below and use it as a custom contract by pressing the "Add New Contract" button or you choose from ThirdWeb's prebuilt contract.

Contract Settings:

step 1

Default contract

You can download the default contract from here.

Default Pre-compiled contract (You will have to paste this inside your settings field)

You can download the default compiled contract from here.



Wallet Setup

In order for you to test the plugin you must install Metamask (Or any other wallet).

I would recommend testing the plugin inside a testnet (so you don't actually spend money on testing). Follow this tutorial if you want to set it up

ThirdWeb API Setup (Required)

About ThirdWeb

ThirdWeb's API is required in order to use the ThirdWeb's infrastructure services such as Smart Wallet, Storage and RPCs, and it is completely free to use. These services are built into many of the ThirdWeb products such as the CLI and SDKs.

!!! WARNING: Without setting up the ThirdWeb API you and your users will not be able to use the main functionalities of the plugin. !!!

How to Set Up ThirdWeb API



  1. Navigate to the API Settings section of the plugin's settings.
  2. Complete both the Client ID and Secret Key fields of the ThirdWeb API.
  3. Save the changes.

How to Obtain a ThirdWeb API Key

  1. Head over to the settings tab of the ThirdWeb Dashboard.
  2. Click the button labeled "Create API Key".
  3. Enter a name for the key.
  4. Enter the domains or app bundle ids that the Client Id will be allowed to be used with.
  5. Click the "Create" button to create the key.

Infura Setup (Optional)

  1. Sign up for a free account.
    Go to Infura and sign up for a free account.
  2. Follow the images shown below:



  3. Paste the API key inside your settings.

Moralis Setup (Optional) ! DEPRECATED !

  1. Sign up for a free account.
    Go to Moralis and sign up for a free account.
  2. Follow this image shown below:
  3. Paste the API key inside your settings.

Extending the plugin

As of version 1.3.0 we are offering a set of filters and actions for you to be able to integrate your custom functions inside the creator:

Actions

Note: As of version 1.2.0 the before event can stop the execution of the Creator if it returns an 401 (or any error code) error.

Filters

As of version 1.2.0 we are providing a way for you to add custom parameters for your contract constructor. For you to do that you will need to add a custom script inside your theme with the following code:

				document.wordpress_nft_creator = {};
				document.wordpress_nft_creator.constructor_args = {
					"param1": "value1"
					"param2": "value2"
					// etc. (it should match the number of constructor arguments you have inside your contract)
				}
			

If you want to let the user store his custom data you will have to create a form that interacts with the document.wordpress_nft_creator.constructor_args variable.

F.A.Q

Q: Do I need WooCommerce?
A: Nope! This plugin works independently of Woocomerce;

Q: Do I need NFT Core?
A: Nope! This plugin works independently of NFT Core;

Q: Why does it create a contract for every NFT?
A: Because that is the ERC721 standard way of doing things;

Q: Does this plugin support ERC1155 ?
A: You can deploy any kind of contract with this plugin (programming knowledge might be required), even ERC1155. ;

Q: Compatible with other themes?
A: Yes! It is compatible with any theme;

Q: What is the name of the theme used in this demo?
A: iffiliate - WooCommerce Amazon Affiliates Theme by ModelTheme;

Q: How to Increase the Memory Limit on WordPress?
A: Please check this tutorial;

Change LOG