I am trying to: create tab section with bootstrap 4
Link to a page where the issue can be seen: hidden link
I expected to see: hidden link
Instead, I got: tabs layout is coming out properly but only first tab content is showing.
Tab View:
[wpv-layout-start]
[wpv-items-found]
<ul class="nav nav-pills flex-column" id="myTab" role="tablist">
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-item index=1]
<li class="nav-item">
<a class="nav-link active" id="[wpv-post-id]" data-toggle="tab" href="#[wpv-post-id]" role="tab" aria-controls="surgery" aria-selected="true">
<div class="tab-icon">
<img src="[types field='featured-icon' output='raw'][/types]"></div>
<span>[wpv-post-title]</span><span class="hover-icon mar-right-10"><i class="fas fa-angle-right"></i></span></a>
</li>
[wpv-item index=other]
<li class="nav-item">
<a class="nav-link" id="[wpv-post-id]" data-toggle="tab" href="#[wpv-post-id]" role="tab" aria-controls="surgery" aria-selected="true">
<div class="tab-icon">
<img src="[types field='featured-icon' output='raw'][/types]"></div>
<span>[wpv-post-title]</span><span class="hover-icon mar-right-10"><i class="fas fa-angle-right"></i></span></a>
</li>
</wpv-loop>
</ul>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
[/wpv-no-items-found]
[wpv-layout-end]
Tab Content View:
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-item index=1]
<div class="tab-pane fade show active" id="[wpv-post-id]" role="tabpanel" aria-labelledby="[wpv-post-id]">
<div class="tab-inner-box">
<h3><span></span> [wpv-post-title]</h3>
<img src="[wpv-post-featured-image size='full' output='url']" class="img-fluid" />
[wpv-post-body view_template="None"]
</div>
</div>
[wpv-item index=other]
<div class="tab-pane fade" id="[wpv-post-id]" role="tabpanel" aria-labelledby="[wpv-post-id]">
<div class="tab-inner-box">
<h3><span></span> [wpv-post-title]</h3>
<img src="[wpv-post-featured-image size='full' output='url']" class="img-fluid" />
[wpv-post-body view_template="None"]
</div>
</div>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
[/wpv-no-items-found]
[wpv-layout-end]
Content template:
<div class="container" id="tab-menu">
<div class="row">
<div class="col-md-4">
[wpv-view name="services-tab"]
</div>
<div class="col-md-8 row">
<div class="tab-content" id="myTabContent">
[wpv-view name="services-tab-content"]
</div>
</div>
</div>
</div>
please help
Hello,
It needs custom codes, please provide a test site with the same problem, fill below private message box with login details, I need to test and debug it in a live website. thanks
My issue is resolved now. Thank you!