Sorry for the Google Translate machine translation. I'll try to explain the problem.
There are several nested categories, for example three. There is a menu for these categories. Menu items (blog categories) are also nested, multi-level.
In the parent menu item, "og: description" is displayed correctly, in accordance with the category "description".
In the last, third nested menu item, "og: description" is also displayed correctly, in accordance with the category "description".
But the "og: description" of the second menu item is the same as its descendant, the third menu item.
If the nesting of categories is large, then "og: description" is displayed incorrectly.
Categories:
Category_1
-Category_2
--Category_3
Menu:
Blog Category_1
-Blog Category_2
--Blog Category_3
OpenGraph:
Blog Category_1 - "og:description" = description Category_1
-Blog Category_2 - "og:description" = description Category_3
--Blog Category_3 - "og:description" = description Category_3
Wrong "og: description" output
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Wrong "og: description" output
Hi, what is the settings of description in plugin?
Does the og:description fit the standard meta tag description?
Jan
Does the og:description fit the standard meta tag description?
Jan
If you find Phoca extensions useful, please support the project
- mediafoks
- Phoca Newbie
- Posts: 3
- Joined: 11 Sep 2021, 17:01
- mediafoks
- Phoca Newbie
- Posts: 3
- Joined: 11 Sep 2021, 17:01
Re: Wrong "og: description" output
Found the problem.
If the menu item is blog category, and the Include Subcategories option is "all", then "og: description" is inherited from the child category.
If the menu item Include Subcategories is "none", "og: description" is displayed correctly
If the menu item is blog category, and the Include Subcategories option is "all", then "og: description" is inherited from the child category.
If the menu item Include Subcategories is "none", "og: description" is displayed correctly
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Wrong "og: description" output
Ok
If you find Phoca extensions useful, please support the project