Skip to content

Instantly share code, notes, and snippets.

@Pavracer
Pavracer / Accordion and Toggle Speed.html
Created September 30, 2021 08:53
Accordion and Toggle Speed
<script>
(function($) {
$( 'body' ).on( 'click', '.et_pb_toggle_title, .et_fb_toggle_overlay', function() {
var $this_heading = $(this),
$module = $this_heading.closest('.et_pb_toggle'),
$section = $module.parents( '.et_pb_section' ),
$content = $module.find('.et_pb_toggle_content'),
$accordion = $module.closest( '.et_pb_accordion' ),
is_accordion = $accordion.length,
is_accordion_toggling = $accordion.hasClass( 'et_pb_accordion_toggling' ),
<script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://rawgit.com/peacepostman/wavify/master/wavify.js'></script>
<script>
/*
* Wavify
* Jquery Plugin to make some nice waves
* by peacepostman @ potion
*/
(function($) {
<?php
get_header();
$is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() );
$show_navigation = get_post_meta( get_the_ID(), '_et_pb_project_nav', true );
?>
<script src="https://widgets.mindbodyonline.com/javascripts/healcode.js" type="text/javascript"></script>
<healcode-widget data-type="appointments" data-widget-partner="object" data-widget-id="2951720690" data-widget-version="0" ></healcode-widget>
<!-- Example One -->
<div id="bbox-root"></div>
<script type="text/javascript">
window.bboxInit = function () {
bbox.showForm('9040803f-9231-4926-8779-07b5ee29e55d');
};
(function () {
var e = document.createElement('script'); e.async = true;
e.src = 'https://bbox.blackbaudhosting.com/webforms/bbox-min.js';
document.getElementsByTagName('head')[0].appendChild(e);
<script>
jQuery(document).ready(function(){
jQuery('.et_pb_section:hidden').removeAttr('id');
});
</script>
@Pavracer
Pavracer / Results for text change and remove quotes.js
Created July 20, 2021 13:08
Results for text change and remove quotes.js
<script>
(function($) {
$(document).ready(function() {
let txt = $(".cu-search .et_pb_text_inner");
txt.text(txt.text().replace("Results for", "new-text").replace(/"/g,''));
});
})(jQuery);
</script>
<div class="timeline-wrapper clearfix">
<div class="timeline-content-day">
<div class="timeline-line"></div>
<div class="timeline-content-item active" data-timeline="hour-8">
<span>8 AM</span>
<div class="timeline-content-item-reveal">
<a href="#">
<img src="https://picsum.photos/g/300/300">
<span>Lorem Ipsum</span>
/*For adjusting row width on iPad pros 1024 x 1366 */
@media only screen and (max-width: 1024px)
{
.custom_row_tablet.et_pb_row {
width: 90% !important;
}
}
/*Remove Bottom Bar*/