Multiple Galleries within Tabs
-
Having an issue with putting a second gallery within a separate tab on a page.
voglermetalworks.com/arabella
As you can see the first ‘Collection’ tab has a working gallery and all is well. However, using the exact same method, the ‘Installed’ tab has no visibility. It shows that there is nothing there.
I am using custom fields and here is what the code looks like:
<section class="entry"> <?php $c_id = ""; $i_id = ""; if (get_field('collection_slideshow_id')) { $c_id = '[slideshow gallery_id="'. get_field('collection_slideshow_id').'"]'; } if (get_field('installed_slideshow_id')) { $i_id = '[slideshow gallery_id="'. get_field('installed_slideshow_id').'"]'; } ?> <div class="tabs-wrap-8-mile"> <a title="Go Back to Catalog" href="hoods">X</a> <?php echo do_shortcode(' [wptabs style="wpui-light" mode="horizontal"] [wptabtitle] COLLECTION [/wptabtitle] [wptabcontent] <div class="tab-content collection">'. get_field('collection_content') .'</div> '. $c_id .' [/wptabcontent] [wptabtitle] INSTALLED [/wptabtitle] [wptabcontent] <div class="tab-content install">'. get_field('install_content') .'</div> '. $i_id .' [/wptabcontent] [wptabtitle] STANDARD FEATURES [/wptabtitle] [wptabcontent] <div class="tab-content standard-features">'. get_field('features_content') .'</div> [/wptabcontent] [/wptabs] ');?> </div><!--/tabs-->Any help is appreciated.
http://ww.wp.xz.cn/extend/plugins/slideshow-gallery/
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
The topic ‘Multiple Galleries within Tabs’ is closed to new replies.