GetSimple Support Forum

Full Version: Template Tags: META Description????
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

What is the Template Tag to retrieve the meta description (not the get_page_meta_keywords()) of the page?

Yes, already looked in

http://get-simple.info/wiki/themes:template_tags

but either the wiki is behind the code
or this tag doesn't exist?
get_page_meta_desc()
(2014-01-18, 00:37:12)Carlos Wrote: [ -> ]get_page_meta_desc()

Thanks.
Added to the wiki @ http://get-simple.info/wiki/themes:template_tags


P.S. Not logical. None of the others functions have abbreviations but this one. Ah! yes! The exception that proves the rule Wink
Not an abbreviation, its the name of the variable.
and get_page_meta_description is a hella long function name
(2014-01-18, 02:07:16)shawn_a Wrote: [ -> ]Not an abbreviation, its the name of the variable.

? sorry, don't get it. what variable?

(2014-01-18, 02:07:16)shawn_a Wrote: [ -> ]and get_page_meta_description is a hella long function name

Angel

but it's part of an 'API'. clarity above all? and nowadays with code completion IDEs, it's a real pleasure to read self descriptive function names popping under the cursor, and such a geela loooong name can still be guessed, and, ok ok ok, i don't want to argue Heart
yeah I already said as much in the github issue agreeing that it is a good idea.

actually I was wrong, The var is actually metad, so nm, it is just an abbrv.
the i18n is meta_desc got them mixed up