A theme can optionally use a functions file, which resides in the theme subdirectory and is named functions.php. This file basically acts like a plugin, and if it is present in the theme you are using, it is automatically loaded during WordPress initialization (both for admin pages and external pages). Suggested uses for this file:
Enable Theme Features such as Sidebars, Navigation Menus, Post Thumbnails, Post Formats, Custom Headers, Custom Backgrounds and others.
Define functions used in several template files of your theme.
Set up an options menu, giving site owners options for colors, styles, and other aspects of your theme.
The default WordPress theme contains a functions.php file that defines many of these features, so you might want to use it as a model. Since functions.php basically functions as a plugin, the Function_Reference list is the best place to go for more information on what you can do with this file.
Note for deciding when to add functions to functions.php or to a specific plugin: You may find that you need the same function to be available to more than one parent theme. If that is the case, the function should be created in a plugin instead of a functions.php for the specific theme. This can include template tags and other specific functions. Functions contained in plugins will be seen by all themes
Established in the Mid 1990’s, Four M Enterprises has been continually bringing innovative products to the building industry of Pakistan. We are Pioneers in introducing novel products such as a complete line of products including fabrication, ranging from Poly carbonate sheets Hollow sheets, Flat sheets, Solid sheet, shutter wall sheet, Diffusion sheet. We carry good quality products & provided best services to meet our customer's requirements and are always keen to introduce innovative products to the market.