WordPress.org

Support

Support » Plugins and Hacks » All In One Schema.org Rich Snippets » [Resolved] Snippet appears in listings

[Resolved] Snippet appears in listings

  • I have a couple issues with the generated code that the plugin makes for the recipe rich snippets to be picked up. I’m hoping someone can offer some advice on it.

    1. It appears on my listings and categories and just looks bad. I am using the MORE tag and yet it still puts the rich snippets on there. You can see it here: http://www.kawaiigourmet.com/. I can understand why it has to be on the individual post but it should be able to be hidden on the listings.

    2. The formatting wraps for the ingredient list instead of dropping down to the next line so what I get is a wall of text that is very difficult to read.

    Is there anything I can do to fix this?

    http://wordpress.org/extend/plugins/all-in-one-schemaorg-rich-snippets/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brainstorm Force

    @brainstormforce

    Hello bowlerofadown,

    Thanks for getting in touch and descriptive elaboration of your issue. Please take steps as below in order to get the fixed –

    Regards!

    _______

    Solution –

    1. Go to plugins -> editor and select All in One Schema.org Rich Snippets from dropdown

    2. Locate the functions.php file for editing

    3. Find and replace the following line (to remove rich snippets box from listings/archives)

    return $recipe;

    with

    return (is_single())? $recipe : $content;

    4. Find and replace the following line (to display ingredients in a structure)

    $recipe .= '<strong>Ingredients Used : </strong>'.$recipes_ingredient.'<br/>';

    with

    $recipe .= '<strong>Ingredients Used : </strong><pre>'.$recipes_ingredient.'</pre><br/>';

    5. Update the file.

    Thank you, this worked. I will open up a new question for something else I would like help with.

    Plugin Author Brainstorm Force

    @brainstormforce

    Great.

    Today, we are releasing new update of the plugin many new features. Please update the plugin and enjoy customization settings we have provide to control look for your front end display.

    P.S – If you could post your review it will help other users as well 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Snippet appears in listings’ is closed to new replies.
Skip to toolbar