[SOLVED] How to Add Keywords/Description Tag to Clean Canvas Theme

tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Thu, 2013-08-08 19:40

Hello,

I have the Clean Canvas theme and wanted to know what file I could use to add keywords and a description tag in it.
Perhaps there's a module, but I thought I'd ask about this first.

Thanks ahead of time,
Tseyigai

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Fri, 2013-08-09 14:06

To perhaps make this clearer, I would like to be able to add the keywords and a description tag to the front page of my site at: http://www.hansonartists.com
Of course the "keywords" are tagged alongside, or by each of the images, but on the first page that opens up, and one can view "page source" I would like "that" page
to have keywords and description in it.

Thanks,
Tseyigai

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-08-09 15:18

Are you talking about inside the <head> tag like:
<meta name="keywords" content="artist, hanson, photos">
if so do you want it to change with each page?
http://codex.galleryproject.org/Gallery3:Modules:metadescription

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Fri, 2013-08-09 21:36

*****Yes, I'm referring to inside the <head> tag like listed. No, just mainly the "first page." *Will the module do the trick for me, or is there a FILE inside the CLEAN CANVAS theme that I can edit to add the "keywords" and "description" tags needed?
Thanks.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-08-09 21:45

Edit /themes/<theme name>/views/page.html.php and use:
http://codex.galleryproject.org/Gallery3:Tutorials:Themes#Adding_stuff_to_root_album_only
to add stuff to the root album only.
But the module will do it automatically for you and be dynamic to each page.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Fri, 2013-08-09 21:46

OK, So here is what the module generated:

<meta name="keywords" content="Stephen Hanson Paintings" />
<meta name="description" content="Stephen Hanson Paintings" />

*I would like to be much more comprehensive than that of course. How
might that be done?

Thanks

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Fri, 2013-08-09 22:37
tseyigai wrote:
OK, So here is what the module generated:

<meta name="keywords" content="Stephen Hanson Paintings" />
<meta name="description" content="Stephen Hanson Paintings" />

*I would like to be much more comprehensive than that of course. How
might that be done?

Thanks

***I was able to edit the page finally. I had to get a different php editor and added the <meta name="keywords" content/> and the <meta name="description" content/> tags right below the <HEAD> tag. I viewed my page and it worked fine! Hope that's all I need for now. Otherwise, I don't think the search engines were finding me too well.

Tseyigai