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?

gewald
 
CC3381 replied on at Permalink Reply
CC3381
It will be in your themes folder. Usaually in the elements folder. Are you using a built in theme or a purchased theme?

Danny
jah replied on at Permalink Reply
Hi, where can I find the themes folder? Thank you.
jah replied on at Permalink Reply
Hi, where can I find the elements folder? Thank you.
adajad replied on at Permalink Reply
adajad
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...
jah replied on at Permalink Reply 1 Attachment
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.
Adreco replied on at Permalink Reply
Adreco
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.
jah replied on at Permalink Reply 1 Attachment
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.
jah replied on at Permalink Reply
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.
jah replied on at Permalink Reply
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.
jah replied on at Permalink Reply
a
jah replied on at Permalink Reply
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.
jah replied on at Permalink Reply
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.