示例#1
0
function head_enqueue_custom_css()
{
    $appointment_options = theme_setup_data();
    $custom_css = wp_parse_args(get_option('appointment_options', array()), $appointment_options);
    if ($custom_css['webrit_custom_css'] != '') {
        ?>
	<style>
	<?php 
        echo $custom_css['webrit_custom_css'];
        ?>
	</style>
	<?php 
    }
}
示例#2
0
    function appointment_post_meta_content()
    {
        $appointment_options = theme_setup_data();
        $news_setting = wp_parse_args(get_option('appointment_options', array()), $appointment_options);
        if ($news_setting['home_meta_section_settings'] == '') {
            ?>
			<div class="blog-post-lg">
				<a href="<?php 
            echo get_author_posts_url(get_the_author_meta('ID'));
            ?>
"><?php 
            echo get_avatar(get_the_author_meta('user_email'), $size = '40');
            ?>
</a><?php 
            _e('By', 'appointment');
            ?>
<a href="<?php 
            echo get_author_posts_url(get_the_author_meta('ID'));
            ?>
"><?php 
            echo get_the_author();
            ?>
</a>
				<?php 
            $tag_list = get_the_tag_list();
            if (!empty($tag_list)) {
                ?>
				<div class="blog-tags-lg"><i class="fa fa-tags"></i><?php 
                the_tags('', ', ', '');
                ?>
</div>
				<?php 
            }
            ?>
			</div>
			<?php 
        }
    }
示例#3
0
<?php

$appointment_options = theme_setup_data();
$service_setting = wp_parse_args(get_option('appointment_options', array()), $appointment_options);
if ($service_setting['service_section_enabled'] == '') {
    ?>
<div class="Service-section">
	<div class="container">
	
		<div class="row">
			<div class="col-md-12">
			
				<div class="section-heading-title">
					<h1> <?php 
    echo $service_setting['service_title'];
    ?>
</h1>
					<p><?php 
    echo $service_setting['service_description'];
    ?>
 </p>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="col-md-4">
				<div class="service-area">
					<div class="media">
						<div class="service-icon">
							<i class="fa <?php