I've got WPG2 plugin version 3.0.2 installed and most everything is working well. The only problem is in viewing the embedded gallery in WordPress. An extra </div> tag gets inserted which screws up my WP theme. Any idea where I should start looking to resolve this? I've tried different Gallery themes and that made no difference. The <div> & </div> tags are matched in my regular WP pages.
Ted
Posts: 4
Never mind. I found the problem. When I first installed the plugin, My gallery did not display correctly using Simple Headers so I tried setting up a wpg2header.php file. This got it working except for the problems mentioned above. The problem is that unless you set up a wpg2footer.php, it uses the Simple Footer which defaults to </div>.
The solution was to delete the wpg2header.php and go to the WPG2 Output tab in WordPress admin. There I deleted the defaults for Simple CSS, Header, and Footer. These defaults were:
.g2_column {width: 738px;margin: 0px 1px 0px 12px;}
<div id="content" class="g2_column">
</div>
My theme's header already has a <div id="content> and the footer has a corresponding </div> so these defaults are not needed.
Ted
Posts: 1378
Thanks for posting Ted, now if all Wordpress themes could be standard we could come up with a easy to use guide to make Gallery2 Output changes..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo