Wordpress de verilen html ile dynamic_sidebar ('primer-gereç-alan') uygulamak nasıl

0 Cevap php

I sidebar.php wordpress.I varsayılan olarak kullanıyorum wordpress site.I üzerinde çalışıyorum <ul><li></li></ul> kenar çubuğu gösterir ve problem i verilen html göre bu kenar çubuğunu özelleştirmek istiyorum.

I need the things in <div>.Please help me its very urgent.I shall be very thankful to u all. Please reply me asap .

By Default sidebar.php code

  <?php

/** * The Sidebar containing the primary and secondary widget areas. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ ?>

    <div id="primary" class="widget-area" role="complementary">
        <ul class="xoxo">

        <li id="search" class="widget-container widget_search">
            <?php get_search_form(); ?>
        </li>

        <li id="archives" class="widget-container">
            <h3 class="widget-title"><?php _e( 'Archives', 'twentyten' ); ?></h3>
            <ul>
                <?php wp_get_archives( 'type=monthly' ); ?>
            </ul>
        </li>

        <li id="meta" class="widget-container">
            <h3 class="widget-title"><?php _e( 'Meta', 'twentyten' ); ?></h3>
            <ul>
                <?php wp_register(); ?>
                <li><?php wp_loginout(); ?></li>
                <?php wp_meta(); ?>
            </ul>
        </li>

    <?php endif; // end primary widget area ?>
        </ul>
    </div><!-- #primary .widget-area -->

    <div id="secondary" class="widget-area" role="complementary">
        <ul class="xoxo">
            <?php dynamic_sidebar( 'secondary-widget-area' ); ?>
        </ul>
    </div><!-- #secondary .widget-area -->

Thanks

0 Cevap