Page 1 of 1

Wrong "og: description" output

Posted: 11 Sep 2021, 17:06
by mediafoks
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

Re: Wrong "og: description" output

Posted: 12 Sep 2021, 12:24
by Jan
Hi, what is the settings of description in plugin?

Image

Does the og:description fit the standard meta tag description?

Jan

Re: Wrong "og: description" output

Posted: 12 Sep 2021, 15:26
by mediafoks

Re: Wrong "og: description" output

Posted: 13 Sep 2021, 04:53
by mediafoks
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

Re: Wrong "og: description" output

Posted: 14 Sep 2021, 22:25
by Jan
Ok