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 | |
// CSV export Sunlight CMS for Wordpress, with plugin: https://wordpress.org/plugins/really-simple-csv-importer/ | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
/* --- kontrola jadra --- */ | |
if(!defined('_core')) exit; |
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
// AJAX paging | |
jQuery('.pagination a').live('click', | |
function(e) | |
{ | |
//check when pagination link is clicked and stop its action. | |
e.preventDefault(); | |
var mainWrapper = '#page-content .container'; | |
var mainContent = '#content'; | |
var link = jQuery(this).attr('href'); //Get the href attribute |
NewerOlder