WordPressブロックテーマでJavaScriptを追加する方法は、WPCodeなどのプラグインを使う方法と、子テーマのfunctions.phpにwp_enqueue_scriptを記述する方法の2つがあります。 この記事では、具体的な手順とJavascript導入時の注意点を解説していきます。 ブロックテーマで ...
WordPressなどで外部リソースを使う際、カスタムHTMLブロックに<link>を書きたくなる場合があります。 <head>外に<link>を記述を ...
WordPressで特定のページだけに個別のスタイルシートやスクリプトを使いたい、HTML, CSS, JS, PHPを埋め込みたい、ヘッダを変えたり、共通のエレメントを使いたい、しかも特定の1ページや複数ページにも適用したい、それらを叶えることができるWordPressの ...
Optimizing your WordPress site’s performance often starts with a few crucial steps, one of which is learning how to minify CSS and JavaScript in WordPress. This process involves stripping down ...
Installing and updating the plugins is possible using Github Updater. It is easy to install one of the plugins. You simply need to download the Github Updater plugin ...