adsense

How to Add a Widgetized Footer to WordPress Themes





1. Log in to WordPress. Scroll to the 'Appearance' pane along the left side of the screen, and choose 'Editor.'
2. Click the 'functions.php' file. Scroll to any blank line in the file and paste the following code in:register_sidebars(1,array('name' => 'Footer Widget','before_widget' => '
','after_widget' => '
','before_title' => '
','after_title' => '
'));function footer_widget() { ?>






You can edit the content that appears here by visiting your Widgets panel and modifying the
current widgets
there.





3. Open 'style.css' and paste the following code in:.custom .sidebar ul.sidebar_list {position: relative;}.custom #footer_widget_1 ul.sidebar_list li.widget {position: relative; text-align: left; display: block; top:4px; left:0px; width:468px; }.custom #footer-social-icons a img { float:left; }.custom #footer-social-icons {text-align: left;width: 600px;}}Edit the numbers behind 'width' to change the width of the widgetized portion of the footer, then click 'Save.'
4. Click the 'Widgets' option under the 'Appearance' page. A footer widget area now exists within the widget screen. Drag and drop any available widget into the footer widget area to make the widget appear in the footer.

Comments

0 Responses to "How to Add a Widgetized Footer to WordPress Themes"

Post a Comment

Popular Posts

About