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 | |
function et_theme_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'et_theme_enqueue_styles' ); | |
function et_my_widgets_init() { | |
register_sidebar( array( | |
'name' => esc_html__( 'Sidebar', 'Divi' ), |
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
<script type="text/javascript"> | |
jQuery(document).ready(function() { | |
jQuery('.logo_container a').on("click", function (e) { | |
e.preventDefault(); | |
}); | |
}); | |
</script> |
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
<script type="text/javascript"> | |
jQuery(document).ready(function(){ | |
jQuery('body:not(.page-id-100) img#logo').attr('src', 'logo_link_goes_here'); | |
}); | |
</script> |
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
<script type="text/javascript"> | |
jQuery(function(){ | |
jQuery('.logo_container a').attr('href','#'); | |
}); | |
</script> |
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
<script type="text/javascript"> | |
jQuery(document).ready( function() { | |
jQuery(".post-content a.more-link ").text('Text_goes_here'); | |
} ); | |
</script> |
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
<script> | |
jQuery( document ).ready(function() { | |
jQuery("ul.et-social-icons").append('<div id="et_top_search" ><span id="et_search_icon"></span></div>'); | |
jQuery("ul.et-social-icons #et_search_icon").click(function(){jQuery('#main-header #et_top_search').trigger('click');}); | |
}); | |
</script> |
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
<script type="text/javascript"> | |
jQuery(function() { | |
jQuery('.logo_container a').click(function() { | |
jQuery('html, body').animate({ | |
scrollTop: 0 | |
}, 800); | |
}); | |
}); | |
</script> |
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
<script> | |
jQuery( document ).ready(function() { | |
jQuery("ul.et-social-icons").append('<div id="et_top_search" ><span id="et_search_icon"></span></div>'); | |
jQuery("ul.et-social-icons #et_search_icon").click(function(){jQuery('#main-header #et_top_search').trigger('click');}); | |
}); | |
</script> |
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
<script> | |
jQuery( document ).ready(function() { | |
jQuery(".custom_contact span.et_pb_contact_field_options_title").wrap('<a href="http://justelshopandtravel.com/wp-content/uploads/2017/11/Marinier.html" class="terms"></a>'); | |
}); | |
</script> |
OlderNewer