btcp-pay-docs/integrations/wordpress.md

2.5 KiB

Wordpress

Official Repository

{% embed data="{"url":"https://github.com/BTCPrivate/btcp-widget/blob/master/plugins/btcp-pay-wordpress.php","type":"link","title":"BTCPrivate/btcp-widget","description":"btcp-widget - JS widget for online shop payments","icon":{"type":"icon","url":"https://github.com/fluidicon.png","aspectRatio":0},"thumbnail":{"type":"thumbnail","url":"https://avatars0.githubusercontent.com/u/34813369?s=400&v=4","width":400,"height":400,"aspectRatio":1}}" %}

{% hint style="danger" %} The WordPress plugin is not complete, therefore the plugin is not functional yet. {% endhint %}

Downloading the plugin from GitHub

{% hint style="info" %} You should have registered in BTCP Pay before attempting to follow the steps. {% endhint %}

Firstly, download the WordPress plugin from the official repo by clicking on 'Raw'.

Then right click and click on 'Save as...'.

Then click on 'Save'.

{% hint style="success" %} You have now downloaded the BTCP Pay WordPress plugin! {% endhint %}

Uploading the plugin to WordPress

Next we will need to upload the plugin on WordPress.

{% hint style="warning" %} You must have access to your website through FTP and should be confident in how to navigate directories. {% endhint %}

{% hint style="info" %} Use an FTP client such as FileZilla or WinSCP {% endhint %}

Firstly, login to your website and navigate to your WordPress home directory.

Next go to your plugin directory, this is normally /wp-content/plugins/

Drag the .PHP file to the directory to upload it.

You have now uploaded the plugin to WordPress!

{% hint style="success" %} You have now uploaded the BTCP Pay WordPress plugin! {% endhint %}

Activate the plugin

{% hint style="warning" %} You must access to you administrator account on WordPress in order to activate the plugin. {% endhint %}

Firstly login to your target WordPress site and click on Plugins

Next, look for a plugin called Bitcoin Private for WooCommerce and click on Acitavte

{% hint style="danger" %} Complete docs coming soon! {% endhint %}