# yatra/3.0.13/templates/partials/single-trip/sticky-nav.php

Yatra – Travel Booking &amp; Tour Operator Software, version 3.0.13. 21 lines.

- Page: https://pluginprobe.com/plugins/yatra/3.0.13/code/templates/partials/single-trip/sticky-nav.php
- Raw: https://pluginprobe.com/plugins/yatra/3.0.13/raw/templates/partials/single-trip/sticky-nav.php
- Modified: 2026-04-14T03:47:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/3.0.13/code/templates/partials/single-trip/sticky-nav.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH')) {
    exit;
}

// Sticky Navigation Bar for Single Trip Page
// Expected variables: $trip, $base_price, $has_availability, $has_traveler_pricing
?>
<div class="yatra-sticky-nav">
    <div class="yatra-sticky-nav-container">
        <?php
        $navigation_items = \Yatra\Controllers\SingleTripController::getStickyNavigationItems($trip);
        foreach ($navigation_items as $item):
        ?>
            <a href="<?php echo esc_url($item['href']); ?>" class="yatra-sticky-nav-item" aria-label="<?php echo esc_attr($item['label']); ?>">
                <?php yatra_render_tab_icon($item['icon'], 'book', 'yatra-sticky-nav-icon', $item['label']); ?>
                <span class="yatra-sticky-nav-label"><?php echo esc_html($item['label']); ?></span>
            </a>
        <?php endforeach; ?>
    </div>
</div>
```
