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
<p>Store Address: <?php echo esc_html( get_post_meta( get_the_ID(), 'store_address', true ) ); ?></p> |
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
<?php | |
function hmc_metaboxes( array $meta_boxes ) { | |
$meta_boxes['home_metabox'] = array( | |
'id' => '_hmc_home_metabox2', | |
'title' => __( 'Key Facts', 'hmc' ), | |
'pages' => array( 'page' ), | |
'show_on' => array( 'key' => 'page-template', 'value' => 'templates/home-page.php' ), | |
'context' => 'normal', | |
'priority' => 'default', |