manifest / integrations / wordpress-metamask-connector
MetaMask Connector
Wordpress MetaMask wallet connector plugin for Smart Contract interaction.
★ 0stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/chaingence/wordpress-metamask-connector/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WORDPRESS METAMASK CONNECTOR
Chaingence
:construction:
metamask-connector/
│
├── css/
│ └── style.css
│
├── js/
│ └── metamask-connector.js
│
└── metamask-connector.php
- 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.
- 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]'); ?>