[Special Summer Sale] 40% OFF All Magento 2 Themes

Cart

Creating a wordpress theme

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10823
    habib
    Participant

    Just want to know that if I’m going to create a new wordpress theme, what about functions.php, should I need to create a new functions file, or just copy it from other wordpress theme. I have read codex but it only tells about the templates needed to create a new theme.

    #10824
    sander-moolin
    Participant

    You don’t need a new functions.php file if you don’t want custom functions in your theme.

    See this thread for more information – not including functions.php doesn’t make any difference for your custom theme.

    #10825
    swapnali
    Participant
    • The theme functions file is a template used by Word-press themes. It acts like a plug-in and gets automatically loaded in both admin and front-end pages of a Word-press site.
    • The functions.php file can be found in your theme’s folder.
      You don’t need to create a new functions.php file when you want to put your own function in function.php just paste that code in your themes functions.php file.
    • You can look into these Reference Links to understand more about function.php file :-

      Functions_File_Explained

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.