Skip to content

Instantly share code, notes, and snippets.

@pmciano
pmciano / carousel.css
Last active July 18, 2017 12:44
Carousel Text Customization
@pmciano
pmciano / follow.txt
Last active July 1, 2017 12:58
Follow Button
<a class="wordpress-follow-button" href="http://inesepogagallery.com" data-blog="http://inesepogagallery.com" data-lang="en" data-show-follower-count="true">Follow Inese Poga: Art and creative discoveries on WordPress.com</a>
<script type="text/javascript">(function(d){var f = d.getElementsByTagName('SCRIPT')[0], p = d.createElement('SCRIPT');p.type = 'text/javascript';p.async = true;p.src = '//widgets.wp.com/platform.js';f.parentNode.insertBefore(p,f);}(document));</script>
@pmciano
pmciano / sizeAndFont.css
Created May 24, 2017 17:18
Share and Related Posts Text Size and Font
/* Adjust the size and font for Share and Related Posts Text */
.sd-title, .jp-relatedposts-headline {
font: 24px Verdana, sans-serif !important;
}
@pmciano
pmciano / color.css
Created April 25, 2017 15:07
Change Background Color
body {
background-color: black;
}
@pmciano
pmciano / subcolor.css
Created March 23, 2017 13:56
Change Subscription Button Color
/* Change Subscription Widget Button Color */
#subscribe-submit input {
background-color: purple;
}
@pmciano
pmciano / removeCat.php
Created March 9, 2017 14:28
Remove craft Category From Related Posts
function jetpackme_filter_exclude_category( $filters ) {
$filters[] = array( 'not' =>
array( 'term' => array( 'category.slug' => 'craft' ) )
);
return $filters;
}
add_filter( 'jetpack_relatedposts_filter_filters', 'jetpackme_filter_exclude_category' );
@pmciano
pmciano / carousel_image_info.css
Created March 7, 2017 19:01
Remove Carousel Image Information
@pmciano
pmciano / guides.php
Created February 10, 2017 14:15
Remove Guides Posts From Related Posts
function jetpackme_filter_exclude_category( $filters ) {
$filters[] = array( 'not' =>
array( 'term' => array( 'category.slug' => 'guides' ) )
);
return $filters;
}
add_filter( 'jetpack_relatedposts_filter_filters', 'jetpackme_filter_exclude_category' );
@pmciano
pmciano / lostcss.css
Created January 18, 2017 15:06
Lost User CSS
.revoke_custom_background{background-position: top center;background-repeat: repeat;background-attachment: fixed;background-color: #8c9995;} .textcolor{
color: #f9c703;
}
.textcolor_hover:hover{
color: #f9c703;
}
.bgcolor{
background-color: #f9c703;
}
.bgcolor_hover:hover{
@pmciano
pmciano / usercss.css
Created January 4, 2017 16:39
User CSS
.title {
padding-top: 109px;
}
@media screen and (max-width: 768px) {
.wdpu-12148 {
padding: 15px !important;
}
}