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 WordPress 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 Editortheme editor
  3. In the right sidebar, click functions.phptheme functions.php image

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 Account Control Center

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 Webweb image
  4. Locate your website's directory and click the file path displayed to the right of itlink to directory image

    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, click  the wp-content file name
  6. Click the Themes file nametheme image
  7. In this directory, find the theme or child theme name that you are currently usingtheme name image
  8. Click the functions.php file namefunctions php image
  9. In the top navigation bar, click Edit edit image
  10. Enter your changes in the file
  11. Then go to the bottom of the page and click Save
Updated on March 19, 2020

Was this article helpful?

Related Articles