Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Dvorkin

    (@mzaweb)

    1) Create a business-hours folder in your theme
    2) Create a table.php file in that folder
    3) Add this code:

    <?php if ( $collapsible_link ) { ?>
    <div class="business_hours_collapsible_handler_container">
    	<a href="#"><?php _e( $collapsible_link_anchor, "business-hours" );?></a>
    </div>
    <div class="business_hours_collapsible">
    <?php } ?>
    
    	<table width='100%'>
    		<tr>
    			<th><?php _e( "Day", "business-hours" );?></th>
    			<th class='business_hours_table_heading'><?php _e( "Lunch", "business-hours" );?></th>
    			<th class='business_hours_table_heading'><?php _e( "Dinner", "business-hours" );?></th>
    		</tr>
    		<?php
    		foreach ( $days as $id => $day ) {
    			$this->_table_row( $id, $day );
    		}
    		?>
    
    	</table>
    
    <?php if ( $collapsible_link ) { ?>
    </div>
    <?php } ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Changing Headings Open Close to Lunch Dinner’ is closed to new replies.