WP Manifestindependent plugin directory
manifest / integrations / wordpress-metamask-connector

MetaMask Connector

Wordpress MetaMask wallet connector plugin for Smart Contract interaction.

by chaingence · github.com/chaingence/wordpress-metamask-connector · website

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/chaingence/wordpress-metamask-connector/archive/refs/heads/main.zip

WORDPRESS METAMASK CONNECTOR

Chaingence

:construction:

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]'); ?>