Hi,
Please find following code in /single-travel_guide.php file and edit it to activate another tab in travel guide.
<ul class="tabs full-width">
<?php
$active_class = ' class="active"';
if ( ! empty( $g_info ) ) {
echo '<li' . $active_class . '><a href="#travel-guide-info" data-toggle="tab">' . __( 'General Information', 'trav' ) . '</a></li>';
$active_class = '';
}
if ( ! empty( $sports ) ) {
echo '<li' . $active_class . '><a href="#travel-guide-sports" data-toggle="tab">' . __( 'Sports', 'trav' ) . '</a></li>';
$active_class = '';
}
if ( ! empty( $culture ) ) {
echo '<li' . $active_class . '><a href="#travel-guide-culture-history" data-toggle="tab">' . __( 'Culture and History', 'trav' ) . '</a></li>';
$active_class = '';
}
if ( ! empty( $nightlife ) ) {
echo '<li' . $active_class . '><a href="#travel-guide-nightlife" data-toggle="tab">' . __( 'Nightlife', 'trav' ) . '</a></li>';
$active_class = '';
}
if ( ! empty( $acc_list ) ) {
echo '<li' . $active_class . '><a href="#travel-guide-hotels" data-toggle="tab">' . __( 'Accommodations', 'trav' ) . '</a></li>';
$active_class = '';
}
if ( ! empty( $tour_list ) ) {
echo '<li' . $active_class . '><a href="#travel-guide-tours" data-toggle="tab">' . __( 'Tours', 'trav' ) . '</a></li>';
$active_class = '';
}
?>
</ul>
Regards, C-Themes
Hi,
Please find following code in /single-travel_guide.php file and edit it to activate another tab in travel guide.
Regards, C-Themes