Member
Member
hackysack   2014-06-15, 11:23
#1

I've tried a number of ways to get the tags to display as the page title, with "close but no cigar" results. I can get the tags to display at the top of the page but not as the page title, or get the word Array to display as the title, but not the tags to display as the page title of image.php

I've tried both getTags, printTags()to no avail. I'm hoping its easy to place a variable between the to get the tags to display for individual images.

If that's possible, which one should be used?

Thanks

Administrator
Administrator
acrylian   2014-06-15, 11:27
#2

You have to build your own function using getTags() which returns an "array" of the tags. Please see the PHP documentation for these basics of working with arrays.

printTags() of course does not work because it prints a html list and html elements are not allow within the `` element.

Member
Member
hackysack   2014-06-16, 06:27
#3

Sounds really simple for somebody who knows how to program. Anybody want to write this up for $25 bucks?

I'm a photographer, not a coder, so I'd appreciate someone writing up a snippet for this. Since it's value for general seo would be a benefit for zenphoto, I'd also be happy to share the code here after I pay for it.

Administrator
Administrator
acrylian   2014-06-16, 07:50
#4

Not sure if listing lots of tags in the title really helps SEO wise that much nowadays.

Anyway, you can contact me directly via the paid support page if you like.

Member
Member
hackysack   2014-06-16, 08:41
#5

Not wishing to debate seo, since Google's algorithms are secret. Just a sharing of information. Here are a couple of sources that let me to the conclusion of the importance of title tags.

Forbes - February 2014
"The title tag has consistently been one of the most critical ranking factors, and remains so for 2014."
http://www.forbes.com/sites/jaysondemers/2014/02/20/the-9-on-page-seo-elements-you-need-in-2014/


Matt Cutt in Search Engine Round Table - April 2014
"It is best for your to try to anticipate what the user will search for when crafting your title tags. When you do that and then when it matches the query, then Google will likely show your title tag."
http://www.seroundtable.com/google-title-search-18471.html


moz.com
"A title tag is the main text that describes an online document. Title elements have long been considered one of the most important on-page SEO elements (the most important being overall content), and appear in three key places: browsers, search engine results pages, and external websites."
http://moz.com/learn/seo/title-tag


Again, just food for thought.

About the tags request - my friends son was on Facebook, and he whipped up a couple of lines to put the tags into the title. Thanks for your offer of help though.

Administrator
Administrator
acrylian   2014-06-16, 08:49
#6

I certainly do know that the title tag is very important in SEO. I just mentioned that I am not sure if it is useful to just put a plain list of tags into. A proper title that uses certain keywords might be the better way.

Besides that, discussions are welcome and we appreciate all ideas that could possibly make Zenphoto better.

Member
Member
hackysack   2014-06-16, 09:38
#7

Thanks for the clarification.

In my case, the photos are tagged specifically for what they depict, so it is very useful in describing each image, rather than just being a random spew of generic terms.

Administrator
Administrator
acrylian   2014-06-16, 10:16
#8

Ok, then it makes surely sense for your purpose.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.