Skip to content

Instantly share code, notes, and snippets.

Online marcom

BiancaNL

Online marcom
Block or report user

Report or block BiancaNL

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@BiancaNL
BiancaNL / acf-gb-pricingtables.css
Last active Oct 1, 2018
ACF Gutenberg Blocks Pricing Tables
View acf-gb-pricingtables.css
.acf-pricing-table {
float: left;
padding: 2%;
box-sizing: border-box;
}
.acf-pricing-table:first-of-type:nth-last-of-type(2),
.acf-pricing-table:first-of-type:nth-last-of-type(2) ~ .acf-pricing-table {
width: 50%;
@BiancaNL
BiancaNL / style.css
Created Sep 25, 2018
Image filter effects for WordPress blog theme Meteor
View style.css
/* make sure there is no color in the image */
.section-portfolio-masonry .type-post .featured-image img {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
.section-portfolio-masonry .type-post .featured-image img:hover {
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
}
@BiancaNL
BiancaNL / gist:c2959b162daf20deff6fb62cdf5dd21b
Last active Apr 24, 2018
Hide Gutenberg only specific posts or pages
View gist:c2959b162daf20deff6fb62cdf5dd21b
function disable_gutenberg_per_id( $classic ) {
global $post;
if ( 123 == $post->ID )
return false;
return $classic;
}
add_filter( 'gutenberg_can_edit_post_type', 'disable_gutenberg_per_id' );
@BiancaNL
BiancaNL / Remove admin notice
Created Feb 3, 2018
This little snippet remove the annoying warning message in the theme editor section
View Remove admin notice
//Remove unwanted notices in the admin area
add_action('admin_head', 'remove_admin_warning');
function remove_admin_warning() {
echo '<style>
.theme-editor-php #message {display:none;}
</style>';
}
View Shortcode pricing Table ACF pro
function acf_pricing_table() {
ob_start();
?>
<?php if( have_rows('pricing_table') ): ?>
<div class="pricing-table-container">
<?php while( have_rows('pricing_table') ): the_row();
$price = get_sub_field('price');
View Pricing table css
.acf-pricing-table {
display: inline-block;
background: #fff;
padding: 30px;
text-align: center;
margin: 7px; border: 1px solid #000;
}
.acf-pricing-table-price-desc {
font-weight: 900;
View styles-32.css
.dvk-social-sharing {
line-height: 32px;
}
.dvk-social-sharing > a{
margin-left:12px;
display: inline-block;
text-decoration: none;
}
You can’t perform that action at this time.