Created
February 24, 2020 16:11
-
-
Save ledovej/52107ed35c795fec259ef6c991691c1d to your computer and use it in GitHub Desktop.
Registering a sidebar widget for Wordpress website using functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*registering sidebar widget*/ | |
if ( function_exists('register_sidebar') ) | |
register_sidebar(array( | |
'name' => 'Blog Sidebar', | |
'before_widget' => '<div class = "widgetizedArea">', | |
'after_widget' => '</div>', | |
'before_title' => '<h4>', | |
'after_title' => '</h4>', | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment