Jump to content
Stef's Coding Community

samdz

New Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About samdz

  • Rank
    New member
  1. Hello, I am working to build my own theme, I learned a lot with (Build a Wordpress Theme from Scratch) but now I have problem to insert 2 sidebars in functions.php I added: ---------------------------------------------------------------------- function mytheme_widgets_init() { register_sidebar( array( 'name' => __( 'sidebar-1', 'mytheme' ), 'id' => 'sidebar-1', 'description' => __( 'sidebarRight', 'mytheme' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h
×
×
  • Create New...