WordPress.org

Ready to get started?Download WordPress

Forums

All In One Schema.org Rich Snippets
[resolved] Before post (3 posts)

  1. juvetiko
    Member
    Posted 1 year ago #

    Hi . Like this plugin , but I need to put Rich Snippet before post .
    How can I manage that ?
    Thanks .

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

  2. Nitin Yawalkar
    Member
    Plugin Author

    Posted 1 year ago #

    juvetiko,

    You can do it by following these steps:

    • Go to plugins editor and locate the file named functions.php in "All in One Schema.org Rich Snippets"
    • Now, find the code something like
      $review = $content;
      Delete this line.
    • Now, find the code something like
      return ( is_single() || is_page() ) ? $review : $content;
      edit it as following -
      $review .= $content;
      return ( is_single() || is_page() ) ? $review : $content;

      Don't miss the .=

    If you need this to be done from us, mail us your WordPress admin user credentials to nitiny@brainstormforce.com

    Regards

  3. juvetiko
    Member
    Posted 1 year ago #

    I delete $recipe = $content;

    and add $recipe .= $content; before

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

    and it's working , thanks guys for quick help .

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.