如何隐藏boostrap datetimepicker中的标题导航?

时间:2015-11-07 08:29:04

标签: jquery bootstrap-datetimepicker

enter image description here

如何隐藏datetimepicker后续图片中的标题导航。任何人建议或指导如何解决这个问题。

我的代码 HTML

<div class="input-append">
    <input type="text" name="start_time" placeholder="00:00 AM/PM" class="input-mini statusTime" value="{$response.start_time}" style="width: 100px;"  />
    <span class="add-on glyphicons clock"><i></i></span>
</div>

脚本

  $('.statusTime').datetimepicker({
        format: "HH:ii P",
        showMeridian: true,
        autoclose: true,
        todayBtn: false,
        pickDate: false,
        startView: 1
    });

1 个答案:

答案 0 :(得分:3)

尝试将此添加到您的css中,对于您不希望显示的元素,它是一个无显示

<?php
$posts = get_field('team_members',12);
$terms = get_the_terms( $post->ID , 'position' );
if( $posts ): ?>
    <?php foreach( $posts as $post): // variable must be called $post (IMPORTANT) 
    setup_postdata($post); ?>
    <div class="col-4 col <?php echo $term->slug;?>">
        <article id="post-<?php the_ID(); ?>" <?php post_class('team-item'); ?>>
            <hgroup>
                <?php the_title( sprintf( '<h2 class="alt-heading-4">', esc_url( get_permalink() ) ), '</h2>' ); ?>
                <h3><?php echo $term->name;?></h3>
            </hgroup>

            <div class="team-entry-content">
                <?php the_content();?>
            </div><!-- .entry-content -->
            <div id="team-shadow"></div>
        </article><!-- #post-## -->
    </div>
     <?php endforeach; ?>
    <?php wp_reset_postdata();?>
<?php endif; ?>