rpimpsner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP Fatal error: Cannot redeclare ABOptions()I forgot to tag it as code. I couldn’t delete it but here it is again the right way.
Header
<?php get_header(); ?> <div id="primary" class="content-area"> <div id="homepage"> <div id="news"><?php echo do_shortcode('[advps-slideshow optset="1"]') ?> </div> <div id="links"><?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('links') ) : ?> <?php endif; ?></div> <div id="Hub"><?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('tint') ) : ?> <?php endif; ?></div> <div id="ads"><?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('ad1') ) : ?> <?php endif; ?></div> <div id="HomeFeature"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('ad3') ) : ?> <?php endif; ?> </div> <div id="ads2"><?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('ad2') ) : ?> <?php endif; ?></div> </div> </div><!-- #primary --> <?php get_footer(); ?>Footer
<?php wp_footer(); ?> <div id="footer"> </div> </div> <div id="bottom"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footerleft') ) : ?> <?php endif; ?> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footermiddle') ) : ?> <?php endif; ?> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footerright') ) : ?> <?php endif; ?> </div> </body> </html>Forum: Fixing WordPress
In reply to: PHP Fatal error: Cannot redeclare ABOptions()Footer:
<?php wp_footer(); ?>
<div id=”footer”></div>
</div>
<div id=”bottom”>
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘footerleft’) ) : ?>
<?php endif; ?>
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘footermiddle’) ) : ?>
<?php endif; ?><?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘footerright’) ) : ?>
<?php endif; ?>
</div>
</body>
</html>——————————
Index:<?php get_header(); ?>
<div id=”primary” class=”content-area”>
<div id=”homepage”>
<div id=”news”><?php echo do_shortcode(‘[advps-slideshow optset=”1″]’) ?>
</div>
<div id=”links”><?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘links’) ) : ?>
<?php endif; ?></div>
<div id=”Hub”><?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘tint’) ) : ?>
<?php endif; ?></div>
<div id=”ads”><?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘ad1’) ) : ?>
<?php endif; ?></div>
<div id=”HomeFeature”><?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘ad3’) ) : ?>
<?php endif; ?>
</div><div id=”ads2″><?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘ad2’) ) : ?>
<?php endif; ?></div>
</div>
</div><!– #primary –>
<?php get_footer(); ?>