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.
WP 3.5.2
Plugin 1.2.3.2
http://wordpress.org/extend/plugins/slideshow-gallery/
(Side note: it is looking like 2 galleries can't exist on the same page within tabs. Please tell me this isn't so or help me find a work around. This is pretty important.)
Comments