Theme functions
WordPress themes contain a file named functions.php to add features and functionality to the site. The 'Works Unit' functions file does the following:
- Removes actions that add unwanted elements in the document <head>.
- Simplifies the <title> in the document <head> to match the written heading.
- Removes the text "Private:" from the title and heading of private pages.
- Removes the text "Protected:" from the title and heading of password-protected pages.
- Registers a footer menu named 'Footer Menu'.
- Directs submitted comments to a 'Thank You' page that has to be created when the theme is installed.
- Discourages archives to be indexed by search engines.
- Edits the password form for password-protected pages.
- Removes the comment author link to discourage spam comments.
- Excludes categories from site search.
- Removes /category/ base from category link path.
- Adds widget 'area one' to footer.
Category: Theme Features