Skip to content

Instantly share code, notes, and snippets.

@chrisegg
chrisegg / gf-dual-confirmation.php
Last active March 26, 2023 20:37
Uses the gform_confirmation hook to display a text confirmation message before triggering the redirect confirmation.
<?php
// Copy everything below this line
/**
* GravityRanger Dual Confirmation (text + redirect)
* https://gravityranger.com/display-text-confirmation-before-redirecting-gravity-forms
*
* Uses the gform_confirmation hook to display a text confirmation message before triggering the redirect confirmation.
* This code is a modified version of the snippet provided on docs.gravityfroms.com
*
@MWDelaney
MWDelaney / app.js
Last active March 26, 2023 20:32
Gravity Forms better spinner
$(".gform_wrapper form").on("submit", function(e){
$(this).find(".gform_button").attr("disabled", true);
});
/*--------------------------Default Styles------------------------------*/
.oxy-woo-my-account {
width: 100%;
}
.oxy-woo-my-account a {
color: #00ADEF;
transition: all ease 0.2s;
}
.oxy-woo-my-account a:hover {
color: #E96199;
@monecchi
monecchi / plugin.php
Created September 6, 2018 23:29 — forked from igorbenic/plugin.php
Show a WordPress Post in a Modal - Article on Ibenic.com
<?php
/**
* Plugin Name: IBenic Bootstrap Modal
* Plugin URI: http://www.ibenic.com/show-a-wordpress-post-in-a-modal/
* Description: Show an article in a modal on the same page.
* Version: 1.0
* Author: Igor benić
* Author URI: http://www.ibenic.com
* License: GPL2
*