Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

  • Overview
  • Transcript

1.1 Introduction

In this course, I'll show you how to code your own custom utility functions that can be used anywhere in your theme template files. We'll follow best practice and code our function in a plugin, rather than adding it to the theme directly.

1.WordPress Coding Basics: Write a Function
2 lessons, 13:50

Free Lesson

WordPress Coding Basics: Write a Function

1.1 Introduction

[MUSIC] Hello, and welcome to this Tuts+ Coffee Break course on writing a function in WordPress. My name's Rachel McCollin, and in this course I'm gonna show you how to write your first function in a plug-in. I'm also gonna give you a tour of the functions file within your theme. And I'll show you how to run your function by coding it directly into a theme template file. Watch this course, and find out how to write a function.

Back to the top