This file contains hidden or 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 | |
/* | |
Plugin Name: Easy Digital Downloads - Variable Pricing License Activation Limits | |
Plugin URL: http://easydigitaldownloads.com/extension/ | |
Description: Limit the number of license activations permitted based on variable prices | |
Version: 1.0 | |
Author: Pippin Williamson | |
Author URI: http://pippinsplugins.com | |
Contributors: mordauk | |
*/ |
This file contains hidden or 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
/*************************** | |
INSIDE FUNCTIONS.PHP | |
****************************/ | |
/** | |
* Formulario de registro | |
*/ | |
//change register url for our custom one | |
add_filter('register_url', function(){ return site_url('registrese');}); |
This file contains hidden or 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
=== Wordpress Social Invitations === | |
Author: Damian Logghe | |
Website: http://www.timersys.com | |
Contributors: Timersys | |
Tags: Social Invitations, twitter, facebook, linkedin, hotmail, yahoo | |
License: http://codecanyon.net/licenses/regular | |
Stable Tag: 2.4.2 | |
Tested on: 4.0.1 | |
== Description == |
This file contains hidden or 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
jQuery( document ).ready(function(){ | |
FB.Event.subscribe( 'edge.create', function( href ) { | |
createCookie('wptuts-lock_'+wptuts_content_locker.ID,true,9999); | |
location.reload(); //if you use cache maybe you want to add a ?nocache=true to this url | |
}); | |
}); | |
function createCookie( name, value, days ) { |
This file contains hidden or 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
add_filter( 'wsi/placeholders/custom_url', 'wsi_my_custom_link' ); | |
function wsi_my_custom_link() { | |
return Wsi_Queue::shortenUrl('http://wp.timersys.com'); | |
} |
This file contains hidden or 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
//These are the default CSS rules that you can change with yours | |
[class^="wsiicon-"], [class*=" wsiicon-"] { | |
font-family: 'wsi-social'; //Use your own font | |
speak: none; | |
font-style: normal; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
background: none !important; |
This file contains hidden or 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
location ~* \.(eot|otf|ttf|woff)$ { | |
add_header Access-Control-Allow-Origin *; | |
} |
This file contains hidden or 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 | |
//full file located in functions/cubepoints.php | |
/* Hook WSI Invitations sent */ | |
add_action( 'wsi_invitation_sent', 'wsi_points', 10 ); | |
function wsi_points( $user_id ) { | |
//this is not a registered user | |
if( empty($user_id)) return; | |
This file contains hidden or 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 | |
// disable load of javascript for Facebook, Twitter and Goggle in Popups plugin http://wordpress.org/plugins/popups/ | |
define( 'SPU_UNLOAD_FB_JS', true ); | |
define( 'SPU_UNLOAD_TW_JS', true ); | |
define( 'SPU_UNLOAD_GO_JS', true ); |
OlderNewer