How Do I Add Pinterest Button to WordPress?

Pinterest is a popular online pinboard for sharing images and articles. It’s a great way to collect ideas and inspiration, and find new recipes and crafts.

Adding a Pinterest button to your WordPress website is easy. First, create a new plugin in your WordPress plugin manager.

Then, copy the following code and paste it into the plugin’s code area.

/**

* Pinterest Button for WordPress

*

* Use this plugin to add a Pinterest button to your WordPress website.

* @version 1.1

*/

* Create a new Pinterest button for your WordPress website

* @uses PinterestBtn

* @uses WPBakery Page Builder

function createPinterestButton() {

PinterestBtn.register();

}

// Add the Pinterest button to your WordPress site.

add_action(‘wp_enqueue_scripts’, createPinterestButton);.