• hi,

    Thanks for a good plugin.

    I have one question, but when I insert the short code [ultimate-faqs], I can see the tags <form>-</ form> in the source code.

    Can this be hidden in the options settings?

    I am troubled because this tag causes an AMP error in the search console.

    How do the <form> ~ </ form> tags work?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi torasan,

    Do you mean that HTML <form> tags are wrapping the code generated by the [ultimate-faqs] shortcode? If possible, could you send us a link to your FAQ page? Either something else is conflicting or you have more than just that shortcode on your page.

    Thread Starter torasan

    (@torasan)

    hi,

    Thank you for your reply.

    The code in question is in “Shortcodes\DisplayFAQs.php”.

    The actual display is as follows.。

    <form><input type='hidden' name='include_category' value='' id='ufaq-include-category'/><input type='hidden' name='exclude_category' value='' id='ufaq-exclude-category'/><input type='hidden' name='orderby' value='date' id='ufaq-orderby'/><input type='hidden' name='order' value='DESC' id='ufaq-order'/><input type='hidden' name='post_count' value='-1' id='ufaq-post-count'/><input type='hidden' name='current_url' value='(URL)' id='ufaq-current-url'/></form>

    Plugin Support jaysupport

    (@jaysupport)

    Hi torasan,

    Based on the limited about of info we have, that says to me that you are either adding extra stuff to the shortcode (like include_category) or using a feature that requires there to be a form tag. Either way, you can’t remove it or else it would break the functionality of the FAQs.

    Thread Starter torasan

    (@torasan)

    Hi,

    I understand that <form> ~ </ form> cannot be deleted.

    I want to make my FAQ page AMP compliant, is that possible?

    Google search console>AMP shows below error.

    1.The mandatory attribute ‘action’ is missing in tag ‘FORM [method=GET]’.
    2.The mandatory attribute ‘target’ is missing in tag ‘FORM [method=GET]’.

    Plugin Support jaysupport

    (@jaysupport)

    The form uses all hidden inputs to execute the attributes you put into the shortcode. There is no submit button and no action as everything is meant to be done live with no page reloading.

    Thread Starter torasan

    (@torasan)

    Hi,

    It seems difficult to convert the FAQ page to AMP.

    Thank you for answering variously.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘About tag’ is closed to new replies.