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
define('PHOTOCRATI_ALL_GOOGLE_FONTS', TRUE); |
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
/*-----NAVIGATION-----*/ | |
.menu ul li ul { | |
border-top: 2px solid #000; | |
} | |
/*-----SIDEBAR------*/ | |
.widget-area ul ul li { /*removes bottom-border only*/ | |
border-bottom: 0px; | |
} | |
.widget-area ul ul li { /*returns list back to bullet style*/ |
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 | |
/** | |
Template Page for the Trade/Media gallery, with a download form | |
Based on basic template (gallery.php) with a few custom additions | |
Follow variables are useable : | |
$gallery : Contain all about the gallery | |
$images : Contain all images, path, title | |
$pagination : Contain the pagination content |
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
@media only print | |
{ | |
body:after { content: "Please consider the environment and don't waste paper."; } | |
#sidebar, #menu_wrapper, #nav-below, #respond {display: none;} | |
} |
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
[ngg_images gallery_ids="1,3" display_type="photocrati-nextgen_basic_singlepic" sort="rand()"] |
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
/** Pro Grid Album Caption */ | |
.nextgen_pro_grid_album > div > a.caption_link { | |
font-family: courrier; | |
} | |
/** Center NextGEN Widget images in Sidebar - the key is to set a specific width */ | |
div.ngg-widget.entry-content { | |
width: 200px; | |
margin-left: auto; | |
margin-right: auto; |
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
/** Increase the default trigger icon sizes */ | |
.fa-shopping-star::before, | |
.fa-shopping-cart::before, | |
.fa-share-square::before, | |
.fa-comment::before { | |
font-size: 20px; | |
} | |
/** Reduce space between Album title and number of photos */ | |
.ngg-album-compact h4 .ngg-album-desc { |
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
/** Left align and set maximum width for ImageBrowser display */ | |
.ngg-imagebrowser { max-width: 600px; float: left; margin-right: 10px; } | |
/** Highlight active image (read: stage image) in NextGEN Pro Lightbox carousel */ | |
.galleria-image.active { border: 10px white solid; } | |
/** Add border and drop-shadow to slideshows */ | |
.slideshow object { border: 10px black solid; box-shadow: 10px 10px 5px red; } | |
/** Customize the colors of the proofing start icon trigger */ |
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
<style id="antiClickjack">body{display:none !important;}</style> | |
<script type="text/javascript"> | |
if (self === top) { | |
var antiClickjack = document.getElementById("antiClickjack"); | |
antiClickjack.parentNode.removeChild(antiClickjack); | |
} else { | |
top.location = self.location; | |
} | |
</script> |
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
// Attachement Page Modifications | |
add_action('generate_rewrite_rules', 'attachment_rewrite_rule_14924'); | |
function attachment_rewrite_rule_14924($wp_rewrite){ | |
$new_rules = array(); | |
$new_rules['attachment/(\d*)$'] = 'index.php?attachment_id=$matches[1]'; | |
$wp_rewrite->rules = $new_rules + $wp_rewrite->rules; | |
} |