How to remove When and Where boxes ?

  1. Home
  2. Docs
  3. Tyler
  4. Frequently Asked Question...
  5. How to remove When and Where boxes ?

How to remove When and Where boxes ?

To remove When and Where boxes from the home page, please do the following:

1) Please do remember to back-up the files prior to any edits.

2) Open Appearance->Editor->Main Index Template(index.php)

(or open wp-content/themes/Tyler/index.php via FTP)

3) Around line number 32, you can find the following code.

<div class=”row”>
<div class=”col-md-6″>
<div class=”box”>
<i class=”icon-calendar”></i>
<div class=”box-inner”>
<div>
<span class=”sub”><?php _e(‘WHEN’, ‘tyler’) ?></span>
<span class=”title”><?php if ( isset( $ef_options[‘ef_eventdate’] ) ) { echo stripslashes( $ef_options[‘ef_eventdate’] ); } ?></span>
<span class=”desc”><?php if ( isset( $ef_options[‘ef_eventstartingtime’] ) ) { echo stripslashes( $ef_options[‘ef_eventstartingtime’] ); } ?></span>
</div>
</div>
</div>
</div>
<div class=”col-md-6″>
<div class=”box”>
<i class=”icon-map-marker”></i>
<div class=”box-inner”>
<div>
<span class=”sub”><?php _e(‘WHERE’, ‘tyler’); ?></span>
<span class=”title”><?php if ( isset( $ef_options[‘ef_eventcitycountry’] ) ) { echo stripslashes( $ef_options[‘ef_eventcitycountry’] ); } ?></span>
<span class=”desc”><?php if ( isset( $ef_options[‘ef_eventlocation’] ) ) { echo stripslashes( $ef_options[‘ef_eventlocation’] ); } ?></span>
</div>
</div>
</div>
</div>
</div>

4) Comment out or remove the above code.

5) Save the file.

 

Was this article helpful to you? Yes No