Skip to content

Instantly share code, notes, and snippets.

scottwyden / gist:b050192198ca3aa02320fc9290ba23c8
Created May 11, 2021 14:26
How to Make a Link in Bio Page in WordPress
<!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"fontSize":"60px"}}} -->
<h1 class="has-text-align-center" style="font-size:60px">Logo Goes Here</h1>
<!-- /wp:heading -->
<!-- wp:spacer {"height":50} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"cyan-bluish-gray","textColor":"black","width":100,"style":{"border":{"radius":5}}} -->
scottwyden / css
Created March 14, 2018 11:29
NextGEN Gallery Thumbnail Expanding
.ngg-gallery-thumbnail img{
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
.ngg-gallery-thumbnail img:hover{
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
### Keybase proof
I hereby claim:
* I am scottwyden on github.
* I am scottwyden ( on keybase.
* I have a public key whose fingerprint is 94B2 4579 72C8 DC58 EF51 E6E9 E850 C8DE 3947 55E8
To claim this, I am signing this object:
The question I had included in the #AskGaryVee book was cut off from the original.
People have asked what the full question was. Here it is:
"I've been using Instagram with strategic tagging, hashtags and also using the profile URL
in order to drive some potential print sales. I've also been manually reaching out to local
stores that might be interesting in hanging my photos. Do you have suggestions for me and
other photographers about other ways to drive local print sales?"
scottwyden / gist:9d0a6b274c71bc65d033
Created December 10, 2015 14:39
Display 1 Random Image With NextGEN Gallery
[ngg_images gallery_ids="1,3" display_type="photocrati-nextgen_basic_singlepic" sort="rand()"]
scottwyden / gist:73676bb8b07eb2fb7a70
Created October 2, 2015 15:01
Another 5 CSS Snippets to Customize NextGEN Gallery
/** 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;
scottwyden / gist:fbc9cfd4e425a5a60f3b
Created October 2, 2015 14:58
5 More CSS Snippets to Customize NextGEN Gallery
/** Increase the default trigger icon sizes */
.fa-comment::before {
font-size: 20px;
/** Reduce space between Album title and number of photos */
.ngg-album-compact h4 .ngg-album-desc {
scottwyden / gist:aad7e5f9eed3e3130f3d
Created October 2, 2015 14:46
5 CSS Snippets to Customize NextGEN Gallery
/** 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 */ { 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 */
scottwyden / Clickjacking—The Most Widely Overlooked Web App Vulnerability?
Created August 11, 2015 17:56
Snippet example for an article at Pivot Point Security
<style id="antiClickjack">body{display:none !important;}</style>
<script type="text/javascript">
if (self === top) {
var antiClickjack = document.getElementById("antiClickjack");
} else {
top.location = self.location;
scottwyden / gist:9555926ae344d3e8f512
Created March 27, 2015 13:49
Photocrati Theme Attachment Page Mods in Functions.php
// 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;