Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • sene1983

    (@sene1983)

    hi,
    i wanna try this code,

    <?php if (in_category('Category', $id)) { ?>
    No dynamic sidebar shown.
    <?php }else{ ?>
    <?php   /* Widgetized sidebar, if you have the plugin installed. */
              if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?><?php endif; ?>
    <?php } ?>

    But, to which file i will add this code? To, index.php or page.php
    thanx for your help

    Forum: Plugins
    In reply to: download section
    Thread Starter sene1983

    (@sene1983)

    any reply?

    sene1983

    (@sene1983)

    sorry?

    `<?php wp_dropdown_categories(‘show_option_none=Select a Category&show_count=1’); ?>

    <script type=”text/javascript”><!–
    var dropdown = document.getElementById(“cat”);
    function onCatChange() {
    if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
    location.href = “<?php echo get_option(‘home’);
    ?>/?cat=”+dropdown.options[dropdown.selectedIndex].value;
    }
    }
    dropdown.onchange = onCatChange;
    –></script>`

    is that code is workin?

    sene1983

    (@sene1983)

    hi, i read the posts. but i could not understand. there are lots of php codes here. ??

    For example, there are 2 categories that named “A” and “B”. when you login the A category, i want dropdown plugin to show the post of “A” category. when you click the category “B”, i want to dropdown to show the post of category “B is that possible?

    plz help

Viewing 4 replies - 1 through 4 (of 4 total)