NEWS
Released Amazing Template for Phoca Cart
Learn More ...

Setting of description in open graph

Category: Phoca Open Graph Plugin

Phoca Open Graph uses the following process to display description in open graph meta tags (og:description):

 

ARTICLE VIEW:

1) Description which is set in parameters of the plugin (plugin parameters) will be set for the description meta tag on the website.

2) If no description is set in plugin parameters then article meta description is used.

3) If no article meta description is set then menu link meta description (menu link to article) is used.

4) If no menu link meta description is set then the article introtext is set

5) If no article introtext is set then the site meta description set in Joomla! Global Configuration is used.

 

FEATURED VIEW:

Description is set by parameter: Description Type (Featured):

1) Description which is set in parameters of the plugin (plugin parameters)

2) No description or Menu link meta description or First article title

 

CATEGORY VIEW:

Description is set by parameter: Description Type (Category):

1) Description which is set in parameters of the plugin (plugin parameters)

2) Category description or Menu link meta description (if category meta description is empty, menu link meta description will be displayed)

 

 

 

Don't forget that this plugin is a content plugin and it can render the meta tags only on article sites (com_content). In article view or in blog view where more then one article are rendered).


This flow was voted by users and it can be easily changed in the code (plugins/content/phocaopengraph/phocaopengraph.php).

 

Powered by Phoca