WordPress.org

Ready to get started?Download WordPress

Forums

Theme id widget sidebar customization (1 post)

  1. praveen68
    Member
    Posted 1 year ago #

    Hi, I want to customize the widget sidebar so that image(button in my case) displays first, then title followed by text. This is code in functions.php. WHat modification should be done.

    register_sidebar(array(
                'name' => __('Main Sidebar', 'themename'),
                'description' => __('Area 1 - sidebar.php', 'themename'),
                'id' => 'main-sidebar',
                'before_title' => '<div class="widget-title">',
                'after_title' => '</div>',
                'before_widget' => '<div id="%1$s" class="widget-wrapper %2$s">',
                'after_widget' => '</div>'
            ));

    I have started to design for wordpress recently. Please guide me.

Topic Closed

This topic has been closed to new replies.

About this Topic