Reviews work funny with WP-Types and Views

Front Support Plugins Support WP Reviews Plugin Reviews work funny with WP-Types and Views

This topic contains 6 replies, has 2 voices, and was last updated by  Hesham 4 years, 4 months ago.

  • Author
    Posts
  • #1527

    Marcel Ellis
    Participant

    Just used this plugin on a page created by Types and Views. Because pages created using Types and Views makes extensive use of View Templates, it seems that the review plugin calls a review box for each template, as well as the main post.

  • #1538

    Hesham
    Keymaster

    Try in the Views plugin to display excerpts instead of content, and see it this fixes the issue.

  • #1540

    Marcel Ellis
    Participant

    Yup, Excerpt did the trick but now I have another problem – It’s displaying an Excerpt 🙂

    So basically, a page which is supposed to have about four paragraphs displays two lines of text, and I cannot really change the Excerpt main settings as its used by other areas of the site. Any other suggestions?

  • #1541

    Marcel Ellis
    Participant

    Ok I resolved it – partly. I used this code as a workaround

    [code title=””] [wpv-post-excerpt length=”1000000000″] [/code]

    Doubt I will have a post of 1000000000 fields 🙂 Now of course my next problem is that excerpts strip out HTML, so three paragraphs now appear as one. Any work around for that?

  • #1544

    Hesham
    Keymaster

    Haha.. for sure there is a solution, but I just don’t know it yet 🙂

    Probably if I can take a look in your dashboard, maybe I will find it. If this is OK, create a temp admin for me and send details via the contact page.

  • #1547

    Marcel Ellis
    Participant

    Sent!

  • #1601

    Hesham
    Keymaster

    Thanks, I got it.

    The problem is I filter content of the post to add the Rating Box. So, when using a plugin like Views, it generate something like (a post inside another post), that’s why the Rating Box shows twice on the same “page”.

    This is a known bug in the Views plugin as their support stated here.

    I’ve added the solution to the WP Reviews itself to test it out.

    Now you can use shortcode [wpr-raw-content] instead of [wpv-post-body] , this will fix the duplicate Rating Box issue.

    P.S. I’ve updated the plugin on your site already to the latest version with changes.

The forum ‘WP Reviews Plugin’ is closed to new topics and replies.