Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery('.homepage_buttons_text a[href^="http://danrobertsgroup.com/?attachment_id=1037"]').each(function(){
- jQuery(this).html("<h1 class='homepage_button_title'>Workouts</h1><span class='homepage_button_title'>Books / DVD's / Downloads</span>");
- });
- function child_theme_enqueue_scripts() {
- wp_enqueue_script(
- 'child-scripts',
- get_stylesheet_directory_uri() . '/js/child-scripts.js',
- array( 'jquery' ),
- '1.0',
- true
- );
- }
- add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_scripts' );
- jQuery(document).ready(function(){
- jQuery('.homepage_buttons_text a[href^="http://danrobertsgroup.com/?attachment_id=1037"]').each(function(){
- jQuery(this).html("<h1 class='homepage_button_title'>Workouts</h1><span class='homepage_button_title'>Books / DVD's / Downloads</span>");
- });
- });
- function child_theme_enqueue_scripts() {
- wp_enqueue_script(
- 'child-scripts',
- get_stylesheet_directory_uri() . '/js/child-scripts.js',
- array( 'jquery' ),
- '1.0',
- true
- );
- }
- add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_scripts', 30 );
Add Comment
Please, Sign In to add comment