Hello!
I don’t need any help, to solve my problems, because i solved all of what i have found!
The owner doesn’t support this plugin, not replying for the tickets…
This plugin is not well tested and I spent hours to make it work like it should be…
With just installing it, it’s only capable of adding FAQs to the posts. If you edit the wp-content/plugins/faq-schema-markup-faq-structured-data/schema-for-faqs.php in line 72 and change this
'post',
to:
$post_type,
and it will appear on the pages as well.
If you work with not english language, like hunagrian or other utf8 related stuff, you need to modify replace this:
$script_string = json_encode($scrdata);
to this:
$script_string = json_encode($scrdata, JSON_UNESCAPED_UNICODE);
in line 47 and this:
$ques_ans_string=json_encode($ques_ans_data);
to this:
$ques_ans_string=json_encode($ques_ans_data, JSON_UNESCAPED_UNICODE);
in line 171.
To prevent Google errors, you need to modify at line 45-50 from this:
$script_string = json_encode($scrdata, JSON_UNESCAPED_UNICODE);
?>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"FAQPage","mainEntity":<?php echo $script_string; ?>}</script>
<?php
to this:
if(!empty($scrdata))
{
$script_string = json_encode($scrdata, JSON_UNESCAPED_UNICODE);
?>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"FAQPage","mainEntity":<?php echo $script_string; ?>}</script>
<?php
}
And last of all, this code quality is not the best… Checking for post type 2 different ways, code formating is almost horrible… You need to spend some hours to make it a little better…
]]>Hi
Im trying to introduce new FAQ questions once my blog post was published, but when y click on button nothing happens.
May be the new version of Wp (5.3)??
Thanks
Installed the plugin last week. Added some FAQs to an existing Blog Post, and it worked great. Really easy to set up, and Google handled it fine.
Now I’m trying to do the same thing with some Pages, but I don’t see it as an selection under Screen Options for Pages. Is there something I need to do to make it work on Pages as well?
]]>Hi Sunny,
Good plugin – Google recognises my FAQ’s – thanks!
However, it is generating errors in Google Search Console for categories. A category returns $post_type as “post” so your code is kicking in.
You may need to add an is_single() to the if statement in schema_faqs_head method.
Hope that helps!
Snibbo
I added a few FAQs to my existing page using this plugin. But even after a week, I cannot see the question and answer when I search for it in Google search.
I found the below error in google webmaster console:
Missing field "acceptedAnswer.text"
Missing field "name"
So wanted to know if the plugin still works or it’s outdated.
]]>your plugin is great, but there is a small bug,
when i don’t add any question to the FAQ, it still puts the schema of FAQ, and then google search consoles shows this error
1 invalid item detected
Invalid items are not eligible for Google Search’s rich results. Learn more
Details
Last crawl
?
Crawled successfully on Aug 24, 2019, 2:05:51 AM
Detected items
Unnamed item
2 errors
Hello
First of all thank you for creating this amazing plugin.
I would like to report a problem with the greek language support. Even if the schema passes the validation test, i see this in the FAQPage tab
@type
FAQPage
mainEntity
@type
Question
name
u0394u03b9u03b1u03c4u03b7u03c1u03ce u03c4u03bf u03c3u03c5u03bcu03b2u03ccu03bbu03b1u03b9u03bf u03bcu03bfu03c5 u03b3u03b9u03b1 u03c0u03bfu03bbu03bbu03ac u03c7u03c1u03ccu03bdu03b9u03b1 u03bau03b1u03b9 u03b4u03b5u03bd u03b5u03afu03bcu03b1u03b9 u03c3u03afu03b3u03bfu03c5u03c1u03bfu03c2 u03ccu03c4u03b9 u03bfu03b9 u03ccu03c1u03bfu03b9 u03b1u03c3u03c6u03acu03bbu03b9u03c3u03b7u03c2 u03b1u03bdu03c4u03b1u03c0u03bfu03bau03c1u03afu03bdu03bfu03bdu03c4u03b1u03b9 u03c0u03bbu03adu03bfu03bd u03c3u03c4u03b9u03c2 u03c3u03c5u03bdu03b8u03aeu03bau03b5u03c2 u03c4u03b7u03c2 u03b1u03b3u03bfu03c1u03acu03c2. u03a0u03c9u03c2 u03bcu03c0u03bfu03c1u03ce u03bdu03b1 u03c4u03bf u03b5u03bbu03adu03b3u03beu03c9;
Could you fix it?
Regards
Panos