Change site style→

style-1 style-2
  1. nazenani
  2. >
  3. >
  4. >
  5. >
  6. Making plugin.

Making plugin.

function.php is growing up day by day because of additional function in WordPress.
For stopping its growth, change a group of functions to a plugin.
it’s easy.

  1. Create new php file.
  2. Write script of a function.
  3. Add comment for plugin at script head(see below).

↑ This additional head comment allows to be plugin.

Let’s diet your function.php.

Reference

WordPressのプラグインを開発しよう(初級編)

comment

Fields with * is required.

go to related tags archive?

No tags setted.