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(".nlp-instance-'.$instance.' .nlposts-wrapper").fadeOut("slow",function(){ | |
jQuery(".nlp-instance-'.$instance.' .nlposts-wrapper").load(link+" .nlp-instance-'.$instance.' .nlposts-wrapper > *").fadeIn(3000, function(){ | |
var nlpOffset = jQuery( ".nlposts-container" ).offset().top; | |
jQuery("body, html").animate({ | |
scrollTop: nlpOffset-100 | |
}, 200); | |
}); | |
}); |
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
/** | |
* Network Latest Posts v3.0 | |
* | |
* Copyright 2012 L'Elite | |
* Licensed under the GPL v2.0 | |
* http://www.gnu.org/licenses/gpl-2.0.html | |
* | |
* Great and ugly things aren't as good | |
* as great and beautiful things ;) | |
* |
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
function network_latest_posts( $parameters ) { | |
// Global variables | |
global $wpdb; | |
//global $nlp_time_frame; | |
// Default values | |
$defaults = array( | |
'title' => NULL, // Widget title | |
'number_posts' => 10, // Number of posts to be displayed | |
'time_frame' => 0, // Time frame to look for posts in days | |
'title_only' => TRUE, // Display the post title only |
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
/* | |
* Single Latest Posts v1.0 | |
* | |
* Copyright 2007 - 2013 L'Elite | |
* Licensed under the GPL v2.0 | |
* http://www.gnu.org/licenses/gpl-2.0.html | |
* | |
* Great and ugly things aren't as good | |
* as great and beautiful things ;) | |
*/ |
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
/* | |
* Single Latest Posts v1.0 | |
* | |
* Copyright 2007 - 2014 L'Elite | |
* Licensed under the GPL v2.0 | |
* http://www.gnu.org/licenses/gpl-2.0.html | |
* | |
* Great and ugly things aren't as good | |
* as great and beautiful things ;) | |
*/ |
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 | |
/** | |
* Autor: L'Elite de José SAYAGO | |
* URL: http://laelitenetwork.com | |
* Licencia: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html | |
* Fichero: mi-extension-wordpress-api.php | |
* Clase para la API de actualización de la extensión | |
*/ | |
class api_actualizacion { | |
// Versión actual |
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(){ | |
// First we look for each image inside the div we want | |
jQuery('div.new-doodles img').each(function(){ | |
// Then we take only those with the file extension we want | |
if( jQuery(this).attr('src').match(/\.(jpg)/) ) { | |
// And then add them our CSS class | |
jQuery(this).addClass('my-awesome-class'); | |
} | |
}); | |
}); |
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: Network Latest Posts | |
Plugin URI: http://en.8elite.com/network-latest-posts | |
Description: Display the latest posts from the blogs in your network using it as a function, shortcode or widget. | |
Version: 3.5.5 | |
Author: L'Elite | |
Author URI: http://laelite.info/ | |
*/ | |
/** |
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
#blueBar { | |
background: rgba(254,254,254,.5); | |
border-bottom: 1px solid rgba(200,200,200,1); | |
} | |
#blueBarHolder #blueBar:after { | |
background-image: none; | |
} | |
.navLink.bigPadding { |
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
/* | |
* Single Latest Posts v1.0 | |
* | |
* Copyright 2007 - 2013 L'Elite | |
* Licensed under the GPL v2.0 | |
* http://www.gnu.org/licenses/gpl-2.0.html | |
* | |
* Great and ugly things aren't as good | |
* as great and beautiful things ;) | |
*/ |