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 | |
/** | |
* Plugin Name: DreamHost Panel Login | |
* Plugin URI: https://www.dreamhost.com/wordpress/ | |
* Description: Used by DreamHost to generate a one-time login URL for your admin user that is to be used from within https://panel.dreamhost.com. | |
* Author: DreamHost, danielbachhuber | |
* Author URI: https://dreamhost.com | |
* Version: 1.0.0 | |
* | |
* @package One_Time_Login |
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
echo 'Previous : ' . foogallery_album_find_previous_gallery_id( $current_foogallery_album, $foogallery->ID ); | |
echo 'Next : ' . foogallery_album_find_next_gallery_id( $current_foogallery_album, $foogallery->ID ); |
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
function override_foogallery_paging($foogallery) { | |
$paging_options = array( | |
'type' => 'dots', // or pagination, infinite or loadMore | |
'theme' => 'fg-light', // or fg-dark | |
'size' => 5, // page size | |
'position' => 'top', // or bottom or both | |
'scrollToTop' => 'false', // or true | |
'output' => '', | |
); |
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 | |
/** | |
* Plugin Name: FooGallery - Override FooBox Width & Heights Per Attachment | |
* Description: A small plugin for adding size fields to all attachments to force that size when shown in FooBox | |
* Version: 1.0.0 | |
* Author: Brad Vincent | |
* Author URI: https://fooplugins.com | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
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
// | |
// Gist was kindly contributed by @jamesckemp from @iconicwp. Thanks! | |
// | |
handler.open({ | |
... | |
purchaseCompleted: function( response ) { | |
var trial = response.purchase.trial_ends !== null, | |
total = trial ? 0 : response.purchase.initial_amount.toString(), | |
productName = 'FooGallery', |
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
@font-face { | |
font-family: 'myfont'; | |
src: url('fonts/myfont.eot#iefix'); | |
src: url('fonts/myfont.woff') format('woff'), | |
url('fonts/myfont.ttf') format('truetype'), | |
url('fonts/myfont.svg#myfont') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@media screen and (-webkit-min-device-pixel-ratio:0) { |
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
git tag -a 0.5.0 -m "Version 0.5.0 Stable" |
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
if (jQuery.fn.pluginname) { | |
} |
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
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ | |
-moz-box-sizing: border-box; /* Firefox, other Gecko */ | |
box-sizing: border-box; /* Opera/IE 8+ */ |
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
/* CSS Resets */ | |
.foobar-container { border-collapse:separate !important; border-spacing: 0 !important; } | |
.foobar-container, .foobar-container-row, .foobar-container-left, .foobar-container-right, .foobar-container-center, | |
.foobar-close-button-container, .foobar-close-button-spacer { padding: 0 !important; margin: 0 !important; } | |
.foobar-message-wrapper { line-height: normal; } | |
/* Core CSS */ | |
.foobar-wrapper { width: 100%; z-index: 1001; } | |
.foobar-container { width: 100%; table-layout: fixed; } | |
.foobar-container-left, .foobar-container-center, .foobar-container-right { vertical-align: middle; } |
NewerOlder