• Resolved Kalacta

    (@rocafresh)


    When I select an articleSection for my articles, there is no output in the schema data. Is there something else I need to do?

    Also, is it possible to make the default articleSection show under whatever category the post is under? For instance if article is under ‘Cake Recipes’ category, can the plugin output that as the articleSection?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    The HTML and Schema markup in https://riddimsworld.com/2023-riddims/2023-reggae/love-you-so-much-riddim-jumpout-production/ has been minified (ie. not human readable). If you’d like to turn that off – so the HTML and Schema markup is readable – I would be happy to have a look.

    Cake Recipes is not a valid section name (see the wpsso/share/article-sections.txt file), but yes, you can customize the default value by hooking the ‘wpsso_get_post_defaults’ filter and setting the ‘schema_article_section’ array element to whatever value you like.

    js.

    Thread Starter Kalacta

    (@rocafresh)

    I’ve removed minification and other optimisations on the website to troubleshoot. Please have a look now ??

    Oh, cake recipes was that just a random example. Would you please send code snippet to plug into functions.php? My dev skills are currently at n00b level…

    Thread Starter Kalacta

    (@rocafresh)

    Thanks for correcting that articleSection bug so quickly in your latest update.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No articleSection output’ is closed to new replies.