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