• Resolved selenii

    (@selenii)


    Hello, is it possible to set the site reviews summary on the post list for each post?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter selenii

    (@selenii)

    Is that possible?

    Plugin Author Gemini Labs

    (@geminilabs)

    You mean add the average rating above the post excerpt of all the posts in the Blog index page? To do this, you’ll need to use a code snippet.

    Here are three different options:

    Prefix the page/post excerpt with the Site Reviews rating summary:
    https://pastebin.com/0Bn8fnZe

    Append the Site Reviews rating summary stars, if they exist, to the page title:
    https://pastebin.com/bWjtB2dW

    Append the Site Reviews rating summary stars to the page title of Custom Post Types on single and archive pages:
    https://pastebin.com/NPPwCk1d

    Thread Starter selenii

    (@selenii)

    Thank you very much, the last solution works. Is it posible to replace the rating summary for the excerpt? Unfortunaly the firtst code doesnt work.

    Plugin Author Gemini Labs

    (@geminilabs)

    If you are using the Gutenberg block editor, watch the “Site Reviews Walkthrough” video on the Getting Started page which demonstrates how to do this using the Query Loop block.

    If you want to add the rating to the Post Excerpt block without modifying the Query Loop (not recommended), try this: https://pastebin.com/0ZJcpvqk

    If you are using a page builder plugin, try adding the [site_reviews_summary assigned_posts="post_id" hide="bars,rating,summary"] shortcode to the post widget on the blog template.

    • This reply was modified 1 year, 7 months ago by Gemini Labs.
    Thread Starter selenii

    (@selenii)

    Please look on the page. Unfortunately it doesnt work.

    https://bau-rockstars.de/software/

    Plugin Author Gemini Labs

    (@geminilabs)

    You might need to contact the Divi team for help since you are using their builder. Tell them you need to insert a shortcode between the title and excerpt of each post in the loop. Here is the shortcode:

    [site_reviews_summary assigned_posts="post_id" hide="bars,rating,summary"]

    Thread Starter selenii

    (@selenii)

    Unfortunately, they did not understand how the plugin works.

    Plugin Author Gemini Labs

    (@geminilabs)

    The Divi Blog module strips shortcodes from the post excerpt, so it may not be possible to do this due to the limitations of the Divi Blog module.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Insert site reviews on post list’ is closed to new replies.