Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator bcworkz

    (@bcworkz)

    Please describe in greater detail what you want to accomplish.

    Thread Starter amir2121

    (@amir2121)

    Hi
    I want to put FAQ in WordPress/woo-commerce category .

    category editor didn’t let me use Yoast block.

    Moderator bcworkz

    (@bcworkz)

    Right, blocks only work in post content. You could put the equivalent HTML into a category description.

    Thread Starter amir2121

    (@amir2121)

    Hello
    I built FAQ Schema from this site:
    https://saijogeorge.com/json-ld-schema-generator/faq/

    but it shows me codes which it contains Json files and it didn’t accept in category editor and didn’t show anyting

    Moderator bcworkz

    (@bcworkz)

    Ah, I see what you’re trying to do now. Adding script, even if just JSON data, into WP editors never works very well. WP editors are expecting textual content, it corrupts script syntax. It’s best to store the script as custom term meta, then use custom template code to fetch the script and output it onto the page.

    A custom fields plugin can help with this if you don’t want to code everything yourself. Even then, you’ll need a bit of custom template code.

    Or see if you can find a dedicated JSON-LD schema plugin.

    Thread Starter amir2121

    (@amir2121)

    Hello
    thank you
    but i didn’t understand what should I do.
    which plugin should I use ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add FAQ Schema to wordpress Category?’ is closed to new replies.