Support » How-To and Troubleshooting » Widget – Conditional logic

Widget – Conditional logic

  • Hi,

    I’m currently working on the following site: http://www.bofinans.dk/

    The page is in danish, I know, but so am I 🙂

    My problem is that i have used the plugin Gravity Form to add a form to http://www./bofinans.dk/investeringstest. Now the form works great and is very easy to use but i have been forced to add conditional logic to the form at the question “Hvem forvalter din opsparing”. So if a customer choose “other” they get the opportunity to write whom. But unfortunately this won’t work unless i add this “<? php wp_footer(); ?>” to the footer.php file. And now the fun part begin. Because when i add this line of code my Widget Footer Left disappears from every single page! As well as my frontpage “slideshow”..

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you add it just above </body>?


    <div id="footer">
        <div id="footerwrapper" class="col-full">
            <div id="footer-social">
    <img src="<?php bloginfo('template_directory'); ?>/images/facebook.png" height="16" width="16"> <a href="https://www.facebook.com/BoFinans" target="_blank">Følg os på facebook</a> <br />
    <img src="<?php bloginfo('template_directory'); ?>/images/linkedin.png" height="16" width="16"> <a href="https://www.linkedin.com/company/2728263" target="_blank">Følg os på LinkedIn</a>
            <div id="footer-sidebar-left">
                    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget Left') ) : ?>
                    <?php endif; ?>
                    <?php wp_footer(); ?>
            <div id="footer-copyright">
            Copyright &copy; 2012 - BoFinans | <a href="#">Privatlivpolitik og Cookies</a></strong>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/javascript/jquery.nivo.slider.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(window).load(function() {
    pauseTime: 8000

    I added “<? php wp_footer(); ?>” instead of the “++++” (which of course isen’t a part of the code.. 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget – Conditional logic’ is closed to new replies.
Skip to toolbar