How to fix this issue on this code please

enter image description here

i’m working with TRAVELER WordPress theme , i have an issue in the theme dashboard , When i click on Tour it should show multiple options to choose from but when i click “Tour” Nothing Happend (SEE PICTURE BELOW ) , so if you can show me how to make that list items showed as default without the need of clicking the “Tour” , the code of that section below :

<?php if (STUser_f::_check_service_available_partner('st_tours')): ?>
                                <li class="item <?php if (in_array($sc, array('create-tours', 'edit-tours', 'my-tours', 'booking-tours', 'add-tour-booking'))) echo "active" ?>">
                                    <a class=" cursor" style="cursor: pointer !important">
                                        <i class="fa fa-flag-o"></i>
                                        <?php _e('Tour', ST_TEXTDOMAIN) ?>
                                        <span class="arrow"></span>
                                    </a>
                                    <ul class="sub-menu item">
                                        <li <?php if ($sc == 'create-tours')
                                            echo 'class="active"' ?>>
                                            <a href="<?php echo TravelHelper::get_user_dashboared_link($user_link, 'create-tours'); ?>"><i
                                                        class="fa fa-flag-o">&nbsp;</i><?php st_the_language('user_create_tour') ?>
                                            </a>
                                        </li>
                                        <li <?php if ($sc == 'my-tours')
                                            echo 'class="active"' ?>>
                                            <a href="<?php echo TravelHelper::get_user_dashboared_link($user_link, 'my-tours'); ?>">
                                                <i class="fa fa-flag-o">&nbsp;</i><?php st_the_language('user_my_tour') ?>
                                            </a>
                                        </li>
                                        <li <?php if ($sc == 'add-tour-booking')
                                            echo 'class="active"' ?>>
                                            <a href="<?php echo TravelHelper::get_user_dashboared_link($user_link, 'add-tour-booking'); ?>"><i
                                                        class="fa fa-flag-o">&nbsp;</i><?php _e("Add Booking Tour", ST_TEXTDOMAIN) ?>
                                            </a>
                                        </li>
                                        <li <?php if ($sc == 'booking-tours')
                                            echo 'class="active"' ?>>
                                            <a href="<?php echo TravelHelper::get_user_dashboared_link($user_link, 'booking-tours'); ?>"><i
                                                        class="fa fa-flag-o">&nbsp;</i><?php _e("Tour Bookings", ST_TEXTDOMAIN) ?>
                                            </a>
                                        </li>
                                    </ul>
                                </li>
                            <?php endif; ?>

Thank you …

Read more here:: How to fix this issue on this code please

Leave a Reply

Your email address will not be published. Required fields are marked *