adsense

How to Call a Footer Widget in WordPress





1. Open the 'functions.php' file of your WordPress theme in Notepad. Find the widgets section of the code and add the code below.register_sidebar(array('name' => 'My Footer','id' => 'my_footer','before_widget' => '
','after_widget' => '
','before_title' => '
','after_title' => '
'));Save your changes.
2. Open 'footer.php' and add the following code where you want your footer widget to appear:
Save your changes.

3. Log on to WordPress and click on 'Appearance' and 'Widgets.' A section called 'My Footer' will appear on the left. Drag the widget you wish to place on your site's footer in this new section.

Comments

0 Responses to "How to Call a Footer Widget in WordPress"

Post a Comment

Popular Posts

About