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 | |
# Demonstrates how to add new contact to campaign. | |
# JSON::RPC module is required | |
# available at http://github.com/GetResponse/DevZone/blob/master/API/lib/jsonRPCClient.php | |
require_once 'jsonRPCClient.php'; | |
# your API key is available at | |
# https://app.getresponse.com/my_api_key.html |
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
/** | |
* Replace ID_POPUP with your popup ID | |
**/ | |
jQuery(document).on('spu.box_close',function(e,id){ | |
if( id == 'ID_POPUP' ) { | |
toggleVideo('hide'); | |
} | |
}); | |
function toggleVideo(state) { |
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 | |
if(!class_exists('WPLMS_Customizer_Plugin_Class')) | |
{ | |
class WPLMS_Customizer_Plugin_Class // We'll use this just to avoid function name conflicts | |
{ | |
public function __construct(){ | |
add_filter('wplms_login_widget_action',array($this,'mycustom_login_url')); | |
} // END public function __construct | |
public function activate(){ |
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
/*-----------------------------------------------------------------------------------*/ | |
/* Course Product | |
/* | |
/* USAGE : xx is course id | |
/* [course_product id="xx" details="price"] | |
/* [course_product id="xx" details="sku"] | |
/* [course_product id="xx" details="sales"] | |
/* [course_product id="xx" details="note"] | |
/* Above shortcode can also be used on certificate pages and remove the id field: |
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
<!doctype html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Validador de RUT HTML5</title> | |
</head> | |
<body> | |
<form> | |
<input type="text" id="rut" name="rut" required oninput="checkRut(this)" placeholder="Ingrese RUT"> | |
<button type="submit">Validar RUT y Enviar Form</button> |
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 | |
/* you can copy & paste from here */ | |
//it's important to check the BP_Group_Extension is available | |
if( class_exists( 'BP_Group_Extension' ) ) : | |
/** | |
* This is a quick and dirty class to illustrate "bpgmq" | |
* bpgmq stands for BuddyPress Group Meta Query... | |
* The goal is to store a groupmeta in order to let the community administrator |
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 | |
// Exit if accessed directly | |
if ( !defined( 'ABSPATH' ) ) exit; | |
/**** | |
You should paste this into a file (in the example below : bp-customize-registration.php ) | |
in your active theme's folder, then depending if your theme is a child theme or not you should | |
use this code in your functions.php to include the trick |
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
/* Estructura y Datos de las Regiones, Provincias */ | |
/* y Comunas de Chile. */ | |
/* */ | |
/* Fecha: Julio 2010 */ | |
/* Autor: Juan Pablo Aqueveque - juque.cl */ | |
-- | |
-- Comunas | |
-- | |
DROP TABLE IF EXISTS `comunas`; |