通常、画像挿入の画面で、リンクURLのに『ファイルのURL』が自動で入っていると思うのですが、
その部分を最初から空の状態になるようにするにはどこを設定すればよいのでしょうか?
お分かりの方いらっしゃいましたらよろしくお願いします。
こちらの記事を参照ください。
Changing Default WordPress Media Link URL
http://blog.aizatto.com/2010/05/04/changing-default-wordpress-media-link-url/
The option specifying the default link type is stored in the WordPress options as “image_default_link_type“. You can access the hidden WordPress options via visiting http://example.com/wp-admin/options.php (where example.com/ represents the url and path to your blog).
After accessing the page, search for “image_default_link_type” (its in alphabetical order). By default it should say “file“.
This field has a few options:
- blank (Yes literally nothing, or I just use “none“)
- file – Use the File URL, ie: http://example.com/wp-content/2010/04/example.png
- post – Use the Post URL, ie: http://example.com/?attachment=1
管理画面のURLに options.php を付け足して隠れオプション設定画面にアクセスし、"image_default_link_type"の値を"file"から"blank"に変更することでお望みの結果が得られると思います。
ありがとうございます!
いとも簡単に、ハマることなく設定できました。