Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.5 KB

README.md

File metadata and controls

41 lines (32 loc) · 1.5 KB

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