Guest User

[Wordpress] Função de Widget

a guest
Feb 11th, 2016
74
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Register widgetized area and update sidebar with default widgets. */
  2. function match_widgets_init() {
  3. // Widget Areas
  4. register_sidebar(
  5. array(
  6. 'name' => __('Main Sidebar', 'match' ),
  7. 'id' => 'sidebar-1',
  8. 'before_widget' => '',
  9. 'after_widget' => '',
  10. 'before_title' => '',
  11. 'after_title' => ''
  12. )
  13. );
RAW Paste Data