WordPressのウイジェットは基本は自分で追加・削除ができるが、ドラッグしても移動できない、消せないウイジェットがある。
その様なウイジェットはたいていの場合はプラグインによるものである。
今回のパターンはSmart Slider 3というプラグイン。
目次
消せないウイジェットの場所
管理画面→外観→ウイジェット→ウイジェット画面の最後に表示されている。
Custom Widget Area – #1
Display this widget area in your theme with:
<?php dynamic_sidebar('smartslider_area_1'); ?>
削除する方法
管理画面→プラグイン→Smart Slider 3→Deactivateでウイジェットも自動的に削除される。
コードがどこに記載されていたか?
wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/Platform/WordPress/Widget/WidgetHelper.php
備考
プラグインが動作するためには、このプラグインの仕様だとしても、もう少し気の利いた事を以下より記して貰いたい所です。
Display this widget area in your theme with:
<?php dynamic_sidebar('smartslider_area_1'); ?>
例えば、
This widget is needed for Smart Slider 3 plugin to function. Please see Plugins -> Smart Slider 3 for configurations.
という感じで記しておいてもらわないと管理を委託された身としては使っているかどうかわからないプラグインは無効化・削除しておきたいので。
関係URL
Smart Slider 3 — WordPress Plugi...


Smart Slider — The new way to build a WordPress slider 🎓
Join over 800,000 users and find out why Smart Slider became the best WordPress slider plugin. Build better sliders for free!
コメント