WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Functions.php? what is this...I looked but couldnt find a definition (5 posts)

  1. becky01
    Member
    Posted 8 years ago #

    Hi,
    I swear I looked all over wp.org, but what is functions.php and what does it do? I'm developing my own template and I took my defalt theme out of my wp-content file, deleted the CSS and html and began templating my design. But in the file for hte default theme, there is a file called functions.php. I've looked all over but can't find anything about this file. Does anyone know what I'm talking about and can help me?

    ~becky01

  2. mylagoon
    Member
    Posted 8 years ago #

    functions.php in the default theme (Kubrick) controls the admin page for the theme in the WP-Admin when you have that theme active.

    It isn't required when you create your own theme.

    For more information about what files you need when creating your own theme and some other tips, take a look over this:
    http://codex.wordpress.org/Using_Themes

  3. becky01
    Member
    Posted 8 years ago #

    Thanks for that information Mylagoon. Really helpful! I didn't find that information anywhere here-yet. I'm assuming that it's ok to delete functions.php then? If not I'll save a back up incase it doesnt work. Thanks for the link too.
    Becky01

  4. mylagoon
    Member
    Posted 8 years ago #

    If you're making your own theme you don't need a functions.php. So yes, you can delete it.

    But if you want to continue using the Default theme, then I have no idea what deleting it will affect/do.

  5. becky01
    Member
    Posted 8 years ago #

    Oh, ok. Great. thanks for the info. ~beckyo1

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags