Skip to content

Instantly share code, notes, and snippets.

@scottwyden
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
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);
@scottwyden
scottwyden / Jetpack Share CSS with Font Awesome
Created December 18, 2013 22:50
Font Awesome must be in use on the website for icons to show.
/*
Jetpack Sharing
---------------------------------------------------------------------------------------------------- */
div.sharedaddy div.sd-block {
border: none;
padding: 0;
}
div.sharedaddy .sd-content {
### Keybase proof
I hereby claim:
* I am scottwyden on github.
* I am scottwyden (https://keybase.io/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
scottwyden / Shortcode for Opening Pro Lightbox of Gallery from a Single Image
Created December 15, 2014 18:25
Shortcode for Opening Pro Lightbox of Gallery from a Single Image
#branding .description {
display: none;
}
@scottwyden
scottwyden / NGG Image Browser Description
Created November 11, 2013 14:56
NextGEN Gallery Image Browser Description
.ngg-imagebrowser-desc p {
font-weight: bold;
}
@scottwyden
scottwyden / Photocrati Theme - Enable All Google Fonts
Last active December 24, 2015 00:29
Photocrati Theme - Enable All Google Fonts
define('PHOTOCRATI_ALL_GOOGLE_FONTS', 'TRUE');
add_action( 'init', 'register_cpt_recommends' );
function register_cpt_recommends() {
$labels = array(
'name' => _x( 'Recommends', 'recommends' ),
'singular_name' => _x( 'Recommends', 'recommends' ),
'add_new' => _x( 'Add New', 'recommends' ),
'add_new_item' => _x( 'Add New Recommends', 'recommends' ),
'edit_item' => _x( 'Edit Recommends', 'recommends' ),