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 | |
//Google Analytics E-commerce Tracking code | |
function your_prefix_google_ecommerce_tracking_code() { | |
$success_page = edd_get_option( 'success_page' ) ? is_page( edd_get_option( 'success_page' ) ) : false; | |
if ( ! $success_page || !edd_is_success_page() ){ | |
return; | |
} | |
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"> | |
$(document).ready(function(){ | |
App.init(); | |
App.wizard(); | |
$('form').parsley(); | |
$('#wizard1').on('actionclicked.fu.wizard', function (evt, data) { | |
if( !$("#your-form-id").parsley().validate() ){ |
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
var oTable = $('#datatable2').dataTable( { | |
"aoColumnDefs": [ | |
{ "bSortable": false, "aTargets": [ 0 ] } | |
], | |
"aaSorting": [[1, 'asc']], | |
"iDisplayLength": 5 | |
}); |