回答編集履歴
1
    
        answer	
    CHANGED
    
    | 
         @@ -1,2 +1,25 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
      
 1 
     | 
    
         
            +
            あーちょっと勘違いしてました、
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ということは自作テーマの不備であると。
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            そもそもこのコードだけでウィジェットが追加できてますか?
         
     | 
| 
      
 6 
     | 
    
         
            +
            ```
         
     | 
| 
      
 7 
     | 
    
         
            +
            if (function_exists('register_sidebar')) {
         
     | 
| 
      
 8 
     | 
    
         
            +
                register_sidebar(array(
         
     | 
| 
      
 9 
     | 
    
         
            +
                  'name' => 'Footer',
         
     | 
| 
      
 10 
     | 
    
         
            +
                  'id' => 'footer',
         
     | 
| 
      
 11 
     | 
    
         
            +
                  'description' => 'サイドバーウィジェット',
         
     | 
| 
      
 12 
     | 
    
         
            +
                  'before_widget' => '<div>',
         
     | 
| 
      
 13 
     | 
    
         
            +
                  'after_widget' => '</div>',
         
     | 
| 
      
 14 
     | 
    
         
            +
                  'before_title' => '<h3>',
         
     | 
| 
      
 15 
     | 
    
         
            +
                  'after_title' => '</h3>'
         
     | 
| 
      
 16 
     | 
    
         
            +
               ));
         
     | 
| 
      
 17 
     | 
    
         
            +
            }
         
     | 
| 
      
 18 
     | 
    
         
            +
            ```
         
     | 
| 
      
 19 
     | 
    
         
            +
            関数リファレンス/register sidebar
         
     | 
| 
      
 20 
     | 
    
         
            +
            [http://wpdocs.osdn.jp/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9/register_sidebar](http://wpdocs.osdn.jp/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9/register_sidebar)
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            テーマのウィジェット対応
         
     | 
| 
      
 24 
     | 
    
         
            +
            [https://wpdocs.osdn.jp/%E3%83%86%E3%83%BC%E3%83%9E%E3%81%AE%E3%82%A6%E3%82%A3%E3%82%B8%E3%82%A7%E3%83%83%E3%83%88%E5%AF%BE%E5%BF%9C#How_to_Register_a_Widget_Area
         
     | 
| 
      
 25 
     | 
    
         
            +
            ](https://wpdocs.osdn.jp/%E3%83%86%E3%83%BC%E3%83%9E%E3%81%AE%E3%82%A6%E3%82%A3%E3%82%B8%E3%82%A7%E3%83%83%E3%83%88%E5%AF%BE%E5%BF%9C#How_to_Register_a_Widget_Area)
         
     |