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 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' ); |
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
.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; |
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 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'); |
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
.dvk-social-sharing { | |
line-height: 32px; | |
} | |
.dvk-social-sharing > a{ | |
margin-left:12px; | |
display: inline-block; | |
text-decoration: none; | |
} |
NewerOlder