I have been wrecking my brain on this for sometime: I have only found 1 tabs plugin that loads fast and also maintains size on the panel height.
When I use the shortcodes on the WP editor there is no problem with the way the page displays.
Code:
<?php echo do_shortcode('[rollover-tab name="tab2" etc etc]'); ?>
When I try to build a page template with the plugin's shortcode, there are no tabs. This seems to be the case with shortcodes for all tab plugins I have tried.
I am building tabs for holding product descriptions etc for Amazon items, so there is backfilling done 100% ok by the WPZonBuilder into the tabs if I use the WP editor, so I know it all works. Works while I do each product manually on the editor that is
My next attempt was trying to use the shortcodes as executable php in the *.html files that WPZonBuilder uses as templates using the code I found online
I tried the following suggests from
http://dev.w3.org/html5/spec-author-view/the-pre-element.html but nothing prints out: do you have any experience with this <pre><code ?
I can not find any other code to do that execution of php code in a html page
I have already modified .htaccess as per
http://www.build-your-website.co.uk/Starting-PHP-Part2.htm to allow code to be executed: the example is php4 .. I tried php4 & php5 with same results
This shows as expected empty tabs on a sample page { <pre><code </code></pre> removed}, but not anything at all if included in the html
Code:
<pre><code <?php ('[rollover-tabs name="id" norollover="" border="true" margin="-2px" height="3.5in" left="1px" right="1px" scroll=""][rollover-tab name="tab1" label="Gallery" font="small"][/rollover-tab][rollover-tab name="tab2" label="Product Description" font="small"][/rollover-tab][rollover-tab name="tab3" label="Details&Features" font="small"][/rollover-tab][rollover-tab name="tab4" label="Customer Reviews" font="small"][/rollover-tab][/rollover-tabs]'); ?></code></pre>
The recommended changes in the .htaccess
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
#parsing PHP in html files
#
AddType x-mapp-php5 .html .htm
#parsing .php as .php5 files
# END WordPress
Any thoughts on how to have this work as a WP page template or ?? The plugin developer has not responded to email.
TIA for any feedback,
We