Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template Tags: META Description????
#1
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?
Reply
#2
get_page_meta_desc()
Reply
#3
(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
Reply
#4
Not an abbreviation, its the name of the variable.
and get_page_meta_description is a hella long function name
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
(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
Reply
#6
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
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)