/**
* Smart Gallery Lightbox
*
* This function creates the lightbox and options for the smart gallery template selection. This uses an in-house framework
* that was built for us several years ago, so references to new_cmb2_box and the like are references to that.
*
* @since 1.2.1
*/
function smartGalleryMeta()
{
$prefix = 'sg_';
$box = new_cmb2_box(
array(
'id' => $prefix.'info',
'title' => 'Gallery Options',
'object_types' => array( 'page' ),
'show_on' => array( 'key' => 'page-template', 'value' => 'page-templates/template-smart-gallery.php'),
'context' => 'normal',
'priority' => 'high',
'show_names' => true,
)
);
$box->add_field(
array(
'name' => esc_html__('Columns', 'cmb2'),
'desc' => esc_html__('Choose how many columns the gallery should be', 'cmb2'),
'id' => $prefix . 'select',
'type' => 'select',
'show_option_none' => false,
'options' => array(
'one' => esc_html__('One', 'cmb2'),
'two' => esc_html__('Two', 'cmb2'),
'three' => esc_html__('Three', 'cmb2'),
'four' => esc_html__('Four', 'cmb2'),
'six' => esc_html__('Six', 'cmb2')
),
)
);
$box->add_field(
array(
'name' => esc_html__('Deluxe', 'cmb2'),
'desc' => esc_html__('Choose whether this will be a deluxe gallery or not', 'cmb2'),
'id' => $prefix . 'deluxe',
'type' => 'checkbox'
)
);
$box->add_field(
array(
'name' => esc_html__('Background Color', 'cmb2'),
'desc' => esc_html__('Choose the background color (deluxe only)', 'cmb2'),
'id' => $prefix . 'bg-color',
'type' => 'colorpicker'
)
);
$box->add_field(
array(
'name' => esc_html__('Title Color', 'cmb2'),
'desc' => esc_html__('Choose the title color, if a title exists', 'cmb2'),
'id' => $prefix . 'title-color',
'type' => 'colorpicker'
)
);
$box->add_field(
array(
'name' => esc_html__('Description Color', 'cmb2'),
'desc' => esc_html__('Choose the description color, if a description exists', 'cmb2'),
'id' => $prefix . 'description-color',
'type' => 'colorpicker'
)
);
$box->add_field(
array(
'name' => esc_html__('Padding', 'cmb2'),
'desc' => esc_html__('Amount of padding in pixels for each box', 'cmb2'),
'id' => $prefix . 'padding',
'type' => 'text'
)
);
}
add_action('cmb2_admin_init', 'smartGalleryMeta');
?>
/**
* Smart Gallery Custom Post Type
*
* This function populates the columns in the Smart Gallery section of the admin dashboard.
*
* @since 1.1.12
*/
/**
* @param string $column The name of the column
* @param integer $post_id The id of the gallery post
*
* @return void
*/
function galleryColumn( $column, $post_id )
{
$picture = get_post($post_id);
switch ($column) {
case 'headshot':
echo '';
break;
case 'before':
echo '';
break;
case 'after':
echo '';
break;
case 'description':
echo $picture->description;
break;
case 'tags':
echo '
';
break;
}
}
add_action('manage_posts_custom_column', 'galleryColumn', 10, 2);
?>
Contact Sea of Pearls Dental Boutique: Daniela Lemoine
Home » Contact Us
Contact Sea of Pearls Dental Boutique
Our Dental Office Location
Sea of Pearls Dental Boutique
1401 Johnson Ferry Rd Suite 164
Marietta, GA 30062
New Patient Phone Number: 470-431-1580
Current Patient Phone Number: 470-795-6677
HOURS
Monday, Tuesday, Wednesday, Friday: 8 AM – 3 PM
Thursday, Saturday, Sunday: Closed
Other times are available for special cases.