Difference between revisions of "WordPress functions.php"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (→See also) |
Karl Jones (Talk | contribs) m (Karl Jones moved page Functions.php (WordPress) to WordPress functions.php) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
In a [[WordPress theme]], the file named '''<code>functions.php</code>''' contains custom [[Function (programming)|programming functions]] for that theme. | In a [[WordPress theme]], the file named '''<code>functions.php</code>''' contains custom [[Function (programming)|programming functions]] for that theme. | ||
− | |||
− | |||
− | |||
− | |||
== Description == | == Description == | ||
− | + | [[Theme (WordPress)|WordPress themes]] can provide custom functionality via <code>functions.php</code>. | |
Writing custom functions requires some knowledge of PHP programming, more than a beginning programmer is likely to know. | Writing custom functions requires some knowledge of PHP programming, more than a beginning programmer is likely to know. |
Latest revision as of 04:53, 29 September 2016
In a WordPress theme, the file named functions.php
contains custom programming functions for that theme.
Description
WordPress themes can provide custom functionality via functions.php
.
Writing custom functions requires some knowledge of PHP programming, more than a beginning programmer is likely to know.
- However, beginning programmers may wish to study existing
functions.php
code from particular themes, to learn how functions work. - It is often possible for a beginner to modify an existing function for some specific purpose
functions.php
is optional. Not all themes have it.
Location
functions.php
is located in the root of a WordPress theme folder.