• my site is https://www.postgraduatesinsport.com

    i have got the orde rof the tabs set…

    problem is i seem to have the coding slightly messed as the 4 tab contents are now listed below the tabs…

    i am trying to get the subscribe tab to be the default tab with the subscribe tab details in the box below the tabs. eg a blue border aroudn the tab content with a white background to the tab content.

    can someone please look at the code i have for sidebar.php and tell me what i have done wrong?

    thanks very much…

    <div class=”col2″>

    <?php dynamic_sidebar(4); ?>
    <?php if (get_option(‘woo_ad_mpu_disable’) == “false”) include (TEMPLATEPATH . “/ads/mpu_ad.php”); ?>
    <?php if (get_option(‘woo_tabs’) == “false”) { ?>

    <div id=”tabs”>
    <ul class=”wooTabs tabs”>

    <?php _e(‘Subscribe to RSS’,woothemes); ?>
    <?php _e(‘Latest ‘,woothemes); ?>
    <?php _e(‘Popular ‘,woothemes); ?>
    <?php _e(‘Blog?’,woothemes); ?>
    </div>

    <div class=”fix”></div>
    <div class=”inside”>

    <div id=”pop”>

    <?php include(TEMPLATEPATH . ‘/includes/popular.php’ ); ?>
    </div>
    </div>

    <div id=”sub”>

    <h3>Stay up to date</h3> “” ) { echo get_option(‘woo_feedburner_url’); } else { echo get_bloginfo_rss(‘rss2_url’); } ?>”><img src=”<?php bloginfo(‘template_directory’); ?>/images/ico-rss.gif” alt=”” />
    “” ) { echo get_option(‘woo_feedburner_url’); } else { echo get_bloginfo_rss(‘rss2_url’); } ?>”><?php _e(‘Subscribe to the RSS feed’,woothemes); ?>
    ” target=”_blank”><?php _e(‘Subscribe to the feed via email’,woothemes); ?>
    </div>

    <div id=”blog”>

    <h3>Want to read our own Blog</h3>
    ‘Click here to follow our website’s journey through our Blog updates’
    </div>

    <div id=”feat”>

    <?php
    $the_query = new WP_Query(‘cat=’ . $ex_feat . ‘&showposts=5&orderby=post_date&order=desc’);
    while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
    ?>

    <?php woo_get_image(‘image’,35,35,’thumbnail’,90,$post->ID,’src’,1,0,”,”,true,false,false); ?>
    <?php the_title(); ?>” href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?>
    <div style=”clear:both”></div>
    <?php endwhile; ?>

    </div>

    <div id=”comm”>

    <?php include(TEMPLATEPATH . ‘/includes/comments.php’ ); ?>
    </div>

    <div id=”tagcloud”>
    <div>
    <?php wp_tag_cloud(‘smallest=12&largest=20’); ?>
    </div>
    </div>

    <div class=”fix” style=”height:15px !important;”></div>
    <?php } ?>
    <!– TABS END –>

    <?php dynamic_sidebar(1); ?>

    <div class=”fix”></div>

    <div class=”subcol fl”>

    <?php dynamic_sidebar(3); ?>

    </div><!–/subcol–>

    <div class=”subcol fr”>

    <?php dynamic_sidebar(2); ?>

    </div><!–/subcol–>

    <div class=”fix”></div>

    </div><!–/col2–>

  • The topic ‘tab problem, help wanted’ is closed to new replies.