Support » Plugin: Simple Rating » Problem with pagination

  • Hello!

    Thank you very much for your plugin. I like it very much and it helps. But I have a little problem.

    I use on my site <! – nextpage -> structure for splitting the material into pages. I want the rating to be shown at the end of the material. But the rating is shown on each page. I’m using automatic placement. Advise what to change in the code so that my visitors can see the rating only on the last page, i.e. at the end of the material.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Igor Yavych

    (@flyerua)

    Hello. I’m glad you like this old plugin of mine.
    The way it works as expected, since technically, even if you split it in pages, it’s still the same object. When you pick automatic method, it sticks rating at the beginning or end of the content, thus you see it on every page of your post object.
    First thing that comes to mind is to see if the plugin you’re using to split your post objects into pages has any kind of hook for the last page. If it does, write a function to use that hook.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with pagination’ is closed to new replies.