Modifying header.php but can't find it
Permalink
I've been looking around for the header.php file to add some code (in lieu of manually adding it to every page). Where is it hiding on my server?
Hi, where can I find the themes folder? Thank you.
Hi, where can I find the elements folder? Thank you.
The theme in use may reside in one of three places, depending on the theme.
If it's a core theme you will find it in 'root/concrete5/themes/[theme_name]'
A downloaded theme will be in 'root/packages/[theme_theme_name]/themes/[theme_name]'
If it is your own developed theme you most likely will find it in 'root/themes/[theme_name]'
Before you do any edits you should read these how-tos:
http://www.concrete5.org/documentation/how-tos/editors/customize-a-...
http://www.concrete5.org/documentation/how-tos/designers/modify-a-p...
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
If it's a core theme you will find it in 'root/concrete5/themes/[theme_name]'
A downloaded theme will be in 'root/packages/[theme_theme_name]/themes/[theme_name]'
If it is your own developed theme you most likely will find it in 'root/themes/[theme_name]'
Before you do any edits you should read these how-tos:
http://www.concrete5.org/documentation/how-tos/editors/customize-a-...
http://www.concrete5.org/documentation/how-tos/designers/modify-a-p...
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
Thank you for your help. I will try this. I wanted to add a breadcrumb function and add a piece of code for it to be applied to all pages and was told I could edit that in the theme header.php file. I have attached a jpeg, is this where it is located so I can edit it and if it is, how can I go in to edit it? Thank you again.
That is not where you would access the elements folder. Some of the comments above already address that. It is in your installation "Public" folder on your host's server. Public (or root) > Concrete > Themes > Greek Yogurt > Elements
However: If all you want to do is add a breadcrumb to every page, just go to your site > edit > Add to Sitewide Navigation (it can added to any block area that already says "sitewide" or 'global") and add a Auto Nav block and save it. Then click on the block again and instead of edit... choose templates and select the Bread Crumb template already built into Concrete.
However: If all you want to do is add a breadcrumb to every page, just go to your site > edit > Add to Sitewide Navigation (it can added to any block area that already says "sitewide" or 'global") and add a Auto Nav block and save it. Then click on the block again and instead of edit... choose templates and select the Bread Crumb template already built into Concrete.
Thank you for your help. I will try this. I wanted to add a breadcrumb function and add a piece of code for it to be applied to all pages and was told I could edit that in the theme header.php file. I have attached a jpeg, is this where it is located so I can edit it and if it is, how can I go in to edit it? Thank you again.
Thank you for your help. I will try this. I wanted to add a breadcrumb function and add a piece of code for it to be applied to all pages and was told I could edit that in the theme header.php file. I have attached a jpeg, is this where it is located so I can edit it and if it is, how can I go in to edit it? Thank you again.
Thank you for your help adajad, I will try this. I wanted to add a breadcrumb function and add a piece of code for it to be applied to all pages and was told I could edit that in the theme header.php file. I have attached a jpeg, is this where it is located so I can edit it and if it is, how can I go in to edit it? Thank you again.
a
Thank you for your help adajad, I will try this. I wanted to add a breadcrumb function and add a piece of code for it to be applied to all pages and was told I could edit that in the theme header.php file. I have attached a jpeg, is this where it is located so I can edit it and if it is, how can I go in to edit it? Thank you again.
Hi Danny, I was making a website with Concrete5 and wanted to install the "breadcrumb" function and I was told to edit text in the themes header.php file. Could you help me find the location of this please. I'm not sure where the folder is located, whether it is located in the directory where concrete5 was installed or on the server where the pages are. Thank you.
Danny