og: meta for com_tag
Posted: 24 Mar 2016, 10:42
Hello! Great plugin! Thank you very much!
Now the plugin handles the tag as a category and displays a description of the blog in "OG:description"
Please help write a query in SQL to output the correct title and meta description tag
The maximum that I could do this get the array data, but don't know how to make a selection on a particular ID-tag and a record field Meta tag.
Now the plugin handles the tag as a category and displays a description of the blog in "OG:description"
Code: Select all
else if ($view == 'category' && $this->pluginNr == 0){...}
Code: Select all
<meta property="og:type" content="article">
<meta property="og:url" content="http://sergey-tretyakov.ru/tags/shooting-products-for-online-store"><!--url for tags-->
<meta property="og:description" content="My blog description, not for tag">
Code: Select all
else if ($view == 'tag' && $this->pluginNr == 0){
$query = '...SELECT title,description FROM #__tags ... ';