プラグインなしでWordPressに機能を実装できるコードを集めたサイト「You Might Not Need That WordPress Plugin」

プラグインなしでWordPressに機能を実装できるコードを集めたサイト「You Might Not Need That WordPress Plugin」

プラグインなしでWordPressに機能を実装できるコードを集めたサイト「You Might Not Need That WordPress Plugin」
※2018/11/03追記
残念ながら、You Might Not Need That WordPress Pluginはなくなってしまったようです。

You Might Not Need That WordPress Pluginは、プラグインを使わなくてもWordPressに機能を追加できるコードを集めたサイトです。

カスタム投稿タイプの追加や関連記事の表示など、様々なカスタマイズ用のコードが紹介されています。

スポンサードリンク

You Might Not Need That WordPress Pluginとは

英語ですが、サイトには以下のように書かれています。

Do you find yourself asking, “Do I really need that WordPress plugin”?

WordPress plugins are a great way to quickly and easily add functionality to your WordPress website. However, running badly coded plugins can slow down your site, cause vulnerabilities, security issues and other problems. Below I have complied a list of snippets you can use that can offer the same functionality as some common plugins.

I don’t discourage the use of plugins, however, I do discourage heavy and bloated plugins that include lots of unneeded functionality for a simple feature. Before installing a plugin you should ask yourself if you really need it and if the answer is “Yes” you should carefully read the reviews and check it is a good quality plugin.

You should experience less conflicts, bugs and see an improvement in speed after removing plugins that are not suitable. For some extra tips on optimizing the rest of your WordPress website check out this article: Cleaning Tips for WordPress Optimization.

「本当にそのプラグインは必要ですか?」
「プラグインには脆弱性が含まれていることもあるよ」
「プラグインによって不具合が発生するならプラグインを取り除こう」

おおよそこのようなことが書かれています。間違っていたらご指摘いただければと思います。

You Might Not Need That WordPress Pluginにアクセスしてみよう

早速、You Might Not Need That WordPress Pluginにアクセスしてみましょう。

下にスクロールしていくと、色々なコードが紹介されています。それぞれのコードには、実装手順も記載されています。

実装手順とコード

サイト上部の検索ボックスから、コードを検索することもできます。

コードの検索

あとがき

プラグインで問題なく実装できるのであれば、プラグインを使った方が早いですし管理も楽です。ですが、プラグイン同士が競合してしまったり、不必要な機能が付いていてパフォーマンスが低下する場合などは、自分でコードを管理した方が良いですね。

まだ紹介されているコードは多くないですが、どれも実用的なものばかりですので、ぜひ覗いてみてください。

この記事が気に入ったら
いいね!してね♪

Twitter で
スポンサードリンク

関連記事

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です