• kootech

    (@kootech)


    <article id="post-278" class="post-278 post type-post status-publish format-standard has-post-thumbnail hentry category-news" itemtype="https://schema.org/CreativeWork" itemscope="">
    <article id="post-51" class="dynamic-content-template post-51 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
Viewing 3 replies - 1 through 3 (of 3 total)
  • chazpb

    (@chazpb)

    Hi there,

    Yes, you can remove the schema. The generate_schema_type filter lets you disable schema output in GeneratePress.

    You can add this code either in your child theme’s functions.php file or by using a Code Snippets plugin:

    add_filter( 'generate_schema_type', '__return_false' );

    For more details, see this guide: Generate Schema Type

    Let me know if you need further assistance, I’m here to help.

    Thread Starter kootech

    (@kootech)

    hi,I need to add schema to the content template, not disable it

    Alvind

    (@alvindcaesar)

    Hi there,

    Most SEO plugins should provide an option to add schema, if you’re using one.

    If you prefer not to use a plugin, then you’ll need to generate it manually. You can refer to this topic: https://generatepress.com/forums/topic/adding-schema-to-my-website/#post-2470209

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

The topic ‘content template without schema’ is closed to new replies.