Skip to content

Wordpress MetaMask wallet connector plugin for Smart Contract interaction.

Notifications You must be signed in to change notification settings

chaingence/wordpress-metamask-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WORDPRESS METAMASK CONNECTOR

Chaingence

LICENSE PHP JavaScript Wordpress Web3.js METAMASK

🚧

metamask-connector/
│
├── css/
│   └── style.css
│
├── js/
│   └── metamask-connector.js
│
└──  metamask-connector.php
  1. Including the Plugin in WordPress Upload your plugin folder to the wp-content/plugins directory of your WordPress installation. Activate the plugin through the WordPress admin interface.
  2. Using the Shortcode Use the [metamask_connector] shortcode in your posts or pages to display the "Connect to MetaMask" button.

or

Place the Button in Your Theme's Header To place the button in the far right corner of the header, you'll need to edit your theme's header file (header.php), which might require a child theme to avoid losing changes on theme updates.

In your theme's header.php, add the following where you want the button:

<?php echo do_shortcode('[metamask_connector]'); ?>

About

Wordpress MetaMask wallet connector plugin for Smart Contract interaction.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published