Created
March 19, 2018 20:20
-
-
Save anwerashif/b344157ddcc8adb9488489d33bdad532 to your computer and use it in GitHub Desktop.
How to Add Pinterest Button to Genesis Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Do NOT include the PHP opening tag | |
// Enqueue Scripts | |
add_action( 'wp_enqueue_scripts', 'pinterest_button_script' ); | |
function pinterest_button_script() { | |
wp_enqueue_script( 'pin-me-int', get_stylesheet_directory_uri() .'/js/pinme.js', array( 'jquery' ), CHILD_THEME_VERSION, true ); | |
wp_enqueue_script( 'mystudio', get_stylesheet_directory_uri() .'/js/rainastudio.js', array( 'jquery' ), CHILD_THEME_VERSION, true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment