• Resolved antirich

    (@antirich)


    Great plug in, allows us to publish multiple short posts on a page without the user clicking to read each one. perfect.

    But, we need to integrate a rating system for users to rate each post. I’ve tried a few (like MultiRating), but they only work when viewing the entire post, not a short version like Posts on Page uses. Actually, that one does work on the first post, but not any additional ones. Some of our pages have 30+ posts on a page.

    Site/page is at pusposenotperks.com/real-stories. You’ll see just the first post shows the star rating.

    Open to using a different ratting plug in if you know of any that are proven to work with Posts-In_page. Thanks.

    https://www.ads-software.com/plugins/posts-in-page/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Hi antirich,

    I would need to know which rating plugin you’re looking at, and understand how it works to give specific advice.

    Generally, I suspect you’re going to need some custom programming to integrate a rating plugin with this one. This will probably involve creating a custom template as described here (How do I change the output template) and discussed here, and adding code that pulls the rating information for each post.

    I haven’t worked with any rating plugins myself, so I can’t advise you there.

    If you tell me what plugin(s) you’re looking at, I may be able to give you a little more advice.

    Thread Starter antirich

    (@antirich)

    Well, we’re using “Posts in Page” to publish the posts on the main page. The post are very short, so no need for the user to link to a dedicated post page.

    For the ratings, we’re using “Multi Rating”. Both plug ins are up to date.

    I’m sure the ratings plug in will work fine with a dedicated Post page, but not so much with what “Posts in Page” is publishing.

    The site does use a very customized template. i woudln’t be surprised if some core code may have been left out, for we minimized as much as possible (just a CMS site, not a conversation/blog site)

    For reference, here is the live site/page: https://www.purposenotperks.com/real-stories

    Thanks.

    Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Okay, I loaded the rating plugin and did some testing, and it looks like you can add the shortcodes into the posts in page template.

    First, you need to create a custom output template as described in the FAQ under How do I change the output template.

    Then, you need to figure out where you want to add the rating content. I’ve added it under the excerpt below. Use a do_shortcodes statement to insert the rating shortcode.

    <!-- This is the output of the EXCERPT -->
    <div class="entry-summary">
        <?php the_excerpt(); ?>
        <?php echo do_shortcode("[display_rating_form]"); ?>
    </div>

    Does that help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting a Post/user rating system to work’ is closed to new replies.