<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nekatsu</author_name>
  <author_url>https://blog.hatena.ne.jp/nekatsu/</author_url>
  <blog_title>ねかつちう。</blog_title>
  <blog_url>https://www.nekatsu.com/</blog_url>
  <categories>
    <anon>wordpress</anon>
  </categories>
  <description>今回はWordpressの子テーマでウィジェットエリアを追加する方法について解説していきます。 ご存知のとおり、Wordpressでは基本的に子テーマが親テーマを上書き（あるいは置換）しますが、function.phpだけは親子両方のファイルが読み込まれるため、内容に矛盾（あるいは重複）があるとエラーになってしまいます。 子テーマでウィジェットエリアを追加する場合においても、親テーマのfunction.phpとの矛盾回避が必要となり、そこが今回のポイントとなります。 親テーマのfunction.phpの記述を確認する 親テーマのウィジェット定義を無効化する 子テーマに親テーマのコードを貼り付け…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.nekatsu.com%2Fentry%2Fwordpress-widgetarea-childtheme&quot; title=&quot;【Wordpress】子テーマでウィジェットエリアを追加する方法 - ねかつちう。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nekatsu/20180204/20180204032454.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-12 07:30:00</published>
  <title>【Wordpress】子テーマでウィジェットエリアを追加する方法</title>
  <type>rich</type>
  <url>https://www.nekatsu.com/entry/wordpress-widgetarea-childtheme</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
