Render rating elements for Ajax loaded content and in non-standard search pages
-
Hi,
Thank you for this awesome little utility.
I’m having two small issues while using it.1. Ajax loaded posts
If you load your contents via Ajax, the function responsible for turning the DOM elements into a rating component never run, so the elements are never initialised. There should probably be hook we could run on these occasions to have those contents initialise.2. Non-standard Search Pages
I’m using SearchWP, which allows to build custom vertical search engines, that can have a frontend build of regular WordPress pages. Because of this, and since I’m limiting the feature to another custom post type (other than pages), the plugin never initialises on these result pages. The workaround was to activate ratings for pages and use a custom hook, which is likely not ideal.Thanks!
- The topic ‘Render rating elements for Ajax loaded content and in non-standard search pages’ is closed to new replies.