1. Home
  2. WordPress
  3. How to Access Your WordPress functions.php File

How to Access Your WordPress functions.php File

Your WordPress functions.php file is key to adding code customizations to your WordPress site. It is especially useful if you are using a child theme and do not have access to the actual site files. There are two primary ways of accessing the functions.php file:

We recommend using a child theme instead of directly editing your site files.

Accessing functions.php through the Admin Interface

WP Enthusiast

WP Professional

WP Professional Plus

pairSIM WordPress

To access the functions.php file through your WordPress Admin interface, follow these steps:

  1. Log in to the WordPress Admin interface
  2. In the left sidebar, hover over Appearances, then click Theme Editor
  3. In the right sidebar, click functions.php

This will bring up the functions.php code editor. You can write code directly in this interface and save it.

Accessing functions.php through the WordPress Backend

WP Professional

WP Professional Plus

pairSIM WordPress

This process will not work on WP Enthusiast accounts since they do not have ACC file access. Instead, they may use SFTP to access files or access the functions.php file through the admin interface.

To access the functions.php file through your WordPress backend, follow these steps:

  1. Log in to the ACC
  2. In the left sidebar, click Files
  3. In the drop-down, click Web
  4. Locate your website's directory and click its name

    Website directories on WP Hosting accounts may not be the same as your domain name. Visit the site's details page to see where your site's directory is mapped.

  5. Inside the directory, navigate to wp-content > Themes > [Your Child Theme's Name]
  6. Click the functions.php file name
  7. In the top nav bar, click Edit
  8. Enter your changes
  9. At the bottom of the page, click Save
Updated on March 15, 2019

Was this article helpful?

Related Articles